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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a form that has a subform.

Status
Not open for further replies.

Krash878

Programmer
May 8, 2001
172
US
I have a form (formA) that is opening another form (FormB) and the FormB has a subform. I want to use the code:

Dim stDocName As String
Dim stLinkCriteria As String
DoCmd.Close
stDocName = "frmNewCBMain"
DoCmd.OpenForm stDocName, , , , acFormAdd

The problem is that the Subform will not open in acFormAdd. I just need to have the Subform open with the acFormAdd.

Thanks
Kenny
 
Change the DataEntry property to yes in the subform and try again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top