Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ModifiedCurrent vs. CurrentRows

Status
Not open for further replies.

jjonesal

Programmer
May 10, 2001
277
US
I was under the impression that a RowStateFilter of ModifiedCurrent made visible a modified version of original data. But then we also have CurrentRows.

Can someone point me to an explanation of the exact differences in these two RowStates? J. Jones
jjonesal@cableone.net
 
My understanding is that ModifiedCurrent are the rows of data that have been changed. The CurrentRows are all the rows in the dataset (with the changed data if it was modified and the original data if it hasn't been modified).

So, if you change two rows of data, then ModifiedCurrent will only contain two rows and CurrentRows will contain all of the rows.

Maybe where you're getting confused is that this is a bitwise property, not a specific value property. So, it can be more than value as the same time

Unchanged = 0x02 (2)
Added = 0x04 (4)
ModifiedCurrent = 0x10 (16)
CurrentRows = 0x16 (22)

CurrentRows is the combination of Unchanged, Added and ModifiedCurrent all OR'd together.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top