S
Shondra
The syntax below is in the closeform event of a different form,
frm_draw_reports. We are receiving an error message when the close
button is clicked that states "Microsoft Access can't find the form
'frm_draw_w_exceptions' referred to in a macro expression or Visual
Basic code."
If Forms!frm_draw_w_exceptions.Check7.Enabled = False Then
stDocName = "qry_not_drawn_PMS"
DoCmd.OpenQuery stDocName, acNormal, acEdit
DoCmd.Close acQuery, stDocName
End If
Thanks!
frm_draw_reports. We are receiving an error message when the close
button is clicked that states "Microsoft Access can't find the form
'frm_draw_w_exceptions' referred to in a macro expression or Visual
Basic code."
If Forms!frm_draw_w_exceptions.Check7.Enabled = False Then
stDocName = "qry_not_drawn_PMS"
DoCmd.OpenQuery stDocName, acNormal, acEdit
DoCmd.Close acQuery, stDocName
End If
Thanks!