>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao