Hey guys,
I have an access form that I created for user entry. The control source of the form is a table where I want to store their data entries.
However, my boss wants me to have the form automatically retrieve the employer's name and populate it on the screen based on the employer number that the user enters on the screen.
I just can't find a way to do this. I know I have to involve a query somehow to take the user's input for employer number, but everything I've tried as failed. I tried creating a make table query which would store the matching record for the employer name and number in a temp table. Then set the control source of my name field to that temp table. Problem is the temp table can not be deleted since it is locked onto the form.
Surely there is a simple way to do this. All I need is for Access to automatically display the employer name based on the number that the user keys in.
I have an access form that I created for user entry. The control source of the form is a table where I want to store their data entries.
However, my boss wants me to have the form automatically retrieve the employer's name and populate it on the screen based on the employer number that the user enters on the screen.
I just can't find a way to do this. I know I have to involve a query somehow to take the user's input for employer number, but everything I've tried as failed. I tried creating a make table query which would store the matching record for the employer name and number in a temp table. Then set the control source of my name field to that temp table. Problem is the temp table can not be deleted since it is locked onto the form.
Surely there is a simple way to do this. All I need is for Access to automatically display the employer name based on the number that the user keys in.