M
max
Hi,
I have a form with employee details like name, age, ID, and
so on. On the form, there's a textbox where the user enters
a filter criteria (eg "30") so as to display only those
aged 30. The user then presses a button to set the filter.
When there are no records that meet the filter criteria,
the details section of the form goes blank.
I would like it to happen that when the user presses the
button and there are no records that meet the filter
criteria, instead of the form blanking out, a message
appeares saying that "NO records meet the criteria" and the
filter is removed.
How do I go about this?? Thanks in advance
I have a form with employee details like name, age, ID, and
so on. On the form, there's a textbox where the user enters
a filter criteria (eg "30") so as to display only those
aged 30. The user then presses a button to set the filter.
When there are no records that meet the filter criteria,
the details section of the form goes blank.
I would like it to happen that when the user presses the
button and there are no records that meet the filter
criteria, instead of the form blanking out, a message
appeares saying that "NO records meet the criteria" and the
filter is removed.
How do I go about this?? Thanks in advance