Hi all,
Taken over a acces 2003 database. Trying to error trap code for updating user info. Without error trap works. When I try to add error trap it errors saying "sub or function not defined". Please help
Code:
Private Sub Combo7_AfterUpdate()
'On Error GoTo Err_Combo7_AfterUpdate ' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[NewPT] = '" & Me![Combo7] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
'Exit_Combo7_AfterUpdate
' Exit Sub
'Err_Combo7_AfterUpdate:
' MsgBox Err.Description
' Resume Exit_Combo7_AfterUpdate
End Sub