CdbField::SetValidationText, GetValidationText Property

Sets or returns a value that specifies the text of a message. Your application displays this message if the value of a CdbField object doesn't satisfy the validation rule specified by the ValidationRule property setting (Microsoft Jet workspaces only).

Syntax

VOIDSetValidationText(LPCTSTR pstr);

CStringGetValidationText(VOID);

Set Parameters

Type Example Description
LPCTSTR pstr A pointer to a string that contains the text message.