Hi all,
I am using Access 2007. I am using a query by form to specify a parameter for a report (the year). The form has two controls, a combo listing the years and a button to call the report. I really want the form to close automatically once the user presses the button and calls the report, but the research I’ve done indicates that the form must stay open to “feed” the parameter to the report.
Is there any coding, ANY way to have the form close automatically and still have the report work properly? Otherwise I see myself putting a “Close Form” button on the form and I find that messy.
Thank you!
I am using Access 2007. I am using a query by form to specify a parameter for a report (the year). The form has two controls, a combo listing the years and a button to call the report. I really want the form to close automatically once the user presses the button and calls the report, but the research I’ve done indicates that the form must stay open to “feed” the parameter to the report.
Is there any coding, ANY way to have the form close automatically and still have the report work properly? Otherwise I see myself putting a “Close Form” button on the form and I find that messy.
Thank you!