Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and Windows NT
Message
From
08/01/2001 13:56:47
 
 
To
08/01/2001 12:16:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00460607
Message ID:
00460717
Views:
6
Hi, Claudio.
>WITH THIS.PARENT
>   lcLoginName = ALLTRIM(.txtLoginName.VALUE)
>   SELECT iID, cLoginName, mSenha FROM Usuarios;
>   WHERE ALLTRIM(cLoginName) == lcLoginName;
>   INTO CURSOR curTempUsuario
>    IF _Tally > 0
>        IF ALLTRIM(curTempUsuario.mSenha) == ALLTRIM(.txtSenha.VALUE)
>           PUBLIC oUsuario
>           oUsuario = CREATEOBJECT("cusUsuario",curTempUsuario.iID)
>           .Release
>...etc..
Where is oUsuario defined? If you didn't defined somewhere else, the variable will loose scope at the end of this method and would be released.

Of course, I suppose it is defined as private or public before as you say that it works on Win9x.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform