Question : How do I use the debugger in Microsoft Access?

I have the same error message that fires for two seemingly unrelated actions on my form. : clicking a command button and closing the form.  When I step into the procedure behind the command button I cannot isolate the error.  I have no code for the close event of the form.  Is there some way to see all the code step by step from opening the form to closing it without manually identifying a starting point?  

Is there a thread with good discussion about Access debug functionality?

Thank you!
Saleve

Answer : How do I use the debugger in Microsoft Access?

add this codes in the error event of the subform frm_sub_SentAndReturned


Private Sub Form_Error(DataErr As Integer, Response As Integer)

If DataErr = 3021 Then
    Response = acDataErrContinue

End If
End Sub
Random Solutions  
 
programming4us programming4us