Hi,
I am in the process of re-doing someone else's reporting system which is a bit of a shambles.
The basic reports all ask for the same information when opened, this is query boxes asking for : Start Date, End Date, Section.
This all works grand if there is actually relevant data in *ALL* of the records matching the specified criteria, if not the report just displays a list of #Errors for the output, eg. Start date = 01/04/04 - End date = 01/05/04 - section - Admin, this would return all #Errors on the report because there is no data for the Date period specified.
My question is : Is it possible to trap the #Errors and display a message to the user that not all of the criteria for the report can be fulfilled?
I hope there is a way to do this because I am ripping my hair out.
TIA
FBICFC
I am in the process of re-doing someone else's reporting system which is a bit of a shambles.
The basic reports all ask for the same information when opened, this is query boxes asking for : Start Date, End Date, Section.
This all works grand if there is actually relevant data in *ALL* of the records matching the specified criteria, if not the report just displays a list of #Errors for the output, eg. Start date = 01/04/04 - End date = 01/05/04 - section - Admin, this would return all #Errors on the report because there is no data for the Date period specified.
My question is : Is it possible to trap the #Errors and display a message to the user that not all of the criteria for the report can be fulfilled?
I hope there is a way to do this because I am ripping my hair out.
TIA
FBICFC