Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application Design
Message
 
À
30/01/2003 11:26:58
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00747206
Message ID:
00747239
Vues:
11
>My design question is this. I need all the peices of data on the logged on user at various stages in my app to verify which functions are open to them since authoriy varies between users. Do I create a cursor based on the user after the password is verified and use the cursor results throughout my app? Or do I set up Public varibles based on the cursor results?
>
>Whats the best way to handle this? One note is at some points in my app I push data to remote tables. When this happens I have to close my tables in the DE and then open them again. Won't this kill my cursor?

Use a singleton application object to hold the currently logged in user data. Create a method on the application class to return the user information.

oApp.oUser.name
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform