OnAfterSetupObjectNoList(TempAllObjWithCaption);
RecRef.GETTABLE(Rec); xRecRef.GETTABLE(xRec); //xRecRef here is just a simple RecRef variable FieldRef := RecRef.FIELD(YOUR_FIELD_NO); xFieldRef := xRecRef.FIELD(YOUR_FIELD_NO); IF FieldRef.VALUE <> xFieldRef.VALUE THEN...
TempBlob.Blob.CREATEOUTSTREAM(outstr); TempBlob.Blob.CREATEINSTREAM(instr);Now you can use other automation to actually populate the out and instreams. Read the outstream from a big text, and use the outstream as the source for your XMLPort.