Поделиться через


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( );

Возвращаемое значение

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

Заметки

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.

Требования

Header: afxdao.h

См. также

Основные понятия

CDaoTableDef Class

CDaoTableDef Members

Hierarchy Chart

CDaoTableDef::SetValidationRule

CDaoTableDef::SetValidationText

CDaoTableDef::GetValidationRule