jamesgtierney
Registered User.
- Local time
- Today, 20:07
- Joined
- Jan 28, 2016
- Messages
- 24
I am setting up a custom record selector from fontstuff.com and am having a problem.
I think the problem is that the primary key (CustomerId) is not an autonumber and contains text.
here is the code:
Private Sub cboGoToRecord_AfterUpdate()
On Error Resume Next
Dim rst As Object
Set rst = Me.RecordsetClone
rst.FindFirst "CustomerId = " & Me.cboGoToRecord.Value
Me.Bookmark = rst.Bookmark
End Sub
Can Anyone help
Thank you in advance
I think the problem is that the primary key (CustomerId) is not an autonumber and contains text.
here is the code:
Private Sub cboGoToRecord_AfterUpdate()
On Error Resume Next
Dim rst As Object
Set rst = Me.RecordsetClone
rst.FindFirst "CustomerId = " & Me.cboGoToRecord.Value
Me.Bookmark = rst.Bookmark
End Sub
Can Anyone help
Thank you in advance