Updating reports
When I run a report I collect all the TppDBText objects in the
ondrawcommandcreate events then add them to a list. I then run through this
list on a timer and update their values. The problem is that they never
refresh as I am unsure how to refresh these values without re-running the
reports.
I am using JIT pipelines so their is no database linking.
Any help on how to achieve this would be greatly appreciated.
ondrawcommandcreate events then add them to a list. I then run through this
list on a timer and update their values. The problem is that they never
refresh as I am unsure how to refresh these values without re-running the
reports.
I am using JIT pipelines so their is no database linking.
Any help on how to achieve this would be greatly appreciated.
This discussion has been closed.
Comments
Why not use the OnGetFieldValue event of the TppJITPipeline component
to set the values?
On Thu, 23 May 2002 09:48:02 +0100, "David Reynolds"
TppDBText object, but rather the object which is passed is a TppDrawText
object. Update the draw command in the Report.OnEndPage event. If you
update the TppDBText component, the result will not be reflected in the
report output since the draw command has already been created on the page.
The OnEndPage event gives you the timing to update the draw command on the
page after the report has finished with the page and just before it is sent
to the device.
If you have a JITPipeline, you can pull the data from anywhere and set the
dbTexts to pull data from the data pipeline. Is this not working?
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
possible way of giving this the capability of updating itself without having
to re-run the report (just update the relevant text components on screen).
having
No,
there are no 'components on screen', the report becomes rendered on screen,
only draw commands are acting.
regards,
Chris Ueberall;