I have a text box(txtUserLogon) on my form(frmLogInOut) that I would to have the following value
I tried placing this in the control source and default value with no luck.
I created a query called qryUserName that is based on that sql statement but I can't figure how to pass that value on to the text box.
Any ideas or thoughts how to accomplish this goal??
Newbie in search of knowledge
Code:
select empusername from tblEmployees where EmployeeID = forms!frmLogInOut!txtEmployeeID.value
I tried placing this in the control source and default value with no luck.
I created a query called qryUserName that is based on that sql statement but I can't figure how to pass that value on to the text box.
Any ideas or thoughts how to accomplish this goal??
Newbie in search of knowledge