How to use the GoToRecord command to get a record by the first key - VBA Acess 2010

How to use the "GoToRecord" command to get the record by the first key?

+5
source share
1 answer

I suspect you want to go to the primary key entry.

MyKey = 3
With Me.Recordset
    .FindFirst "ID=" & MyKey

    If .NoMatch Then
        MsgBox "Not found"
    End If
End With
+9
source

All Articles