Add New Record in Datasheet subform

  • Thread starter Thread starter mattc66 via AccessMonster.com
  • Start date Start date
M

mattc66 via AccessMonster.com

Hi All,

I have an event on my main form that when you press enter it moves the cursor
to the first record on the subform. However I want it to place the cursor on
the add new record portion of the subform if there is data already found.

I hope I am saying this correct.
 
Me.sfrOrders.SetFocus
DoCmd.GoToRecord , , acNewRec

Where 'sfrOrders' is the name of the subform control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top