Continueing from my previous thread. I created a Macro to stop the print if it has no records The Macro only has one argument cancelEvent in the Properties "On No Data" field of the report. It partially works however I get an error message "The expression you entered has a function name that Microsoft Access can't find" - Any clues as to what is causing this. If I run the report on it's own it works fine however if I run the report as part of a Macro it fails with the above error. Any views?