if access query has no records, output "no records found"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Just as it says: if access query has no records, output "no records found"
 
right now I have a macro that runs a query, saves it in excel format and is
emailed as an attachment. If there are no records, I would like "no records
found" to be placed in the first cell in an excell spreadsheet and emailed as
an attachment.
 
I think you need to create a table with a single field and record with the
value "no records found". Then test your query for records prior to running
the macro and either send the query or a query of the No records found
table.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top