I have created a database win form app. using vb.net to hold basic customer info.
The user is presented with the form to fill and a save button to save the completed form.
I have also created video style buttons allowing the user to navigate through the database.
What I want to do is prompt the user to save the an unsaved database entry if they try to navigate away from it before saving.
I thought setting a save database flag in my code when a textbox textchanged event is triggered by an entry being made. The problem with this approach is that when the user is navigating through the database as the text changes to the next entry is triggers the event and thus prompting the user to save.
Is there a better way to do this?