Changeset 410 for trunk/Packages/Common/ItemList.pas
- Timestamp:
- Jan 8, 2025, 11:12:32 AM (39 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/ItemList.pas
r407 r410 515 515 ReadId := ReadInteger(Node, Field.SysName, 0); 516 516 ReferenceList := GetReferenceList(Field.Index); 517 if (ReadId > 0) and Assigned(ReferenceList) then 517 if (ReadId > 0) and Assigned(ReferenceList) then begin 518 518 RefItem := ReferenceList.FindById(ReadId); 519 519 if Assigned(RefItem) then 520 520 SetValueReference(Field.Index, RefItem) 521 521 else raise Exception.Create('Reference id ' + IntToStr(ReadId) + ' not found.'); 522 end; 522 523 end else 523 524 raise Exception.Create(Format(SUnsupportedDataType, [DataTypeStr[Field.DataType]]));
Note:
See TracChangeset
for help on using the changeset viewer.