Changeset 544 for cprs/branches/GUI-config/MainU.pas
- Timestamp:
- Aug 13, 2009, 6:27:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/GUI-config/MainU.pas
r542 r544 1476 1476 for row := 1 to Grid.RowCount-1 do begin 1477 1477 Entry := GetLineInfo(Grid,CurrentUserData, row); 1478 //Reject any value containing a "^" 1478 //Reject any value containing a "^" , ":" , ";" 1479 1479 //Do we need an @ here as well? 1480 if (AnsiPos('^',Entry.newvalue) > 0){ or (AnsiPos('@',Entry.newvalue) > 0)} then begin 1480 if (AnsiPos('^',Entry.newvalue) > 0) or (AnsiPos(':',Entry.newvalue) > 0) or 1481 (AnsiPos(';',Entry.newvalue) > 0)then begin 1481 1482 messagedlg('Invalid value entered for ' + Entry.Fieldname + #13 + #10 1482 1483 + #13 + #10 + 'Invalid Entry: ' + Entry.newvalue + #13 + #10 +
Note:
See TracChangeset
for help on using the changeset viewer.