Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Resetting report after call to template.loadfromfile

edited August 2006 in General
I have a report that is embedded in a form. It works fine.

On rare occasions the user can select a different template to load.

After this template has been used, is there any way to revert back to the
original report info that was stored in the form?

Currently I have to load the default report from a .rtm file, but I have
found a situation where I can not easily get the .rtm file, and using the
report stored in the form would be ideal.

I could probably use 2 separate TppReport objects, but I'd prefer not to
if there is a simple way to reset the report. I tried the Reset and
ResetDevices methods, but I don't think they apply to this issue.

TIA,
J.D. Mullin
Advantage



--- posted by geoForum on http://delphi.newswhat.com

Comments

This discussion has been closed.