I have a list box with many different values in it. I have the users select a value and click "Search"
This pulls up the information behind that selected value. I did this through a select query.
What i want to happen is to view this information in another list box on the bottom of the form. Right now the query just comes up in Datasheet view.
Any help fast would be great!!!!!!!!
The code I'm using is below:
Private Sub cmdSearch_Click()
Select Case Me!fraSearch
Case 1
DoCmd.OpenQuery "SearchType"
Case 2
DoCmd.OpenQuery "Search Site"
End Select
End Sub
This pulls up the information behind that selected value. I did this through a select query.
What i want to happen is to view this information in another list box on the bottom of the form. Right now the query just comes up in Datasheet view.
Any help fast would be great!!!!!!!!
The code I'm using is below:
Private Sub cmdSearch_Click()
Select Case Me!fraSearch
Case 1
DoCmd.OpenQuery "SearchType"
Case 2
DoCmd.OpenQuery "Search Site"
End Select
End Sub