Browse Source

* Bug #19418

git-svn-id: trunk@17678 -
joost 14 years ago
parent
commit
f5d7fb3d45
1 changed files with 3 additions and 6 deletions
  1. 3 6
      packages/fcl-db/src/base/dsparams.inc

+ 3 - 6
packages/fcl-db/src/base/dsparams.inc

@@ -103,12 +103,9 @@ Function TParams.CreateParam(FldType: TFieldType; const ParamName: string;
 
 
 begin
 begin
   Result:=Add as TParam;
   Result:=Add as TParam;
-  With Result do
-    begin
-    Name:=ParamName;
-    DataType:=FldType;
-    ParamType:=ParamType;
-    end;
+  Result.Name:=ParamName;
+  Result.DataType:=FldType;
+  Result.ParamType:=ParamType;
 end;
 end;
 
 
 Function TParams.FindParam(const Value: string): TParam;
 Function TParams.FindParam(const Value: string): TParam;