Closing a form in Report event

J

Junior

I 'm opening a form hidden on click event on another form that opens a
report.
this code opens the hidden form
DoCmd.OpenForm "flkpSignature", acNormal, "", "", , acHidden

The hidden form contains parameters that are used by the report.
I want to close the hidden form on the close event of the report.
what code do i use to close the hidden form on the report close event?

thanks
 
B

Bruce M. Thompson

I 'm opening a form hidden on click event on another form that opens a
report.
this code opens the hidden form
DoCmd.OpenForm "flkpSignature", acNormal, "", "", , acHidden

The hidden form contains parameters that are used by the report.
I want to close the hidden form on the close event of the report.
what code do i use to close the hidden form on the report close event?

DoCmd.Close acForm, "flkpSignature"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top