How to get rows affected Count of RefreshQuick command
Posted: Sat 26 Sep 2015 22:18
hi
I have a Query ( TUniQuery ) and I should refresh it repeatedly and after refresh I should copy its data on a Memory-table
I use RefreshQuick(True) method of UniQuery but I want to know the new data have any changed rows or not , if there is changed rows , I do copying otherwise no copy !
Is it possible ? and how ?
I set the StrictUpdate to True and try to get RowAffected value after RefreshQuick method , but sometimes I know that there is no changes in table but RowAffected return 1 ( or 0 ) and many times ! I know there is some changes on table but , RowAffected returns 0 !
How it works ?
thanks ...
I have a Query ( TUniQuery ) and I should refresh it repeatedly and after refresh I should copy its data on a Memory-table
I use RefreshQuick(True) method of UniQuery but I want to know the new data have any changed rows or not , if there is changed rows , I do copying otherwise no copy !
Is it possible ? and how ?
I set the StrictUpdate to True and try to get RowAffected value after RefreshQuick method , but sometimes I know that there is no changes in table but RowAffected return 1 ( or 0 ) and many times ! I know there is some changes on table but , RowAffected returns 0 !
How it works ?
thanks ...