Prompt if save modified data when close form?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a data entry form with bindingsource and tableadapter (Access MDB).
How to detect if there is any unsaved modification when closing the form?

thanks
 
Hi,
Also if there is unsaved data then you can prevent the form from closing by
writing e.Cancel = true in the form closing event.

Thanks and Regards,
Manish Bafna.
MCP and MCTS.
 
Back
Top