Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Sub MoveToRecord(KeyValue As Long)
Dim rst As DAO.Recordset
Set rst = Me.RecordsetClone
rst.FindFirst "RecNbr=" & CStr(KeyValue)
If Not rst.NoMatch Then _
Me.Bookmark = rst.Bookmark
rst.Close
Set rst = Nothing
End Sub
Forms![MyForm].MoveToRecord lngRecordKey
Private Sub Form_Open(Cancel As Integer)
If Not IsNull(Me.OpenArgs) Then _
MoveToRecord CLng(Me.OpenArgs)
End Sub
Me.Recordset.FindFirst "RecNbr=" & CStr(lngRecordKey)