The variable is likely a Property. Every class can have properties added to
it when you define the class in The Class Designer. When you're in the Form
Designer you can use the menu pad Form - Add Property to add a property to
the form. I haven't seen the Fond Order example in Tastrade but look for
Thisform.nOldOrder or something similar.
If you create a variable b4 for use in a procedure of an object, the
variable goes out of scope and dies when the procedure ends. Properties
remain as long as the object they are members of remain.
-Anders
>can anyone explain to me how the VFP example doing the searching? i just
>know the form is find order in tastrde example, i can't understand how i
can
>return back to the previous recno() if the user click the cancel button, i
>don't now from where and how to define the variable, i tried b4, but error
>message show that the variable that i define is not a variable for the
>program....
>can anyone show me the way, please