Question about structure
I've read through much of the manual and still have a question about
structuring reports within an application. Is it advisable to place many
ppReports on one form and use a central data module for their data and a
single previewer to view them?
Should you use separate TIBQuery's, one for each report or use only one and
set it's data properties at runtime? Is the data info saved with the
report? I'm a little confused.
Thank you,
Lee
--
Didn't we go to different schools together?
This discussion has been closed.
Comments
project which uses a form based approach like this. This is done in order to
resolve any naming conflicts and event handler conflicts which would occur,
if the reports all existed on the same form.
The other approach is to use Report Templates (.rtm files). Have a look in
the RBuilder help file on tempaltes and also browse through the Developer's
Guide in your RBuilder installation.
Templates require only one TppReport which will be loaded with the template.
See our EndUser demos for examples to leverage this technology. Tempates
are more powerful because you don't have to bind them into your
application's exe, as you do in the form based approach. The event handlers
and data access definition is stored within the report template (using DADE
and RAP). Once you distribute the application, you only need to update your
customer's database which holds the report template files.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Lee
--
Didn't we go to different schools together?