Good morning,
I am having a problem at the point where I close a form. I receive an error #2169 with no explanation or option other than 'OK'. What language do I need in the code to display what this means in order to clarify it and give a user other options. Currently, this is the coding I have.
Private Sub Form_Error(DataErr As Integer, Response As Integer)
Select Case DataErr
Case 7753
If Screen.ActiveControl.Name = "UnboundTextBox" Then
Response = acDataErrContinue
Else
MsgBox DataErr, vbCritical
Response = acDataErrContinue
End If
Case Else
MsgBox DataErr, vbCritical
Response = acDataErrContinue
End Select
End Sub
Thank you,
Directorz
I am having a problem at the point where I close a form. I receive an error #2169 with no explanation or option other than 'OK'. What language do I need in the code to display what this means in order to clarify it and give a user other options. Currently, this is the coding I have.
Private Sub Form_Error(DataErr As Integer, Response As Integer)
Select Case DataErr
Case 7753
If Screen.ActiveControl.Name = "UnboundTextBox" Then
Response = acDataErrContinue
Else
MsgBox DataErr, vbCritical
Response = acDataErrContinue
End If
Case Else
MsgBox DataErr, vbCritical
Response = acDataErrContinue
End Select
End Sub
Thank you,
Directorz