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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save on X 1

Status
Not open for further replies.
Apr 12, 2004
98
US
Is there a way to update(save changes) the sql database when a user clicks on the X to close the app. I create an app that connects to a SQL database. I'm worried that users will go through the trouble of filling out the app then just hitting the X instead of closing gracefully.

All input/alternate suggestions are appreciated.
 
put some code in the closing event of the form for example adp.update(ds) or btnsave.performclick, if you have a savebutton on you form.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top