Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pure Modal Screen
Message
 
To
29/01/2001 15:37:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00469658
Message ID:
00470001
Views:
30
Alaster,

If you want to do this internal to VFP, try this...
Create a login form that sets a public variable llogin to .t. if the user logged in correctly.
Be sure to put a clear events in the closure of the form

In your entry program, set up all your defaults and values.
Structure a program as follows:

llogin = .f.
Do Form loginform name ologinform linked
read events
release ologinform
If llogin
Do Form main name oMainform linked
read events
release oMainform
EndIf

***********
The only way llogin is .t. is through the loginform
And if they don't login correctly, they never open the main form.

Hope This helps,

Ron
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform