Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validate Userid & Password
Message
 
À
17/05/2008 12:52:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01317860
Message ID:
01317873
Vues:
8
if Users.Password == PADR(ALLTRIM(thisform.txtPassword.value),LEN("Users.Password"))
        * This is a valid user
else
      * The password is not valid
endif
RELEASE thisform
DO FORM C:\HPRC\MANAGEMENT.SCX
Fred,

Your code as above does not show you moving the users table's record pointer to the record for the username that was typed in. Did you just omit that code or are you not doing that before you check the password?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform