I have a login form - user enters ID and Password and hit go button
When they hit go the login form moves to the back but stays open and the main form opens and filters the records returned based on the id entered in the login form
When they create a new record I have the id field auto-populating with the id they entered into the login form like this [Forms]![Form]![Field].
I have an employees table that has the login id stored along with many other employee related fields, I am wondering if there is a way when they hit the add record button to not only auto-populate their id but also their name and their manager's name into their respective fields?
Currently under the Add record button is a macro
On Error - Go to next
Record - New
If [Macro Error]<>0 Then
messageBox Message = [MacroError].[Description]
End If
and I have the id field auto-populating by setting the Default Value of the form field to the value entered into the Login Form (=[Forms]![Logon_Form]![cboEmployee])
Hope this all makes sense
Thanks in advance for your help
B