home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4611
/
fw16d.ins
/
INCLUDE
/
REPORT.CH
< prev
next >
Wrap
Text File
|
1994-06-07
|
4KB
|
70 lines
/*
┌─ Programa ───────────────────────────────────────────────────────────────┐
│ Aplication: Header file for class TReport │
│ File: REPORT.CH │
│ Author: Ignacio Ortiz de Zúñiga Echeverría │
│ Date: 05/24/94 │
│ Time: 11:41:07 │
│ Make File: None │
│ Exec File: None │
│ Copyright: 1994 by Ortiz de Zuñiga, S.L. │
└──────────────────────────────────────────────────────────────────────────┘
*/
#xcommand REPORT [ <oReport> ] ;
[ SIZE <nWidth>, <nHeight> ] ;
[ TITLE <bTitle, ...> ] ;
[ HEADER <bHead, ...> ] ;
[ FOOTER <bFoot, ...> ] ;
[ FONT <oFont, ...> ] ;
[ <file: FILE, FILENAME, DISK> <cRptFile> ] ;
[ <resource: NAME, RESNAME, RESOURCE> <cResName> ] ;
[ <grp: GROUP, GROUPS> ;
<bGroup1> [<lSum1:SUMMARY>] [<lEject1:EJECT>] ;
[,<bGroupn> [<lSumn:SUMMARY>] [<lEjectn:EJECT>] ] ] ;
=> ;
[ <oReport> := ] RptBegin(<nWidth>, <nHeight>, {<{bTitle}>} , ;
{<{bHead}>}, {<{bFoot}>}, {<oFont>}, <cRptFile> , ;
<cResName> ) ;
; IF .T. ;
[; RptAddGroup( <{bGroup1}>, <.lSum1.>, <.lEject1.> ) ] ;
[; RptAddGroup( <{bGroupn}>, <.lSumn.>, <.lEjectn.> ) ]
#xcommand COLUMN [ <oRptCol> ] ;
[ TITLE <bTitle, ...> ] ;
[ AT <nCol> ] ;
[ UDATA <bData, ...> ] ;
[ SIZE <nSize> ] ;
[ PICTURE <cPicture, ...> ] ;
[ FONT <uFont> ] ;
[ <total: TOTAL> [ FOR <bTotalExpr> ] ] ;
=> ;
[ <oRptCol> := ] RptAddColumn( {<{bTitle}>}, <nCol> , ;
{<{bData}>}, <nSize>, {<cPicture>} , ;
<{uFont}>, <.total.>, <{bTotalExpr}> )
#xcommand END REPORT ;
=> ;
END IF ;
; RptEnd()
#xcommand ENDREPORT ;
=> ;
END REPORT
#xcommand ACTIVATE REPORT <oReport> ;
[ FOR <for> ] ;
[ WHILE <while> ] ;
[ ON INIT <uInit> ] ;
[ ON END <uEnd> ] ;
[ ON NEWPAGE <uNewPage> ] ;
[ ON NEWGROUP <uNewGroup> ] ;
[ ON NEWLINE <uNewLine> ] ;
[ <preview: PREVIEW> ] ;
=> ;
<oReport>:Activate(<{for}>, <{while}>, <{uInit}>, <{uEnd}>, ;
<{uNewPage}>, <{uNewGroup}>, <{uNewLine}>, <.preview.> )
// EOF