Interactive Reports
Hi,
we're searching for a report solution for Delphi that allows editable
fields in the reports preview that can be populated with our data. And a
change to this fields by the user should be interceptable so we can
react to the change in our code.
Is this possible with Report Builder and if it is, could you shove me in
the right direction please?
Thanks in advance.
we're searching for a report solution for Delphi that allows editable
fields in the reports preview that can be populated with our data. And a
change to this fields by the user should be interceptable so we can
react to the change in our code.
Is this possible with Report Builder and if it is, could you shove me in
the right direction please?
Thanks in advance.
This discussion has been closed.
Comments
What type of interactivity would you like to give you users? The Preview
window is designed to just be a viewer of a generated report. This is
comparable to Acrobat Reader. It is possible to allow your users to alter
the outputed data by selecting their own search condition. This can be done
with the AutoSearch feature. Examples of AutoSearch can be found in the
\RBuilder\Demos\AutoSearch\... directory.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Hi,
I want to use the changed data to write it back to my database (no real
database per se, so I have to rely on events) and then restart the
calculation of parts of the report if the change would make it necessary.
data for the report? Even if the data is not in a database, you could still
use the AutoSearch feature with JITPipelines to alter the data and
regenerate the report on the fly.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Hi, it should be possible for the user to edit an entry directly in the
preview. This change should be writable back to the database and then
the report should be regenerated and only the needed parts if possible.
The autosearch-feature looks like it only works the other way around. As
you said, the preview is only a viewer but I need it to be a "writer" too.
ReportBuilder does not have any built-in features that allow a user to alter
a database. As I mentioned before, it is designed to view and print data
that has already been created and manipulated. You may be able to create
something similar to the AutoSearch feature that displays your own custom
dialog and accepts data to be entered in your database, then regenerates the
report when it's finished. Take a look at the ppAS*.pas files for how the
autosearch feature is implemented.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks, I'll have a look at it.