How go to new record in subform?

G

Guest

I have a main form containing a subform.
The subform is a continuous form that lists related items.
What I want to be able to do is to click on the label of the subform (on the
main form) and then jump to the new record line of the subform list.
I'm lost on the syntax to do this.
I have been able to get it to position on the first line in the subform but
not the new record line.
 
K

kingston via AccessMonster.com

Try this on the control's .OnClick event:

Me.MainForm.Form!SubForm.Form.Recordset.AddNew
 

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

Top