[AccessD] NEVER MIND: 'Duplicate values' error in Access - what number is it?!?

Christopher Hawkins clh at christopherhawkins.com
Mon Jan 19 18:19:53 CST 2004


I'm an idiot...the very next thing I tried after sending my message
got me what I wanted.  FYI, here's what I did (the error was
happening when a JanusGrid component was being updated):

Private Sub grdMain_Error(ByVal ErrNumber As Long, ByVal
DisplayMessage As Object)
    
    If ErrNumber = -2147217887 Then
        MsgBox "Got it!"
    Else
        MsgBox "Try again..."
    End If
        
End Sub

-Christopher-




More information about the AccessD mailing list