Validation Rules

  • Thread starter Thread starter Pierre de Beer
  • Start date Start date
P

Pierre de Beer

Hi



I set the "Validation Rules" and "Validation Text" on a form and it works
fine if data is entered into the field. If the Tab or Enter key is pressed
on the empty field, the validation rules are ignored. These fields are
mandatory and I can use the lost focus to write code but using Validation
Rules should be faster and more efficient.



Please Help



Pierre
 
Pierre said:
Hi



I set the "Validation Rules" and "Validation Text" on a form and it
works fine if data is entered into the field. If the Tab or Enter key
is pressed on the empty field, the validation rules are ignored.
These fields are mandatory and I can use the lost focus to write code
but using Validation Rules should be faster and more efficient.

Yep. Validation rules only validate data that is actually entered. They do not
force entry. For that you should set the field to Required = Yes in the Table.
Then they will not be able to save the record unless they make an entry.
 
Back
Top