nycbigapple
Technical User
Hi,
I have a database where users login into the Db. On a particular form, there is a combo box where I only want the user logged in name to appear. This is what I have and it works.
Form_Current
This is where my dilemma is:
If user A logged in and accessed record 101 and selected their name, and logs out.
User B logs in and accesses record 101 that combo box displays that it is empty but it isn't. How can I code it so that displays User A name but the record source will only display User B name from the list to choose.
I hope I was able to explain
I have a database where users login into the Db. On a particular form, there is a combo box where I only want the user logged in name to appear. This is what I have and it works.
Form_Current
Code:
Me!cboInitBy.RowSource = "SELECT EmpID, LName & FROM qryemplist WHERE (((qryemplist.EmpID)=forms!frmncr!txtEmpID))"
This is where my dilemma is:
If user A logged in and accessed record 101 and selected their name, and logs out.
User B logs in and accesses record 101 that combo box displays that it is empty but it isn't. How can I code it so that displays User A name but the record source will only display User B name from the list to choose.
I hope I was able to explain