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

Variables and LoadFromFile

edited May 2004 in General
I'm trying to use one TppReport object so I don't have a bunch on a form.
Then use LoadFromFile for the template. I have a problem when I add
variables to a report. Now the code behind them is in Delphi and when I
load a report that doesn't use them I get "Undeclared Identifier" errors. I
suppose there is no way around this short of getting RB Enterprise so I can
use RAP?

Delphi 6 Pro, RB 7.03 Pro, IBO 4.3Aa.

Thanks.

--

_________________________________________
Don Gollahon
dlgllhn@InHisStepsSoftware.com
ICQ#: 115831669
"What in Eternity does it matter?"
_________________________________________

Comments

  • edited May 2004
    >I
    can

    This is correct. The only way to keep event code local to a report template
    (.rtm file) is by using RAP code. Otherwise you would need to create a
    separate report object for each report in your project.


    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.