I'm getting an error every time I try to click my "duplicate record" button in my access database. I have a simple form that is pulling data from a table. Here is the following code:
Private Sub Combo101_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[ID] = " & Str(Nz(Me![Combo101], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
The error is coming from this part:
Me.Bookmark = rs.Bookmark
Thanks in advance for your help!!
---------- Post added at 02:22 PM ---------- Previous post was at 01:40 PM ----------
Nevermind! I figured it out!
Bookmarks