inline ULONG CRBase::GetStatus(ULONG nCol);

Return Value

        A data source status data.

Parameter

        [in] nCol:

                A column ordinal.

Remark

        Gets a status data for a column by calling CRBase::GetStatusPtr. Typically, it is one of DBSTATUS_S_OK, DBSTATUS_S_ISNULL, DBSTATUS_S_TRUNCATED and DBSTATUS_S_IGNORE. If either the column nCol is discarded or its DBPART is not set with DBPART_STATUS by calling CRBase::SetDBPart, a DBSTATUS_S_OK value is always returned; otherwise the returned value is set from a provider.

        A user can also call CRBase::GetLenStatus by creating a temporary accessor to get the status for the column nCol.

CRBase Class Overview & Class Members