Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create new record in a subform

Status
Not open for further replies.

catkins

Technical User
Aug 23, 2002
12
0
0
US
I would think this would be easy for those of you with experience out there. This is a would like to have,not a need to have and I must move on to other things due to time. Any help would be appreciated.

I have a subform A with record source of table 1. In the header of my form(the form with subform A)I have a button in the form header. I want to have a new record created in subform A when the button is clicked. What code do I need in the On Click property? I think I need to use something like "DoCmd.RunCommand acCmdRecordsGoToNew", but how do I get it to refer to the subform A?

Thanks!

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top