RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TADOCommand.Parameters Property

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

Pascal
property Parameters: TParameters;
C++
__property TParameters Parameters;

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.
 

Prepared 

Handling Command Parameters

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