Row Changing Event

G

Greg

I am validating data in the datasets row_changing event. If there are errors
I throw an exception which will cause the system to prompt the user with the
"do yo want to correct this value" error message.

If the user is working on a deached row and then closes the form the form
seems to close first before the row_change event occurs. So if the user then
answeres yes they want to correct they get an object reference error.

What is the best way to get around this issue?
 

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

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,158
Latest member
Vinay_Kumar Nevatia
Top