Data.Win.ADODB.TADOCommand.Parameters

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Parameters: TParameters read FParameters write SetParameters;

C++

__property TParameters* Parameters = {read=FParameters, write=SetParameters};

Properties

Type Visibility Source Unit Parent
property published
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TADOCommand

Description

Contains the parameters for an ADO command object's SQL statement.

Access Parameters at runtime to view and set parameter names, values, and data types dynamically (at design time use the Collection editor for the Parameters property to set parameter information). Parameters is a zero-based array of TParameter parameter records. Index specifies the array element to access.

Note: Parameters is only applicable when the ADO command object issues an SQL statement or executes a stored procedure (the CommandType is cmdText or cmdStoredProc) and parameters are actually used in the SQL statement or stored procedure.

See Also