Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public Variable in the form
Message
 
 
To
09/07/2001 09:35:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00528073
Message ID:
00528074
Views:
16
This message has been marked as the solution to the initial question of the thread.
>Hi Everybody,
>
>How can I declear a veriable in the beginning of the form so that I can use it anywhere in the form? In Forpro 2.6 for dos, it was very easy. I used to assign some value to the veriable in the beginning of the program and I could assess it anywhere. How to do this in VFP Form?
>
>Thanks in advance

As the title implies, you can declare it PUBLIC and it is available throughout the form, but I wouldn't recommend that.

What I do recommend is creating a form Property. While in the Form designer, go to Form - New Property. Set the appropriate information and click on the Add button. Now you have something available throughout the life of the form.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform