Hi,
Add a property to the form. You can then assign the value to the property in the form's init():
ThisForm.SomeProperty = "MyValue"
You can then access this value from anywhere in the form like this:
ThisForm.SomeProperty
HTH
>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
Daniel