FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Report Eject
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Report Eject
Posted: 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 March-April 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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Report Eject
Posted: Fri Mar 20, 2015 02: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() }

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion