Row - BeginEdit and EndEdit -> Why?

  • Thread starter Thread starter Vayse
  • Start date Start date
V

Vayse

Hi
Why would I use the BeginEdit and EndEdit on a row? The row still updates
without them.
Is it to just make it easier to roll back via CancelEdit?
Thanks
Vayse
 
Vayse,

The EndEdit pushes the rows in the other datasources if you have no
rowchange.

Cor
 
You would use BeginEdit/EndEdit if you where changing multiple values that if
changed individually cause constraint violations or underdesired intermediate
changes in the DataViews.
 
Hi Vayse,

BeginEdit/EndEdit is used during data binding. When you're trying to edit a
field and then pushed the changes to the data source of the binding, these
methods are used. They have nothing to do with the update to the database.

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Kevin Yu said:
Hi Vayse,

BeginEdit/EndEdit is used during data binding. When you're trying to edit
a
field and then pushed the changes to the data source of the binding, these
methods are used. They have nothing to do with the update to the database.

Kevin Yu
Microsoft Online Community Support
Thanks, I understand now.
 
You're welcome.

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top