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 List0_DblClick(Cancel As Integer)
Dim strSQL As String
Dim strSelected 'For the currently selected item
strSelected = List0.Selected
strSQL = "SELECT RecordID FROM tblMyTable WHERE RecordName = '" & strSelected & "'"
Forms!MyNewForm.RowSource = strSQL
End Sub
Private Sub List0_DblClick(Cancel As Integer)
Dim strSQL As String
Dim strSelected 'For the currently selected item
strSelected = List0[b].Value[/b]
strSQL = "SELECT RecordID FROM tblMyTable WHERE RecordName = '" & strSelected & "'"
Forms!MyNewForm.RowSource = strSQL
End Sub