Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validate Userid & Password
Message
From
17/05/2008 12:15:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Validate Userid & Password
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01317860
Message ID:
01317860
Views:
50
So I am again trying to figure out the validation of a simple password form I have created, below is some code I was trying to get to work and since I could not make that work I stopped mid stride.....
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
The table users only has 3 fields userid,username,password,

If anyone can point me in the right direction .....


Thanks,

Fred W.
Next
Reply
Map
View

Click here to load this message in the networking platform