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.
im dbs As Database
Dim rst As Recordset
Dim strSQL As String
Dim strInput As String
Set dbs = CurrentDb
strInput = Me.txtInput
strSQL = "SELECT * FROM [YourTable] WHERE [YourField] = " & strInput
Set rst = dbs.OpenRecordset(strSQL)
rst.MoveLast
If rst.RecordCount > 0 Then
'do somethng
Else
'Do something else
End If
Set rst = Nothing
Set dbs = Nothing