bkkland
20th March 2007, 22:38
How to output report to ASCII file with the report heading to appear only once per file? Please advise.
THANK YOU VERY MUCH
BstRgd,
Andreas
21st March 2007, 10:00
If your Report Data contains less than ~999 detail records you can set up an ASCII Printer with page length 999.
Hope this helps,
Andreas
en@frrom
21st March 2007, 11:40
Or set the report layout data to layout type "before report" instead of "header"; like this it will print only once at the beginning of the report. In case you don't always print the report to file, and you DO want the headers when not printing to file, then you can make 2 duplicate conditional layouts:
1) before.report, condition is: not isspace(spool.fileout)
2) header, condition is: isspace(spool.fileout)
Regards,
Eli Nager
kaukul
22nd March 2007, 09:55
Gud one...!
bkkland
27th March 2007, 22:43
Thank you all :)
PEGAS1
28th March 2007, 13:36
Dear,
YOu can use the function lattr.pageno = 1 in output expression of the layout.
Regards.
Pegase
rodolfo
24th July 2007, 16:59
How to output report to ASCII file with the report heading to appear only once per file? Please advise.
THANK YOU VERY MUCH
BstRgd,
Hello bkkland
Another way to do this, you can use before.report layout instead of header layout.
Before.report and After.report layout appears only once by report.
Good luck,
Rodolfo.