accessuserva
Technical User
I have a form with a list box in it to be filled with data after a guery is run from the form
Private Sub Search_Radius_Exit(Cancel As Integer)
Dim stDocName As String
stDocName = "qrySitedistance"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_Command212_Click:
Exit Sub
this is what I have... the problem is the data is not filling the list box. The query runs fine and I have
made the row source of the list box the data that I want in the list box from the query..Do I need to put in code to tell access to fill the form after the query is run.
I have very limited vb experience and my teacher was of no help either as VB is not is cup of tea.
Thanks.
Private Sub Search_Radius_Exit(Cancel As Integer)
Dim stDocName As String
stDocName = "qrySitedistance"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_Command212_Click:
Exit Sub
this is what I have... the problem is the data is not filling the list box. The query runs fine and I have
made the row source of the list box the data that I want in the list box from the query..Do I need to put in code to tell access to fill the form after the query is run.
I have very limited vb experience and my teacher was of no help either as VB is not is cup of tea.
Thanks.