18. Mai 2009 15:10
notebooksoftware.SETRANGE(notebooksoftware."Serial No.",xserie);
//notebooksoftware.SETRANGE(notebooksoftware.Software,'%1','');
IF notebooksoftware2.FIND('-') THEN REPEAT
test := notebooksoftware.Software;
notebooksoftware.SETRANGE(notebooksoftware."Serial No.",newserial);
IF NOT notebooksoftware.FIND('-') THEN BEGIN
notebooksoftware."Serial No." := newserial;
notebooksoftware.Software := test;
notebooksoftware.INSERT;
END ELSE
notebooksoftware.SETFILTER(notebooksoftware."Serial No.",'%1','');
IF NOT notebooksoftware.FIND('-') THEN BEGIN
notebooksoftware."Serial No." := newserial;
notebooksoftware.Software := test;
notebooksoftware.INSERT;
END;
UNTIL notebooksoftware2.NEXT = 0
19. Mai 2009 07:28