Hello,
Is there a way to check if any data in my DW changed?
Not specific column or a row.
Check the entire DW.
Something like :
dwItemStatus l_status
l_status = dw_1.GetItemStatus(0 - row , 0 - column , Primary!)
if l_status = New! or l_status = NewModified! or l_status = DataModified! Then
///// change in data...
end if
but there is no option to use 0 - in row valiable...
Regargs,
Marina
Will it work if Original and Current buffers are compared with IF?
Does modified count do equality check internally between the buffers?
dwcontrol.Object.Data {.buffer } {.datasource } [ startrownum, startcolnum, endrownum, endcolnum ]
EQUAL
dwcontrol.Object.Data {.buffer } {.datasource } [ startrownum, startcolnum, endrownum, endcolnum ]
If one could peek "under the covers" into the DataWindow engine, I would not be surprised to find that it keeps a running total of modified rows so that it does not have to examine each row's status. Comparison of the Original and Primary data buffers, even if doable or feasible, might incur significant overhead to construct and populate the buffer "objects", but that is but conjecture on my part.