Browse Source

* Fixed SetInsertSQL/SetDeleteSQL

git-svn-id: trunk@16295 -
michael 14 years ago
parent
commit
054d2b71a2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-db/src/sqldb/sqldb.pp

+ 2 - 2
packages/fcl-db/src/sqldb/sqldb.pp

@@ -1606,12 +1606,12 @@ end;
 
 
 procedure TCustomSQLQuery.SetDeleteSQL(const AValue: TStringlist);
 procedure TCustomSQLQuery.SetDeleteSQL(const AValue: TStringlist);
 begin
 begin
-  FDeleteQry.Assign(AValue);
+  FDeleteSQL.Assign(AValue);
 end;
 end;
 
 
 procedure TCustomSQLQuery.SetInsertSQL(const AValue: TStringlist);
 procedure TCustomSQLQuery.SetInsertSQL(const AValue: TStringlist);
 begin
 begin
-  FInsertQry.Assign(AValue);
+  FInsertSQL.Assign(AValue);
 end;
 end;
 
 
 Procedure TCustomSQLQuery.SetDataSource(AVAlue : TDatasource);
 Procedure TCustomSQLQuery.SetDataSource(AVAlue : TDatasource);