Поделиться через


CDaoQueryDef::GetParameterCount

Call this member function to retrieve the number of parameters in the saved query.

short GetParameterCount( );

Возвращаемое значение

The number of parameters defined in the query.

Заметки

GetParameterCount is useful for looping through all parameters in the querydef. For that purpose, use GetParameterCount in conjunction with GetParameterInfo.

For related information, see the topics "Parameter Object", "Parameters Collection", and "PARAMETERS Declaration (SQL)" in DAO Help.

Требования

Header: afxdao.h

См. также

Основные понятия

CDaoQueryDef Class

CDaoQueryDef Members

Hierarchy Chart

CDaoQueryDef::GetParamValue

CDaoQueryDef::SetParamValue