Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and Windows NT
Message
 
 
À
08/01/2001 12:16:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00460607
Message ID:
00460717
Vues:
7
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform