CDaoQueryDef::GetFieldCount
Call this member function to retrieve the number of fields in the query.
short GetFieldCount( );
Возвращаемое значение
The number of fields defined in the query.
Заметки
GetFieldCount is useful for looping through all fields in the querydef. For that purpose, use GetFieldCount in conjunction with GetFieldInfo.
Требования
Header: afxdao.h