Setting Var&Consts in Run Time
Hi,
I am using Delhi5 and RBuilder 5.5
Is it possible to set initial values for a variable or constant which
declared in
Calc Tab > Module > Global >Declarations.
My application uses many reports. Some of them has a specific variable
with name MyVar.(Or a specific constant; MyConst)
After loading file to template I want to run a code
ENTReport.Template.FileName:=MyFileName;
ENTReport.Template.LoadFromFile;
**
ENTReport.Print;
In my code, I want to get names of variables and constants of Report,
and if one of them matches with my pre-determined variable or constant I
will ask it to user and set it to the desired initial value. Is this
possible without using BeforePrint or any other event of each report.
Any help or suggestion wellcome,
I am using Delhi5 and RBuilder 5.5
Is it possible to set initial values for a variable or constant which
declared in
Calc Tab > Module > Global >Declarations.
My application uses many reports. Some of them has a specific variable
with name MyVar.(Or a specific constant; MyConst)
After loading file to template I want to run a code
ENTReport.Template.FileName:=MyFileName;
ENTReport.Template.LoadFromFile;
**
ENTReport.Print;
In my code, I want to get names of variables and constants of Report,
and if one of them matches with my pre-determined variable or constant I
will ask it to user and set it to the desired initial value. Is this
possible without using BeforePrint or any other event of each report.
Any help or suggestion wellcome,
This discussion has been closed.
Comments
variables. There is a demo of creating pass thru functions in the RAP demos
in your RBuilder installation.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com