L
Lauren B
I have a database where the first page that appears when it is opened is a
blank data entry page where the user can input customer information. I have
coded the page so that it always opens to a new entry by using:
"DoCmd.GoToRecord , , acNewRec" in the On Open properties.
I have a command button on this main data entry page that allows the user to
go to a search page and ultimately input information to filter the database
entries. Upon performing this search, the user is taken back to the data
entry form and it is only displays the appropriate entries based on the
filter. The problem is, the form is opening blank because of the GoToRecord
command.
Is there a way to write the code so that when the user first opens the
database they are taken to a blank entry but when they perform a search
(place a filter on the information) the form opens at the first record?
Thank you in advance for any assistance.
LB
blank data entry page where the user can input customer information. I have
coded the page so that it always opens to a new entry by using:
"DoCmd.GoToRecord , , acNewRec" in the On Open properties.
I have a command button on this main data entry page that allows the user to
go to a search page and ultimately input information to filter the database
entries. Upon performing this search, the user is taken back to the data
entry form and it is only displays the appropriate entries based on the
filter. The problem is, the form is opening blank because of the GoToRecord
command.
Is there a way to write the code so that when the user first opens the
database they are taken to a blank entry but when they perform a search
(place a filter on the information) the form opens at the first record?
Thank you in advance for any assistance.
LB