OK, this is what I want to do:
I have a table of data. One of the fields is a combobox that populates itself from another table. I want to be able to create a report that prompts the user to select the data from combobox list, then display the query results.
I've read on the interwebs that in order to do this, I have to create a form that consists solely of the combobox, then get the query to run when the combobox is updated.
OK, so when I open the report, the form pops up. I make my selection from the combobox and have to hit enter (is there a way to have it activate upon just clicking on the selection in the combobox instead of having to hit enter?), then the results of the query show up, and the report is closed. The only problem with this at the moment is that the combobox selection is made, the data table shows up with all of the results, then when that is closed, the report opens and displays all of the results (even those that weren't selected in the combobox.)
Any idea why the report would close and the query results would be displayed in table view without being filtered by the combobox entry?
I have a table of data. One of the fields is a combobox that populates itself from another table. I want to be able to create a report that prompts the user to select the data from combobox list, then display the query results.
I've read on the interwebs that in order to do this, I have to create a form that consists solely of the combobox, then get the query to run when the combobox is updated.
OK, so when I open the report, the form pops up. I make my selection from the combobox and have to hit enter (is there a way to have it activate upon just clicking on the selection in the combobox instead of having to hit enter?), then the results of the query show up, and the report is closed. The only problem with this at the moment is that the combobox selection is made, the data table shows up with all of the results, then when that is closed, the report opens and displays all of the results (even those that weren't selected in the combobox.)
Any idea why the report would close and the query results would be displayed in table view without being filtered by the combobox entry?