state of the table (still editing or not)

  • Thread starter Thread starter MarkusR
  • Start date Start date
M

MarkusR

Good day,

I have an untyped table. How do I detect if the user is still editing a
record in the table?

I want to prevent them from closing the application if they haven't
saved their changes.

I tried calling myDataTable.AcceptChanges. I get a message "Column
nickname does not allow nulls. Do you want to corrrect the value?" When

I say yes, nothing happens (besides the tab still changes or the form
closes). How do I catch this and prevent the user from changing pages
or closing the form?

-Markus
 
Back
Top