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"
 
Top