Simple question,
I’ve two record variables, Rec1 and Rec2… is there any difference between this two code lines?:
-
Rec1.COPY(Rec2);
-
Rec1 := Rec2;
Thanks [:D]
Simple question,
I’ve two record variables, Rec1 and Rec2… is there any difference between this two code lines?:
Rec1.COPY(Rec2);
Rec1 := Rec2;
Thanks [:D]
COPY copies also filters, marks and keys so that you can use Rec1 in your code as if it were Rec2.
The other method just populates Rec1 fields