Tiosylanyl
New Member
- Joined
- Jul 31, 2006
- Messages
- 48
Hello all,
I'm working on a database with a username/password login. Upon login, it opens a switchboard that leads to other forms that users will be able to view their records.
I'm trying to set up an automatic filter based on the user name, as described on this link: http://www.databasedev.co.uk/filter_current_user.html
I've already set up a module for the code that is supposed to capture the current user ID(basCurrentUser), the hidden form and AutoExec macro for it, however, it still isn't working.
I'm sure it has to do with ensuring that I've changed the form/field names to what I'm using in the code, but after playing with it for a while, I still haven't come up with the solution.
Here are the names of the Forms/fields I have:
Log in form:
Database Logon
cboEmployee
txtPassword
Hidden table:
Current User Login
LoginName
Anyone have an idea as to what I may be missing?
I'm working on a database with a username/password login. Upon login, it opens a switchboard that leads to other forms that users will be able to view their records.
I'm trying to set up an automatic filter based on the user name, as described on this link: http://www.databasedev.co.uk/filter_current_user.html
I've already set up a module for the code that is supposed to capture the current user ID(basCurrentUser), the hidden form and AutoExec macro for it, however, it still isn't working.
I'm sure it has to do with ensuring that I've changed the form/field names to what I'm using in the code, but after playing with it for a while, I still haven't come up with the solution.
Here are the names of the Forms/fields I have:
Log in form:
Database Logon
cboEmployee
txtPassword
Hidden table:
Current User Login
LoginName
Anyone have an idea as to what I may be missing?