Page 1 of 1

Report Eject

PostPosted: Fri Mar 20, 2015 12:32 pm
by Silvio.Falconi
How command the Eject report each n records of an array ?
I wish create a report of a page of first 3 months, another page the other 3 month, another page ... until 12 month

Re: Report Eject

PostPosted: Fri Mar 20, 2015 2:08 pm
by James Bott
Try:

Create a function to return the quarter of the year. Sort the array by quarter plus whatever else you need.

function quarter( dDate )
...
return nQuarter

report oRpt...group on quarter( aArray[...] )

activate report oRpt...on endgroup {|oRpt| oRpt:endpage() }