button on main form sets up subform for new record

M

mcnewsxp

i need a docmd or something like that to place a subform into new record
mode (like nav bar >* ) when i push a button on the main form.
this is a quick and dirty app so no lectures please.
tia,
mcnewsxp
 
E

Ed Robichaud

OK, no lecture.

Me![mySubFormContolName].SetFocus
DoCmd.GoToRecord , , acNewRec

-Ed
 

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