RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBStoredProc.CopyParams Method

Copies a stored procedure's parameters into another parameter list.

Pascal
procedure CopyParams(Value: TParams);
C++
__fastcall CopyParams(TParams Value);

Call CopyParams to copy this stored procedure's parameters into a separate parameter list object. Value is the parameter list into which to assign this stored procedure's parameters. Value can be the parameter list of another stored procedure. For example:

   TIBStoredProc1.CopyParams(TIBStoredProc2.Params);
       TIBStoredProc1->CopyParams(TIBStoredProc2->Params);

If the stored procedure is not prepared when an application calls CopyParams, CopyParams calls Prepare before assigning the parameters to the target parameters list, and then calls UnPrepare to return the stored procedure to its previous state. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!