C
christopher.miles.quinn
I have created a query which displays the results in a list box.
Within this query there are a couple of fields which criteria is
linked to combo boxes.
When a user selects an option witihin the combo box, (on change) it
requerys the list box which refreshes the query.
However, I have recently added some if statements into the query,
which also has criteria linked to a combo box. Which I want to run
either/or not together
The first time I select something in the combo box, it works perfectly
and the list box displays the correct results. But then when I change
the selection in the combo box, both criteria from the previous and
current selection are used by the query. Giving me the wrong results.
Can anyone explain what I am doing wrong
Thanks,
Chris
Within this query there are a couple of fields which criteria is
linked to combo boxes.
When a user selects an option witihin the combo box, (on change) it
requerys the list box which refreshes the query.
However, I have recently added some if statements into the query,
which also has criteria linked to a combo box. Which I want to run
either/or not together
The first time I select something in the combo box, it works perfectly
and the list box displays the correct results. But then when I change
the selection in the combo box, both criteria from the previous and
current selection are used by the query. Giving me the wrong results.
Can anyone explain what I am doing wrong
Thanks,
Chris