Data.DB.TParams.RemoveParam

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RemoveParam(Value: TParam);

C++

void __fastcall RemoveParam(TParam* Value);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB TParams

Description

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

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.

See Also