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
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