Forcing seperate lines in a Comma Delimited File..?..??
Hi,
I have a report with two header lines within the main header band. i.e.,
page header and column headers. When printing to a comma delimited file the
two header lines are output as one line in the order specified by the
print-to-file-settings dialog.
Is there anyway i can force separate lines to be output?
I can't use the main title band because both lines in the header band need
to be on each page.
I have tried adding a subreport to the main header band with the page header
in the subreports title band. This outputs correctly in the print preview,
but the page header line within the subreport does not output at all in the
comma delimited file.
I have checked that the print-to-file-settings dialog has got all components
on output in the subreport and main report.
Thanks in advance
Toby
I have a report with two header lines within the main header band. i.e.,
page header and column headers. When printing to a comma delimited file the
two header lines are output as one line in the order specified by the
print-to-file-settings dialog.
Is there anyway i can force separate lines to be output?
I can't use the main title band because both lines in the header band need
to be on each page.
I have tried adding a subreport to the main header band with the page header
in the subreports title band. This outputs correctly in the print preview,
but the page header line within the subreport does not output at all in the
comma delimited file.
I have checked that the print-to-file-settings dialog has got all components
on output in the subreport and main report.
Thanks in advance
Toby
This discussion has been closed.
Comments
See ppFilDev.pas for the code to the current text file devices. A simple
example is if you want to change the quotations in a device. I've posted a
link to a full Delphi project you can download and run.
http://www.digital-metaphors.com/tips/UnQuotedFileDevice.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com