Report Eject

Report Eject

Postby Silvio.Falconi » Fri Mar 20, 2015 12:32 pm

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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7034
Joined: Thu Oct 18, 2012 7:17 pm

Re: Report Eject

Postby James Bott » Fri Mar 20, 2015 2:08 pm

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() }
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], wilsongamboa and 89 guests