Form_Error

XFan

Registered User.
Local time
Today, 00:01
Joined
Jul 23, 2014
Messages
14
Hi folks!

I have a question about the Form_Error sub... I need to do some error handling and this sub just doesnt work.... It never ever pass inside even when some errors are thrown... Anyone has a clue why? :banghead:

Code:
Private Sub Form_Error(DataErr As Integer, Response As Integer)
    MsgBox "inside error"
    If DataErr = 2169 Then
        Response = acDataErrContinue
    End If
End Sub

Just in case some people ask for it but I dont think it'll help alot! :P

Thanks alot for the help :)

XF
 
Last edited:
Ya k it's because [from Microsoft] This includes Microsoft Access database engine errors, but not run-time errors in Visual Basic or errors from ADO.

I just don't understand why some people give this as an example and everyone seems to say it works while it doesnt.. uh uh.
 

Users who are viewing this thread

Back
Top Bottom