Ya gotta love Access! The following code calls up my modal form from within a single form with no problem.
Private Sub txtF06_Click()
On Error GoTo Err_txtF06_Click
DoCmd.OpenForm “frm Corporations – Contacts”, windowmode:=acDialog, wherecondition:=”AGMSysKey=” & cboVendor
Exit_txtF06_Click:
Exit Sub
Err_txtF06_Click:
MsgBox Err.Description
Resume Exit_txtF06_Click
End Sub
However, when I try to run the same thing after I