Batch reports
Hi,
I was wondering the best way to develop a batch report application.
The user will request a report and will input the required parameters.
Those parameters will be stored in a table.
This application will scan this table and generate the requested reports
using the parameters defined by the user.
if possible, I wouldn´t like to place a Dataset component on a form, I
would like to use dataviews.
Is it possible to pass variables to Dataviews programatically (i.e
without user intervention)? How?
Do you have any suggestions?
Best regards,
Clément
I was wondering the best way to develop a batch report application.
The user will request a report and will input the required parameters.
Those parameters will be stored in a table.
This application will scan this table and generate the requested reports
using the parameters defined by the user.
if possible, I wouldn´t like to place a Dataset component on a form, I
would like to use dataviews.
Is it possible to pass variables to Dataviews programatically (i.e
without user intervention)? How?
Do you have any suggestions?
Best regards,
Clément
This discussion has been closed.
Comments
of priting in batches:
http://www.digital-metaphors.com/tips/PrintingInBatches.zip
You can access the dataviews in code by extracting the datamodule from the
report and then the dataviews from the datamodule. Then extract the SQL
object and use the methods in daSQL.pas for the TdaSQL class. Here is an
example which modifies the TdaSQL object and creates criteria objects. You
can also modify the autoserach criteria of the end user as shown in the
autosearch demos in your installation.
http://www.digital-metaphors.com/tips/ExtractSQLObject.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com