CdbTableDef::SetValidationRule, GetValidationRule Property

Sets or returns a value that validates the data in a field as it's changed or added to a table (Microsoft Jet workspaces only).

Syntax

VOIDSetValidationRule(LPCTSTR pstr);

CStringGetValidationRule(VOID);

Set Parameters

Type Example Description
LPCTSTR pstr A pointer to a string that contains a comparison in the form of an SQL WHERE clause without the WHERE reserved word.