H
Hermanson
I want to run a macro that applies a filter to a form (ApplyFilter).
The condition is a typical expression, but can return null records.
I've done this, but what if there are no records returned?
How can I show a messagebox stating that no records where filtered because the
condition was not met?
Like this:
ApplyFilter with condition
If condition is met, show the form, and stop macro
If condition is NOT met, show message, close the form, stop macro
Any help will be greatly appreciated.
The condition is a typical expression, but can return null records.
I've done this, but what if there are no records returned?
How can I show a messagebox stating that no records where filtered because the
condition was not met?
Like this:
ApplyFilter with condition
If condition is met, show the form, and stop macro
If condition is NOT met, show message, close the form, stop macro
Any help will be greatly appreciated.