KEMBAR78
Validation rule, validation text and input masks | DOCX
Topic : Validation rule, Validation text and Input masks<br />Validation rule is a field property that sets limits or conditions on the data that can be entered in the field.109855850900How to create validation rule?first way : open the table  in design view.  Click in the field row and then type the expression in the validation rule box in the field  properties pane.orSecond way: Open the form in Design view. Right click the control, click properties. On the data tab, type the expression in the validation rule property box.0How to create validation rule?first way : open the table  in design view.  Click in the field row and then type the expression in the validation rule box in the field  properties pane.orSecond way: Open the form in Design view. Right click the control, click properties. On the data tab, type the expression in the validation rule property box.For example : you could require credit card expiration date entries to be later than the current date. ( so you know that the credit account is valid the day you take the order )<br />FIELD DATA TYPEEXPRESSIONDATA LIMITATIONNumber, currency<>0No zero values allowedNumber, Currency0 or  >50Must be either zero or more than 50.Date/time>#1/1/02#Must  be later than January 1, 2002Date / timeBetween 12/31/01 and 1/1/03Must be in the year  2002Date / time>Now()Must be later than the current date and timeTextLike``p???”Must be four characters, beginning with P.<br />-147320719455How to create validation textfirst way : open the table  in design view. Click  in the field row and then type the text in the validation text box in the field properties  pane.orSecond way : Open the form in Design view. Right click the control and click perperties . On the  data tab, type the text in the validation text preperty box.0How to create validation textfirst way : open the table  in design view. Click  in the field row and then type the text in the validation text box in the field properties  pane.orSecond way : Open the form in Design view. Right click the control and click perperties . On the  data tab, type the text in the validation text preperty box.Validation text is a custom message that’s displayed if invalid data is entered in a field or control where a validation rule exists.
An input mask is a field property that determines display format and limits the type of data that can be entered.

Validation rule, validation text and input masks

  • 1.
    Topic : Validationrule, Validation text and Input masks<br />Validation rule is a field property that sets limits or conditions on the data that can be entered in the field.109855850900How to create validation rule?first way : open the table in design view. Click in the field row and then type the expression in the validation rule box in the field properties pane.orSecond way: Open the form in Design view. Right click the control, click properties. On the data tab, type the expression in the validation rule property box.0How to create validation rule?first way : open the table in design view. Click in the field row and then type the expression in the validation rule box in the field properties pane.orSecond way: Open the form in Design view. Right click the control, click properties. On the data tab, type the expression in the validation rule property box.For example : you could require credit card expiration date entries to be later than the current date. ( so you know that the credit account is valid the day you take the order )<br />FIELD DATA TYPEEXPRESSIONDATA LIMITATIONNumber, currency<>0No zero values allowedNumber, Currency0 or >50Must be either zero or more than 50.Date/time>#1/1/02#Must be later than January 1, 2002Date / timeBetween 12/31/01 and 1/1/03Must be in the year 2002Date / time>Now()Must be later than the current date and timeTextLike``p???”Must be four characters, beginning with P.<br />-147320719455How to create validation textfirst way : open the table in design view. Click in the field row and then type the text in the validation text box in the field properties pane.orSecond way : Open the form in Design view. Right click the control and click perperties . On the data tab, type the text in the validation text preperty box.0How to create validation textfirst way : open the table in design view. Click in the field row and then type the text in the validation text box in the field properties pane.orSecond way : Open the form in Design view. Right click the control and click perperties . On the data tab, type the text in the validation text preperty box.Validation text is a custom message that’s displayed if invalid data is entered in a field or control where a validation rule exists.
  • 2.
    An input maskis a field property that determines display format and limits the type of data that can be entered.
  • 3.
    Common input mask: for a phone number field. A user enters the numbers (no punctuation), and the resulting entry is automatically punctuated and displayed properly.
  • 4.