DataViewRowState returning bogus value ??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In an attempt to update an Access database, I have DataViewRowState returning
a value of 28 which is not in the properies list of values.

Here is a code snippet:
Dim cmdUpdate As System.Data.OleDb.OleDbCommand =
CreateUpdateCommand()

Dim row As System.Data.DataRow
Dim intRowsAffected As Integer
Dim dvrs As System.Data.DataViewRowState
dvrs = System.Data.DataViewRowState.ModifiedCurrent Or
System.Data.DataViewRowState.Deleted Or System.Data.DataViewRowState.Added
msgbox(dvrs)
For Each row In tbl.Select ("", "", dvrs)
msgbox("in the for loop")

I never make it inside the For loop...
 
Back
Top