Closing a form in Report event

  • Thread starter Thread starter Junior
  • Start date Start date
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
 
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"
 
Back
Top