G
Guest
I have a form that asks the user for filter information. When the user clicks
"OK" that form closes and another form opens showing the data with the filter
applied, and the user can update data, etc. on the second form. Sometimes
users search for items that do not exist. When this happens, currently the
second form opens and is blank.
I'd like the Event Procedure on the first form's OK Button On-Click event to
check for null values before the second form is opened, and if it finds that
there is no data to display, to inform the user that their search yielded no
results and then abort the procedure. I can't figure out how to test the
filtered recordset for null values to give the user this warning. Any help is
appreciated.
Thanks,
RB
"OK" that form closes and another form opens showing the data with the filter
applied, and the user can update data, etc. on the second form. Sometimes
users search for items that do not exist. When this happens, currently the
second form opens and is blank.
I'd like the Event Procedure on the first form's OK Button On-Click event to
check for null values before the second form is opened, and if it finds that
there is no data to display, to inform the user that their search yielded no
results and then abort the procedure. I can't figure out how to test the
filtered recordset for null values to give the user this warning. Any help is
appreciated.
Thanks,
RB