RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParams.RemoveParam Method

Removes the specified parameter from the Items property of a TParams object.

Pascal
procedure RemoveParam(Value: TParam);
C++
__fastcall RemoveParam(TParam Value);

Use RemoveParam to remove a field parameter from the Items list. RemoveParam takes Value out of the list but does not free it.

Note: Parameters for datasets that represent queries are only created and removed by specifying parameters in the SQL statement. The TParam objects in such a dataset's Params property are deleted automatically when the corresponding parameter tokens are removed from the SQL statement.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!