Home General

Setting Var&Consts in Run Time

edited July 2001 in General
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,

Comments

This discussion has been closed.