Send subform to a new record in Access 2000

G

Guest

How can I use code in the After_Update event of a control on a parent form to
send the child form to a new record?
 
S

Steve

Put the following in the AfterUpdate event:

Me!NameOfSubformControl.SetFocus
Me!NameOfSubformControl!NameOfAnyControlInSubform.SetFocus
DoCmd.GoToRecord , , acNewRec

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 

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