TableDef.ValidationText Property (DAO)

Sets or returns a value that specifies the text of the message that your application displays if the value of a Field object doesn't satisfy the validation rule specified by the ValidationRule property setting (Microsoft Access workspaces only). Read/write String.

expression .ValidationText

expression A variable that represents a TableDef object.

For a TableDef object, this property setting is read-only for a linked table and read/write for a base table.