Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

saving report with multiple subreports as CSV file

edited November 2005 in General
?
I have created a report with multiple subreports. The second
subreport prints immediately below the first. Both subreports are
located in the details section and the subreports do NOT have the same
number of items. I have modified the print preview dialog to allow
saving the file as pdf, csv, etc. All is working fine until I print to
CSV. The order of the columns is not what I had expected. The column
order is:
Subreport1 FieldSaveOrder0, Subreport2 FieldSaveOrder0,
Subreport1 FieldSaveOrder1, Subreport1 FieldSaveOrder1,
Subreport1SaveOrder2, etc.
I was expecting to see:
Subreport1 FieldSaveOrder0, Subreport1 FieldSaveOrder1,
Subreport1 FieldSaveOrder2, Subreport2 FieldSaveOrder0, Subreport2
FieldSaveOrder1, etc.

So, all of the fields with SaveOrder of 0 are being printing
(regardless of which subreport they exist in) then all fields with
SaveOrder of 1, etc. I was hoping all of the fields from the first
subreport would print then all of the fields from the second subreport,
etc.

Thanks in advance for any help. Let me know if I need to supply any
more information.



--- posted by geoForum on http://delphi.newswhat.com

Comments

This discussion has been closed.