Double rows
Hi,
I have a report that I export to PDF and Excel like this
PoolOraQuery.Execute;
PoolppReport.DeviceType := 'PDF';
PoolppReport.TextFileName
:= PeriodFolder + 'Pool.pdf';
PoolppReport.Print;
Poolppreport.DeviceType := 'XLSData';
PoolppReport.TextFileName
:= PeriodFolder + 'Pool.xls';
PoolppReport.Print;
The export to PDF works fine, but in the export to Excel, some records
get exported twice, not necessarily just below each other.
Using Delphi XE, RB 12.0.5.251
Any idea what's going wrong here?
Arno
I have a report that I export to PDF and Excel like this
PoolOraQuery.Execute;
PoolppReport.DeviceType := 'PDF';
PoolppReport.TextFileName
:= PeriodFolder + 'Pool.pdf';
PoolppReport.Print;
Poolppreport.DeviceType := 'XLSData';
PoolppReport.TextFileName
:= PeriodFolder + 'Pool.xls';
PoolppReport.Print;
The export to PDF works fine, but in the export to Excel, some records
get exported twice, not necessarily just below each other.
Using Delphi XE, RB 12.0.5.251
Any idea what's going wrong here?
Arno
This discussion has been closed.
Comments
each detail band exported to one XLS row. Check the report designer Help |
About to verify this the version you are using.
If you would like to create an example that I can build and run here, please
send in zip format to support@. Also, please use standard Delphi components
and RB. Use the DBDemos data or dump some data to TClientDataSets.
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Hi Nard,
got it solved by putting a ppReport.Reset after the first
ppReport.print. Tried to create an example, but, as expected, that
works without problems .
Have a nice weekend
--
Arno