Username

binksmatthew

Registered User.
Local time
Today, 04:29
Joined
Mar 3, 2007
Messages
21
is there any way that i am able to get the username from combo box on the login form that i created to a text box on the switch board that appears after the user has logged in.
 
Assign it to a Public variable, declared in the general declarations section of a STANDARD (not FORM) module. Then it can be accessed directly by any form at any time.

One thing to note, if you are going to have multiple users using the database at the same time, you need to split the database and give each user a copy of the front end. Otherwise, when they log in then someone else logs in the first users stuff will be replaced with the new one.
 
cheers for the reply but could you explain how this is done please as i am fairly new to Access. thanks
 
in your coding does 'strLogin' stand for the name of the column in which the employees Username is stored in the table. also should the form name be included in the module.
 

Users who are viewing this thread

Back
Top Bottom