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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top