Hello,
I'm making a data entry form that i would like to have display the
operators name.
So far i have a preceeding "Login" form in which the operator inputs
his/her employee number into a text box "txtopnumbe r".
They then click a button which sets the value:
Private Sub Command2_Click( )
gopnumber = Me!txtopnumber
Then i create a module to return that value:
Public Function getopnumber() As String
getopnumber = gopnumber
So on the data entry form i have just been calling up the value by
putting
getopnumber() as the control source.
My question is, I would like the operators to input his/her employee
number in the login form and have somethat looks up the employees name
and displays that on the data entry form. (Instead of just inputting a
number and displaying the number elsewhere I'd like to input a number
and display the associated name elsewhere)
Thanks for your help!
Gavin