* Use FN correctly

This commit is contained in:
michael 2019-07-07 18:40:35 +00:00
parent 7f010191f5
commit b07f70c6b2

View File

@ -250,7 +250,8 @@ begin
O:=TJSObject(A[0]); O:=TJSObject(A[0]);
For I:=0 to Fields.Count-1 do For I:=0 to Fields.Count-1 do
begin begin
if O.hasOwnProperty(Fields[i].FieldName) then FN:=Fields[i].FieldName;
if O.hasOwnProperty(FN) then
FieldMapper.SetJSONDataForField(Fields[i],Rows[RecordIndex],O[FN]); FieldMapper.SetJSONDataForField(Fields[i],Rows[RecordIndex],O[FN]);
end; end;
end; end;