Partager via


CDaoTableDef::GetValidationText

Call this function to retrieve the string to display when a user enters data that does not match the validation rule.

CString GetValidationText( );

Return Value

A CString object that specifies the text displayed if the user enters data that does not match the validation rule.

Remarks

For a CDaoTableDef object, this CString is read-only for an attached table and read/write for a base table.

For related information, see the topic "ValidationText Property" in DAO Help.

Requirements

Header: afxdao.h

See Also

Concepts

CDaoTableDef Class

CDaoTableDef Members

Hierarchy Chart

CDaoTableDef::SetValidationRule

CDaoTableDef::SetValidationText

CDaoTableDef::GetValidationRule