Update Question

  • Thread starter Thread starter Christopher Weaver
  • Start date Start date
C

Christopher Weaver

How do I ensure that the current row's changes will be included in the DA's
Update call? If I move off the row it is included, but if I make a change
then call Update, the changes are lost.
 
Hi,

How do you make a change? Most likely dataset did not get your changes when
you call Update. This is the only reason. Update works pretty well in this
situation
 
I have several controls on a form. When the user makes a change through any
of them then clicks the button that calls the DA's Update method, the
changes are not posted. But, if the user makes a change, then moves off the
record before click the Update button, the changes are posted to the
database.
 
Hi,

This is because actual row not added to the datatable until you move from
the controls. When you call update after this, then there is nothing to
update in a DataTable

--
Val Mazur
Microsoft MVP

http://xport.mvps.org
 
Back
Top