M
Mick Ruthven
An access 97 app at a client recently began showing a run-time error 3021
"No Current record" for the following code that's on AfterUpdate of a combo
box (after selecting an entry from the combo box). This app has worked for a
few years with no trouble, and that code was executed frequently. Compact &
Repair has been run on both the code database and data database with no
success. Any ideas?
Private Sub LastNameCombo_AfterUpdate()
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[Person ID] = " & Me![LastNameCombo]
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
"No Current record" for the following code that's on AfterUpdate of a combo
box (after selecting an entry from the combo box). This app has worked for a
few years with no trouble, and that code was executed frequently. Compact &
Repair has been run on both the code database and data database with no
success. Any ideas?
Private Sub LastNameCombo_AfterUpdate()
' Find the record that matches the control.
Me.RecordsetClone.FindFirst "[Person ID] = " & Me![LastNameCombo]
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub