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 Command1_Click()
Dim mySQL As String
Dim tblName As String
mySQL = "SELECT tblClients.ClientName, tblClients.Add1, tblClients.Add2, "
mySQL = mySQL & "tblClients.Contract, tblClients.Sold, tblClients.Date, "
mySQL = mySQL & "tblClients.Miles, tblClients.PostCode "
mySQL = mySQL & "From tblClients WHERE (((tblClients.Add2) Like '*" & Combo1.List(Combo1.ListIndex) & "*'));"
Data1.RecordSource = mySQL
Data1.Refresh
End Sub