I have a query which exports data as a .txt file. Is there a way of stopping the export if no data is returned from the query, something similar to the report On NoData event ???