determine nuber of recs returned by filter

A

alex

Hi,
i have a subform with combo boxes which builds a filter
string on a parent form (default view: single form) to
reduce the number of records which can be navigated in the
parent based upon the data selected.
When this is executed the parent shows at the bottom of
the form, for example,
"Record |<< 1>>| of 4 (filtered)"
of which there would be 50 unfiltered records in total.

When there are no results for the selected criteria a
blank form (completely empty of everything) is displayed.
To prevent this i want to "me.filteron = false" IF the
number of recs = 0

If the form knows how many filtered recs there are what
function can i use to determine this myself and stop the
blank form?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top