>>
>>If anyone is interested, I can post the function and table structure here.
>I am inrested.
See my reply to Nadya - message #
1423625, which includes the validation function and the table structure.
> Also what kind of rules do you have there? anythng more involved then simple functions like [ not empty(xxx) ]
Any valid Visual FoxPro expression -
not empty(FieldName) was just an example. The validation function EVALUATE()s any rule you write in the rule field. For more complicated stuff, I sometimes wrote a separate function, which I invoked from the validation table. But perhaps 90% of all validations can be done with simple expressions. In the latest incarnation, variables can be defined for later use. This allows simpler expressions, and avoiding doing the same lookup multiple times for several validation rules.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)