FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Very basic question.
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Very basic question.
Posted: Mon Dec 20, 2010 02:31 AM

Guys:
I'd created a report via THIS WAY:
REPORT oRep TITLE ...
COLUMN ...
ENDREPORT
ACTIVATE REPORT oRep
...

How can I include:
1. Page number in the footer ?
2. Date & time in the header ?
3. Add 2 blank lines after group totals ?

Thank you.

Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
Re: Very basic question.
Posted: Mon Dec 20, 2010 04:54 AM
This might help.
You just need to define your own variables.

REPORT oReport;
TITLE rtrim("My Name Is"), ;
+newName+" "+ mForecast,;
+cNewCoName, " " CENTERED ;
FONT oFont1, oFont2;
PEN oPen1;
HEADER "Date: "+dtoc(date())+" Time: "+time()+space(5)+("Page: ")+str(oReport:nPage,3)+", Entity No. "+cEntity ;
LEFT ;
FOOTER OemtoAnsi(mfooter);
CENTERED ;
CAPTION "Up Your Cash Flow - Profit & Loss"+" "+mforecast
Thank you

Harvey

Continue the discussion