Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Variables
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00805554
Message ID:
00805697
Views:
24
>Hi Dennis,
>
>Why not to define a variable outside Report as Public and change its value in BeforeOpenTables.
>
>As per what i checked the report variable was not getting changed in BeforeOpen Table Event.
>
>Aashish
>
>>Can I add a report variable to a report and set that variable from say the BeforeOpenTables event?
>>
>>tks

It is not necessary to define the variable as public at all, even a local in the calling routine is visible to the report. There are very few situations where the public declaration is required. One could write code in VFP for years and never encounter one.
Previous
Reply
Map
View

Click here to load this message in the networking platform