When I open my orderform I would like to have a new record to be shown instead of the oldest one. Each time adding an order for a customer I have to touch the new button first. I would like to autofocus on a new record automatically.
I thought about adding code to the 'on open event' of the form, I did the following:
DoCmd.GoToRecord , "", acLast
but it doesn't help.
Does anybody know how to achieve it?
(by the way I know about setting data-entry to yes in the form properties but that setting prevents me from browsing through old records)
I thought about adding code to the 'on open event' of the form, I did the following:
DoCmd.GoToRecord , "", acLast
but it doesn't help.
Does anybody know how to achieve it?
(by the way I know about setting data-entry to yes in the form properties but that setting prevents me from browsing through old records)