I have a mother form with a number of controls on which each opens a different daughter form, finding specific detail. See On open code for mother form below.
When I open a daughter form and then goes to desihn mode, the mother form closes. Can anybody tell me why?
Normally, if I do not go into design mode witrh the daughter, and I close her, the mother stays open.
Private Sub OpenID100_Click()
'Opens ID100 form to add or edit
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmID100"
stLinkCriteria = "[Calls_at_PortID]=" & Me![Calls_at_PortID]
DoCmd.OpenForm stDocName, , , stLinkCriteria