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.
Private Sub PopulateControls
Dim rst As ADODB.Recordset
Set rst = New ADODB.Recordset
rst.CursorType = adOpenKeyset
rst.LockType = adLockOptimistic
rst.ActiveConnection = CurrentProject.Connection
rst.Open "SELECT * FROM tblDemo WHERE DemoId = " & txtDemoRef
If rst.EOF Then ' No Record Found
Else
' Code in here to populate the controls.
End If
rst.Close
Set rst = Nothing
End Sub