I've looked around but I can't find anything (usually it means that it's very simple so nobody talks about it...
I have a report (Sun Report Builder) that is populated from a query.
My report is made of lines each containing a transaction date.
As a quick way for the user to check that he has the right date-span in the report,
In my report's header, I want to display what is the smallest date listed in the report, and in a separate box, what is the biggest date listed.
I have tried playing with some functions and formulas but it looks like the only way would be with some code like (this is where I miserably fail):
-Read first date, and store.
-is there another date?
-if yes, test to see if the new date is bigger than date stored.
-if bigger, store the bigger date. else, go to check if there is another line.
until no more line...
The ideal would be a function of a formula, you tell me
Thanks in advance!
Frenchy