Explorar el Código

* Remove lookup as well as calc fields from JSON

michael hace 5 años
padre
commit
a2e29dec6c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/fcl-db/jsondataset.pas

+ 1 - 1
packages/fcl-db/jsondataset.pas

@@ -1447,7 +1447,7 @@ Var
 
 begin
   For I:=0 to Fields.Count-1 do
-    if Fields[i].FieldKind in [fkCalculated,fkInternalCalc] then
+    if Fields[i].FieldKind in [fkCalculated,fkInternalCalc,fkLookup] then
       FieldMapper.RemoveField(FIelds[i].FieldName,FIelds[i].Index,Buf);
 
 end;