I have a database where I'm allowing a user to update a record in a table using a form.
I want the user to be able to search by name to find therir unique reference number if they don't know it already. I've built a query and based a form on the query so the user gets a personal profile for every 'Smith' come back. They can use the navigation buttons to scroll through all the smith's until they find the one they want.
I want the user then to click on a button which will open up the main form when they find the correct person. I've tried using code like:
Open form where payroll number=forms![name search].[payroll number].current but it's not working.
Any ideas?
I want the user to be able to search by name to find therir unique reference number if they don't know it already. I've built a query and based a form on the query so the user gets a personal profile for every 'Smith' come back. They can use the navigation buttons to scroll through all the smith's until they find the one they want.
I want the user then to click on a button which will open up the main form when they find the correct person. I've tried using code like:
Open form where payroll number=forms![name search].[payroll number].current but it's not working.
Any ideas?