I have a form to that requires a user name it's a combobox.
I want to be able to double click on it if the user doesn't exist to bring up the user table & enter a new record.
I took this code from the microsofts "resource scheduling" database template. In that database when I double click on the field, it goes to the "new record" position. When I dblclick on my form it brings the user form up, but the first record in the table is populating the form.
DoCmd.OpenForm "User", , , , , acDialog, "GotoNew"
on my form the user field is an unbound field, the lookup that creates the dropdown list functions correctly.
I want to be able to double click on it if the user doesn't exist to bring up the user table & enter a new record.
I took this code from the microsofts "resource scheduling" database template. In that database when I double click on the field, it goes to the "new record" position. When I dblclick on my form it brings the user form up, but the first record in the table is populating the form.
DoCmd.OpenForm "User", , , , , acDialog, "GotoNew"
on my form the user field is an unbound field, the lookup that creates the dropdown list functions correctly.