I have a report that pulls one bit of information from a form. If the form isn't open for some reason Access throws Error 2450: Microsoft Access can't find the referenced form "frm_Contact". I'm trying to program around this by setting the textbox to an empty string if I can't get the value from the form, but the error is still thrown.
Is there a way to program around this to prevent Access from throwing an error? I don't want my users going into the debugger just because a form isn't open.Code:If Not IsNull(Forms!frm_Contact.cboxContact) Then Me.tboxName = Forms!frm_Contact.cboxContact Else Me.tboxName = "" End If