RecordRef1.OPEN(50000); RecordRef1.FINDFIRST; RecordRef2.OPEN(50001); RecordRef2.INIT; IF RecordRef1.FIND('-') THEN REPEAT field1 := RecordRef1.FIELD(2); // works only with 1 field2 := RecordRef2.FIELD(2); // works only with 1 field2.VALUE := field1.VALUE; RecordRef2.INSERT; UNTIL RecordRef1.NEXT = 0;I get the Error (translated by me to english) "'table2' exists already. Identified Fields and Values: Name="
Comments
.....................
NAV 2009 R2
NAV 2013 R2
Or do you mean i have to do it like that: And what if let's say i already copied Field 1 (Name) and wanna later copy only the Field 2 (Description)? Do i have to change the Primary Key, or is there an other way?
NAV 2009 R2
NAV 2013 R2