Hi, I am trying to get a listbox to update after I have run a query from a combobox.
The combo box "On Change [Event Procedure] looks like this...
"qry_typevenue" is a make-table-query that creates a new table from the filtered query called "tbl_querytype".
The listbox is reading the "tbl_querytype" and this is where I am having problems.
I select a filter from the combo box, I then get a runtime error (3211) which I think is telling me that the listbox is currently reading this particular table, therefor I (access engine) cannot do anything...
Any help?
I am very new to access...
The combo box "On Change [Event Procedure] looks like this...
Code:
Private Sub filtercombobox_Change()
DoCmd.SetWarnings False
DoCmd.OpenQuery "qry_typevenue"
DoCmd.SetWarnings True
Me.filtercombobox = ""
End Sub
"qry_typevenue" is a make-table-query that creates a new table from the filtered query called "tbl_querytype".
The listbox is reading the "tbl_querytype" and this is where I am having problems.
I select a filter from the combo box, I then get a runtime error (3211) which I think is telling me that the listbox is currently reading this particular table, therefor I (access engine) cannot do anything...
Any help?
I am very new to access...