W
Wayne Emminizer
I have a form with combo boxes the filter the records on
a subform. With each choise the filter works fine. I
have a "Clear Criteria" button that sets the combo boxes
to null and sets the subform filter to "" to display all
records. That works fine too. My problem is that after
setting the filter and then clearing it when you go into
design view of the form the FILTER property is still set
to the precleared filter value. The reason this is a
problem is my combo boxes pull their available values
from a query using that subform filter as the WHERE
clause. So if I clear the value from the combo box all
of the subform records come back which they should but
since the subforms filter property still registers a
filter my combo box values don't report correctly. If I
close and reload the form I am all set.....any thoughts?
a subform. With each choise the filter works fine. I
have a "Clear Criteria" button that sets the combo boxes
to null and sets the subform filter to "" to display all
records. That works fine too. My problem is that after
setting the filter and then clearing it when you go into
design view of the form the FILTER property is still set
to the precleared filter value. The reason this is a
problem is my combo boxes pull their available values
from a query using that subform filter as the WHERE
clause. So if I clear the value from the combo box all
of the subform records come back which they should but
since the subforms filter property still registers a
filter my combo box values don't report correctly. If I
close and reload the form I am all set.....any thoughts?