Very basic question.

Very basic question.

Postby HunterEC » Mon Dec 20, 2010 2: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.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: Very basic question.

Postby hag » Mon Dec 20, 2010 4: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
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], nageswaragunupudi and 107 guests