Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validate Userid & Password
Message
 
To
17/05/2008 12:52:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01317860
Message ID:
01317873
Views:
7
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform