I am using the CRBatchMove from UNIDAC to move data from a TQuery to a TVirtualTable.
I would like to use the bmAppendUpdate mode so that I wouldn't have two same rows in the virtualTable. Here is my code :
Code: Select all
CRBatchMove1.Mode:=bmAppendUpdate;
CRBatchMove1.Source:=MyTQuery;
CRBatchMove1.Destination:=MyTVirtualTable;
CRBatchMove1.Execute;
For Example, I could have :
Code: Select all
NO_ID | Description
--------------------------------
1 | Desc1
--------------------------------
2 | Desc2
--------------------------------
2 | Desc2
--------------------------------
2 | Desc2
Code: Select all
NO_ID | Description
--------------------------------
1 | Desc1
--------------------------------
2 | Desc2
Thank you very much