Depending on whether the user wants to view results of a custom query in a report or form, I am opening the report or form with a filter string with the Docmd.OpenForm function.
How do I detect whether the form or report will contain any records after the filter is applied?
I want to msgbox the user if no records will be returned.