var SavedParams: TParams;
{ Initialize SavedParams }
SavedParams := TParams.Create;
try
  { Save the parameters for SQLDataSet1 }
  SavedParams.Assign(SQLDataSet1.Params);
  { Do something with SQLDataSet1 }
  ...
  { Restore the parameters to SQLDataSet1 }
  SQLDataSet1.Params.AssignValues(SavedParams);
finally
  SavedParams.Free;
end; 

