Hi,
I am using VS2005. I have a form that I use both to insert new records and
modify existing records. I want that if the user tries to close the form,
the application asks the user to save changes only if the record has
actually changed.
The problem is that if I use EndEdit, an existing record that has been
modified becomes "Modified" (that's ok), but a new record after EndEdit
becomes "Added", whether it has been modified by the user or not. And if
some fields are not correct, it isn't possible to do an EndEdit, so I think
that this must be done somewhere before the EndEdit.
Is there a way to do this ?
Thanks,
Tom.