Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pure Modal Screen
Message
 
À
29/01/2001 15:37:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00469658
Message ID:
00470001
Vues:
29
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!"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform