>How could I obtain the field or record-validation rule and the corresponding validation text from a
>table in visual Foxpro?
>
>This is what I mean: When I set, say, a record-validation rule for a table, and my program tries to
>create a new record (for example by using append blank or insert from...), the validation rule is
>executed and an error may occur.
>
>How could I Check from the program, the validation rule (and of course the corresponding validation
>text) of a given table?
>
>Thanks for help.
Use dbgetprop(), something like:
? dbgetprop("table1.field1","field","RuleExpression")
Edward Pikman
Independent Consultant