I’d like a query to return text such as “No records found matching criteria.” or the like when there are no records that meet the entered criteria.
I’m using Access 2010 and can use VBA or SQL. I’d imagine the query (SQL) is where this would be most easily applied.
My first thought would be to do something like this::
If you are using a query built in the QBE you can do something similar and open the recordset using the stored querydef instead of a sql string.