Is there a Dirty event

  • Thread starter Thread starter Graeme Richardson
  • Start date Start date
G

Graeme Richardson

Hi, is there an event for a DataSet, DataAdapter or DataTable that can be
trapped whe a user starts to edit a record in a form?
The method I'm currently employing traps the TextBox.TextChanged event,
which doesn't feel right.

Thanks, Graeme.
 
Graeme,

Look at the RowChanging, RowChanged, ColumnChanging and ColumnChanged events
of DataTable

Stephen
 
Hi Stephen, thanks for the suggestion. I experimented with these events a
few days ago and found that they fired when the user existed a changed
field. I would an event that fires with the first key press.

Cheers, Graeme.
 
Graeme,
Thats correct, you must leave the control for these events to fire (although
you can force the events by calling the CurrencyManager.EndEdit method)
What is it that you need to check?
Stephen
 
Back
Top