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

Show: