CDaoRecordset::IsFieldNullable
**BOOL IsFieldNullable( void***pv );
throw( CDaoException, CMemoryException );
Return Value
Nonzero if the specified field data member can be made Null; otherwise 0.
Parameters
pv
A pointer to the field data member whose status you want to check, or NULL to determine if any of the fields are Null.
Remarks
Call this member function to to determine whether the specified field data member is “nullable” (can be set to a Null value; C++ NULL is not the same as Null, which, in database terminology, means “having no value”).
A field that cannot be Null must have a value. If you attempt to set such a field to Null when adding or updating a record, the data source rejects the addition or update, and Update will throw an exception. The exception occurs when you call Update, not when you call SetFieldNull.
CDaoRecordset Overview | Class Members | Hierarchy Chart
See Also CDaoRecordset::IsFieldDirty, CDaoRecordset::IsFieldNull