Romper
Registered User.
- Local time
- Today, 18:35
- Joined
- Oct 28, 2012
- Messages
- 83
Hi all,
I was wondering if it is possible to create a "Confirm changes" dialog for a form. If I open a form at the moment and edit a field, that change is automatically saved to the table. The problem with this is if a change was made accidentally, it would be saved when you moved to the next record and you'd never know. I've looked at the Event tab for the property sheet for the form and noticed that you could possibly add an Event Procedure for "On Close" but would this work for just moving to the next record?
What would be the appropriate Event to select and what would the code be for that Event?

I was wondering if it is possible to create a "Confirm changes" dialog for a form. If I open a form at the moment and edit a field, that change is automatically saved to the table. The problem with this is if a change was made accidentally, it would be saved when you moved to the next record and you'd never know. I've looked at the Event tab for the property sheet for the form and noticed that you could possibly add an Event Procedure for "On Close" but would this work for just moving to the next record?
What would be the appropriate Event to select and what would the code be for that Event?