Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

closing form

Status
Not open for further replies.

nnmmss72

Programmer
Joined
May 14, 2006
Messages
110
Location
IR
how can i have control on a close button on active report or a form, i mean whenever user click the close button on the top of the active report or a form, a few things be done be users( printing a few files) and after that the form or active report be closed actually, unless the form or active report not to be closed. is it possible?
 

Put your code in the QueryUnload Event for the form. VBHelp has a fuller explanation.

I also notice that you haven't yet found that any of the answers to your questions have be valuable to you. If the answers aren't helpful, then read faq222-2244 to see how to ask clearer questions. If they are valuable, see faq222-2244 to see how to acknowledge them.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top