Hi Everyone,
I have created a report that when selected prompts the user for a range of dates (which are entered in a Form). Everything seems to be okay except when a user closes the form or exits from the form before entering any dates.
When a user closes the form a generic entry box containing the criteria I entered in the query for the dates appears. I have also tried to add some code in the Form_close() function to close the form and the report called so that this entry box does not appear, but I get the following message:
"This action can't be carried out while processing a form or report event".
Thank you in advance.
I have created a report that when selected prompts the user for a range of dates (which are entered in a Form). Everything seems to be okay except when a user closes the form or exits from the form before entering any dates.
When a user closes the form a generic entry box containing the criteria I entered in the query for the dates appears. I have also tried to add some code in the Form_close() function to close the form and the report called so that this entry box does not appear, but I get the following message:
"This action can't be carried out while processing a form or report event".
Thank you in advance.