26. Oktober 2018 11:24
Rec.FINDSET;
REPEAT
HasWrongCharG := FALSE;
IF StringHasWrongChar(Rec.Name) THEN
HasWrongCharG := TRUE;
IF StringHasWrongChar(Rec."Name 2") THEN
HasWrongCharG := TRUE;
IF HasWrongCharG = TRUE THEN
Rec.MARK;
UNTIL Rec.NEXT = 0;
Rec.MARKEDONLY;
26. Oktober 2018 11:38
Rec.MARKEDONLY(TRUE);
26. Oktober 2018 11:52
Natalie hat geschrieben:Versuch es mal am Ende mit Parameter
- Code:
Rec.MARKEDONLY(TRUE);
Rec.FINDSET;
REPEAT
HasWrongCharG := FALSE;
IF StringHasWrongChar(Rec.Name) THEN
HasWrongCharG := TRUE;
IF StringHasWrongChar(Rec."Name 2") THEN
HasWrongCharG := TRUE;
IF StringHasWrongChar(Rec."Search Description") THEN
HasWrongCharG := TRUE;
IF StringHasWrongChar(Rec.Address) THEN
HasWrongCharG := TRUE;
IF StringHasWrongChar(Rec."Address 2") THEN
HasWrongCharG := TRUE;
IF StringHasWrongChar(Rec.City) THEN
HasWrongCharG := TRUE;
IF StringHasWrongChar(Rec."E-Mail") THEN
HasWrongCharG := TRUE;
IF HasWrongCharG = TRUE THEN
Rec.MARK;
UNTIL Rec.NEXT = 0;
Rec.MARKEDONLY(TRUE);
MESSAGE(FORMAT(Rec.COUNT));
26. Oktober 2018 12:03
IF HasWrongCharG = TRUE THEN
Rec.MARK;
Rec.MARK(true);
26. Oktober 2018 12:06