home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource1
/
chint
/
useful11.hnt
< prev
next >
Wrap
Text File
|
1992-03-30
|
898b
|
25 lines
Useful hints for use in the Report Generator.
1) To force a page break at a specific point during a report select
Fields/Add/Statement and in the statement entry box enter :--
lineno = pagelength
NOTE : This statement could also be proceeded by a conditional statement,
ie:-- if (lineno > ival(FORMLENGTH)) lineno = pagelength
where FORMLENGTH would be a report filter field.
2) To suppress a particular line of a report move the cursor to the end of
that line then select Fields/Add/Statement and in the statement entry box
enter :--
lineno--
NOTE : Make sure that this is the LAST field marked on the line.
NOTE : This statement could also be proceeded by a conditional statement,
ie:-- if (PRINTDETAIL[0] == 'Y') lineno--
where PRINTDETAIL would be a report filter field.