Validation rule, validation text and input masks

19,193 views
18,640 views

Published on

Published in: Education, Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
19,193
On SlideShare
0
From Embeds
0
Number of Embeds
22
Actions
Shares
0
Downloads
63
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Validation rule, validation text and input masks

  1. 1. Topic : Validation rule, Validation text and Input masks<br /><ul><li>Validation rule is a field property that sets limits or conditions on the data that can be entered in the field.</li></ul>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 /><ul><li>-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. 2. An input mask is a field property that determines display format and limits the type of data that can be entered.
  3. 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. 4. 1024255206375Phone ____/_____/____..0Phone ____/_____/____..

×