Multiple report causes compile error
We setup our main report years ago with 20 subreports which we then turn
on/off the visibility based on the user defined list of reports the customer
selects. This was to prevent them from having to preview each report
individually and at the time was the recommended way to allow previewing of
multiple, dynamically selected reports.
After upgrading from version 10 to 11.03 (and 11.04) we get compile errors
at the user end when several of the reports are combined. The compile error
is in the calc section on a variable on print function (i.e. Could not
compile program:Report1.crownUpOnPrint). If you delete that code it dies on
the next one. I think it has something to do with the subReport names in
the background so I've made sure they all have different report and detail
names and any subreports and queries are named differently as well.
Its difficult to send you the SQL data to duplicate this so I was hoping you
knew about this issue and could help me. Are you guys recommending a
different way now to handle previewing multiple reports at one time now? If
I go back to the unconverted programs and the program before the upgrade
everything works fine.
Thank you for any help,
Karen
on/off the visibility based on the user defined list of reports the customer
selects. This was to prevent them from having to preview each report
individually and at the time was the recommended way to allow previewing of
multiple, dynamically selected reports.
After upgrading from version 10 to 11.03 (and 11.04) we get compile errors
at the user end when several of the reports are combined. The compile error
is in the calc section on a variable on print function (i.e. Could not
compile program:Report1.crownUpOnPrint). If you delete that code it dies on
the next one. I think it has something to do with the subReport names in
the background so I've made sure they all have different report and detail
names and any subreports and queries are named differently as well.
Its difficult to send you the SQL data to duplicate this so I was hoping you
knew about this issue and could help me. Are you guys recommending a
different way now to handle previewing multiple reports at one time now? If
I go back to the unconverted programs and the program before the upgrade
everything works fine.
Thank you for any help,
Karen
This discussion has been closed.
Comments
to support@digital-metaphors.com in zip format. Use standard Delphi
components and RB. We need to be able to run the example here using 10.09
and then run it again using RB 11.04 and compare the results.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com