7. September 2006 10:54
IF gRecVerg.FIND('-') THEN BEGIN
REPEAT
IF gRecVerg.GET(
Code,
gRecVerg.Type,
gRecVerg.ID)
THEN BEGIN
// IF gRecVerg.NEXT >= 1
// THEN BEGIN
lTxtTableFilter := lTxtTableFilter + FORMAT(gRecVerg.ID) + '|';
// END
// ELSE
// lTxtTableFilter := lTxtTableFilter + FORMAT(gRecVerg.ID);
END
ELSE
MESSAGE('Kein Unterschied gefunden,Filter Export wird abgebrochen.');
UNTIL gRecVerg.NEXT = 0;
END;
7. September 2006 12:05
lTxtTableFilter := '';
lIntGetLines := 0;
lIntGetLines2 := 0;
gRecVerg.SETFILTER(gRecVerg.fBlnDiffersInAnyAttribute,'Ja');
IF gRecVerg.FIND('-') THEN BEGIN
REPEAT
lIntGetLines := lIntGetLines + 1;
UNTIL gRecVerg.NEXT = 0;
END;
IF gRecVerg.FIND('-') THEN BEGIN
REPEAT
lIntGetLines2 := lIntGetLines2 + 1;
IF gRecVerg.GET(
Code,
gRecVerg.Type,
gRecVerg.ID)
THEN BEGIN
IF lIntGetLines2 < lIntGetLines
THEN BEGIN
lTxtTableFilter := lTxtTableFilter + FORMAT(gRecVerg.ID) + '|';
END
ELSE
lTxtTableFilter := lTxtTableFilter + FORMAT(gRecVerg.ID);
END
ELSE
MESSAGE('Kein Unterschied gefunden,Filter Export wird abgebrochen.');
UNTIL gRecVerg.NEXT = 0;
END;
7. September 2006 12:23
IF gRecVerg.FIND('-') THEN BEGIN
REPEAT
IF gRecVerg.GET(
Code,gRecVerg.Type,gRecVerg.ID)
THEN
lTxtTableFilter += FORMAT(gRecVerg.ID) + '|';
ELSE
MESSAGE('Kein Unterschied gefunden,Filter Export wird abgebrochen.');
UNTIL gRecVerg.NEXT = 0;
lTxtTableFilter := DELCHR(lTxtTableFilter,'>','|');
END;
IF gRecVerg.FIND('-') THEN BEGIN
IsFirstRun := TRUE;
REPEAT
IF gRecVerg.GET(
Code,gRecVerg.Type,gRecVerg.ID)
THEN
IF IsFirstRun THEN BEGIN
lTxtTableFilter := FORMAT(gRecVerg.ID);
IsFirstRun := FALSE;
END ELSE
lTxtTableFilter += '|' + FORMAT(gRecVerg.ID);
ELSE
MESSAGE('Kein Unterschied gefunden,Filter Export wird abgebrochen.');
UNTIL gRecVerg.NEXT = 0;
END;
7. September 2006 13:00
16. September 2006 14:16
IF gRecVerg.FIND('-') THEN BEGIN
lTxtTableFilter := '0':
REPEAT
IF gRecVerg.GET(
Code,
gRecVerg.Type,
gRecVerg.ID)
THEN BEGIN
lTxtTableFilter := lTxtTableFilter + '|' + FORMAT(gRecVerg.ID);
END
ELSE
MESSAGE('Kein Unterschied gefunden,Filter Export wird abgebrochen.');
UNTIL gRecVerg.NEXT = 0;
END;