CDaoQueryDef::GetFieldCount

调用该成员函数检索字段数在查询中。

short GetFieldCount( );

返回值

在查询定义中的字段数。

备注

GetFieldCount for循环很有用通过所有字段在querydef。 为实现此目的,请使用 GetFieldInfo一起使用 GetFieldCount

要求

Header: afxdao.h

请参见

参考

CDaoQueryDef选件类

层次结构图