I
iccsi
I use CurrentDb.Execute strMYSQL, dbFailOnError to run my update
query.
I got run time error 3022 which is duplicate records found.
I tried to update multi records from the code.
I use following code to filter out the error, MS Access only updates
the first record.
Err_Handle:
Select Case Err
Case 3022
Resume Exit_Handle
Case Else
strErrMsg = strErrMsg & "Error #: " & Format$(Err.Number) &
vbCrLf
strErrMsg = strErrMsg & "Error Description: " &
Err.Description
Resume Exit_Handle
End Select
I would like to know is it possible to update mutli records using VBA
code like CurrentDB.Execute
Your help is great appreciated,
query.
I got run time error 3022 which is duplicate records found.
I tried to update multi records from the code.
I use following code to filter out the error, MS Access only updates
the first record.
Err_Handle:
Select Case Err
Case 3022
Resume Exit_Handle
Case Else
strErrMsg = strErrMsg & "Error #: " & Format$(Err.Number) &
vbCrLf
strErrMsg = strErrMsg & "Error Description: " &
Err.Description
Resume Exit_Handle
End Select
I would like to know is it possible to update mutli records using VBA
code like CurrentDB.Execute
Your help is great appreciated,