SyncCompany.reset; SyncCompany.Setfilter(SyncCompany."Company Name", '<>%1', CompanyName); if SyncCompany.findset then begin Repeat IF FromItem.Get(ParItemNo) then begin MediaGuid := FromItem.Picture.MEDIAID; ToItem.ChangeCompany(SyncCompany."Company Name"); ToItem.Reset; if ToItem.get(ParItemNo) then begin ToItem.TRANSFERFIELDS(FromItem); ToItem.Selected := FALSE; ToItem.MODIFY(true); Commit(); end else begin ToItem.TRANSFERFIELDS(FromItem); ToItem.Selected := FALSE; ToItem.INSERT(TRUE); end; FromItem.Modify(true); end; until SyncCompany.next = 0;
Answers
which is Last Date Modified and Last DateTime Modified.
another method i used (for another table) is delete all, and then re-insert back all..
this method will show all records in change log entries company B.
for item table i cant use this method