Udostępnij za pośrednictwem


CRecordset::GetODBCFieldCount

Retrieves the total number of fields in your recordset object.

short GetODBCFieldCount( ) const;

Return Value

The number of fields in the recordset.

Remarks

For more information about creating recordsets, see the article Recordset: Creating and Closing Recordsets (ODBC).

Requirements

Header: afxdb.h

See Also

Reference

CRecordset Class

Hierarchy Chart

CRecordset::GetFieldValue

Other Resources

CRecordset Members