1. Februar 2013 11:06
ContLink.RESET;
ContLink.SETFILTER("leading NAV-KTNR", 'exc*');
IF ContLink.FINDSET THEN BEGIN
Window.OPEN(Text000);
Counter := 0;
TotalCounter := ContLink.COUNT;
REPEAT
IF (ContLink.Processed = FALSE) THEN BEGIN
IF LOWERCASE(ContLink."No.") = LOWERCASE(ContLink."leading NAV-KTNR") THEN BEGIN
ContNew.INIT;
ContNew.Name:=format(Counter);
ContNew.INSERT(TRUE);
COMMIT;
ContLink.Processed := TRUE;
ContLink.MODIFY;
COMMIT;
END;
Counter += 1;
Window.UPDATE(1,ROUND(Counter / TotalCounter * 10000,1));
END;
UNTIL ContLink.NEXT= 0;
Window.CLOSE;
END;
1. Februar 2013 11:14
1. Februar 2013 16:50
1. Februar 2013 16:59