DAC for MySQL

TMySQLQuery.Properties.ParamCount

Previous Next

Indicates the current number of parameters for the query.

Syntax:

property ParamCount: Word;

Description:

Inspect ParamCount to determine how many parameters are in the Params property. If the ParamCheck property is True, ParamCount always corresponds to the number of actual parameters in the SQL statement for the query.

See also:Example: ParamCount,DataType,StrToIntDef,AsXXX