From one form, I am trying to open another form to a specific subform. So from frmContractAffiliateForm, I would like to open frmContractForm where the COID is the same on the parent form, and the ContractID is the same on the subform. Here is my code so far (without opening the specific subform):
DoCmd.OpenForm "frmContractForm", , , "COID=" & Me.COID
DoCmd.Close acForm, "frmContractAffiliateForm"
How can I open the parent form to a specific subform?
DoCmd.OpenForm "frmContractForm", , , "COID=" & Me.COID
DoCmd.Close acForm, "frmContractAffiliateForm"
How can I open the parent form to a specific subform?