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 cmdSearchByID_Click()
On Error GoTo Err_cmdSearchByID_Click
Dim stDocName As String
[red]Dim stLinkCriteria As String[/red]
stDocName = "frmSearchResults"
[red]stLinkCriteria = "[ID] Like Me![cboID].Value[/red]
DoCmd.OpenForm stDocName[red], , , stLinkCriteria[/red]
Exit_cmdSearchByID_Click:
Exit Sub
Err_cmdSearchByID_Click:
MsgBox Err.Description
Resume Exit_cmdSearchByID_Click
End Sub