>I'm new to VFP (old FPW) and am a bit in the dark on the scope of objects and the variables that point to objects.
>
>
>I have a user object and in the init I run a login form to get the user details.
>
>How do I get the form to see the object variable. It always seems to think that my object 'aint an object.
>
>Cheers,
>Jamie
I think that in your case it is a matter of timing, that is, the object you are referring to may have not yet finished getting defined by the time you are making a reference to it. My suggestion would be to move the call to the login form to the object.gotfocus method. Let me know if this helps (or if I'm wrong)
Larry