Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where Should Public Variables be Placed
Message
From
18/06/2013 09:28:22
 
 
To
18/06/2013 03:01:03
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01576563
Message ID:
01576614
Views:
53
>Ok, Now suppose I want to execute my Report REPORT FORM myReport from the command button in the same form and not from the Combo in which the local variables were declared as you indicated below, than what should I do as on clicking the command button the report will generate but the values for _MonthPeriod and _YearPeriod will be blank.
>
>

Add properties to the form to hold the values. In the combo method, save the values to those properties. In the button's Click, copy them from those properties to local variables for the report.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform