
(*
 Delphi Object and Component Reference
#A K{bmc bm9.BMP} Assign, AssignValues example
TParams *SavedParams;
...
// Initialize SavedParams 
SavedParams = new TParams;
try
{
  // Save the parameters for SQLDataSet1
  SavedParams->Assign(SQLDataSet1->Params);
  // Do something with SQLDataSet1
  ...
  // Restore the parameters to SQLDataSet1
  SQLDataSet1->Params->AssignValues(SavedParams);
}
__finally
{
  delete SavedParams
} 
