CDaoRecordset::GetValidationText

CString GetValidationText( );
throw( CDaoException, CMemoryException );

Return Value

A CString object containing the text of the message that is displayed if the value of a field does not satisfy the validation rule of the underlying field object.

Remarks

Call this member function to retrieve the text of the ValidationText property of the underlying field object.

For more information about  creating recordsets, see the article DAO Recordset: Creating Recordsets in Visual C++ Programmer's Guide. For related information, see the topic "ValidationText Property" in DAO Help.

CDaoRecordset OverviewClass MembersHierarchy Chart

See Also   CDaoRecordset::GetValidationRule