>Hi all,
>
>I have a form, the first textbox have a valid event with code, it fires at the first time i run the form, but when i save the form and then type something in the text box the valid event don't fire. The code is,
>
[Valid]
>CLASS CODE - RETURN THIS.VALIDATION()
>FORM CODE - RETURN DODEFAULT()
The Valid event is supposed to fire only if you make changes, and then leave the TextBox.
For this reason, and some others, I find it safer and better to do all validation for a record only when saving the record.
Hilmar.
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)