CdbTableDef::SetValidationText, GetValidationText Property

Sets or returns a value that specifies the text of the message that your application displays if the value of a CdbField object associated with the CdbTableDef 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 validation text.