I am currently using this code.
Private Sub Combo17_AfterUpdate()
If IsNull(Me!Combo17) Then Exit Sub
With Me.RecordsetClone
.FindFirst "[Supplier Name] = " & Me!Combo17
If Not .NoMatch Then
If Me.Dirty Then Me.Dirty = False
Me.Bookmark = .Bookmark
End If
End With
End Sub
It works on another form exactly the same but doesn't work on any others. Control source either off or on doesn't work. It either doesn't move the record and lets you freely select or it gives this error: "microsoft jet database engine does not recognize as a valid field name or expression".
I don't see why it works on one form and not another! :banghead:
Private Sub Combo17_AfterUpdate()
If IsNull(Me!Combo17) Then Exit Sub
With Me.RecordsetClone
.FindFirst "[Supplier Name] = " & Me!Combo17
If Not .NoMatch Then
If Me.Dirty Then Me.Dirty = False
Me.Bookmark = .Bookmark
End If
End With
End Sub
It works on another form exactly the same but doesn't work on any others. Control source either off or on doesn't work. It either doesn't move the record and lets you freely select or it gives this error: "microsoft jet database engine does not recognize as a valid field name or expression".
I don't see why it works on one form and not another! :banghead: