roxtonsgirl
Registered User.
- Local time
- Today, 11:37
- Joined
- May 14, 2009
- Messages
- 10
Hello all,
I'm something of an Access 2007 newbie. I'm working on an invoicing db for work. I've got a Search Invoices form that is bound to the main invoice table. Basically I want users to be able to search invoices entered and update them if needed. They search the invoices through a combo box. Since the form is bound I understand that my form will always open with the 1st record in the table. However, I'm hoping that there's a way to have the form cleared when opened so no one accidentally edits the wrong record. I'm thinking from reading on this forum that I can set an event for "On Load" using this command: DoCmd.GoToRecord , , acNewRec
However, since I don't know VBA at all, I'm not sure how to place the code. Can anyone assist with this?
Thank you,
Steph
I'm something of an Access 2007 newbie. I'm working on an invoicing db for work. I've got a Search Invoices form that is bound to the main invoice table. Basically I want users to be able to search invoices entered and update them if needed. They search the invoices through a combo box. Since the form is bound I understand that my form will always open with the 1st record in the table. However, I'm hoping that there's a way to have the form cleared when opened so no one accidentally edits the wrong record. I'm thinking from reading on this forum that I can set an event for "On Load" using this command: DoCmd.GoToRecord , , acNewRec
However, since I don't know VBA at all, I'm not sure how to place the code. Can anyone assist with this?
Thank you,
Steph