Jump to content

Help with Scriptlets


hussainian

Recommended Posts

Hi!

There are two functions in Scriptlet class i.e. beforeDetailEval() and afterDetailEval(), which as their names describe are called before and after evaluation of Detail band. Is there any function which is called or may be called during the evaluation of detail band. I mean after every single row evaluation.

I've a scenario. Lets assume a report

End Date               Days Remaining

 

Query: Select EndDate from table.

Now at every row's evaluation, calculation will be performed that will calculate Days Remaining like

Days Remaining=EndDate-(Select CurrentDate from table2)

Though this task can be easily performed using query

select t1.EndDate, (Select t1.EndDate-t2.CurrentDate from table2 t2) DaysRemaining from table1 t1

But I've some real complex calculations in real which all cant be done on query level.

Thanks.

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...