hussainian Posted May 20, 2010 Share Posted May 20, 2010 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 reportEnd 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 queryselect t1.EndDate, (Select t1.EndDate-t2.CurrentDate from table2 t2) DaysRemaining from table1 t1But I've some real complex calculations in real which all cant be done on query level.Thanks. Link to comment Share on other sites More sharing options...
tmatyashovsky Posted May 20, 2010 Share Posted May 20, 2010 Just wonder why don't you use simple variables? As far as I can see they can easily solve mentioned example.Maybe I am missing something? Best,Taras Matyashovsky Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now