Follow up question. Since I have a Composite Index to prevent duplicates I get the error message. How can I trap this?
I resolved it with this code.
Thanks,
I resolved it with this code.
Thanks,
PHP:
'Trap Error.
Dim DataErr As Integer
Dim Response As Integer
Dim Message As String
If DataErr = 3022 Then 'Duplicate value entered
Response = acDataErrContinue
End If
Attachments
Last edited: