Filemaker Pro 9 (112) Flashcards

1
Q

This set entered on 8-3-14
8.2.14.1

VALIDATE DATA ENTRY WITH CALCULATION

  1. What if you want to make sure you enter a Zip Code with only 5 OR 10 characters?
A

You use the VALIDATE BY CALCULATION option. You could use the validation MAXIMUM NUMBER OF CHARACTERS, but then you could enter a zip with 7 digits….

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. To get a Zip Code with only FIVE OR TEN CHARACTERS, you need to:
A

create a calculation with a Boolean result, that returns a TRUE when the data is valid and a FALSE otherwise.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. How do you VALIDATE [the zip code] BY CALCULATION?
A

a. Click on the Zip Code field
b. In the VALIDATION TAB, turn on VALIDATE BY CALCULATION
c. Choose TEXT FUNCTIONS
d. Choose Length (Text )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. What does the LENGTH FUNCTION do?
A

It returns the LENGTH of a text value. You use it here to see how many characters are in the Zip Code field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. So you put the Zip Code Field inside the LENGTH FUNCTION, where it becomes:
A

the PARAMETER of the LENGTH FUNCTION.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. Now that you have a FUNCTION to tell you how long the zip code is, you need to:
A

use the COMPARISON OPERATOR to compare it to something. In this case, use the “=” operator and type a 5 after it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Now, if the Zip Code is 5 characters long, the LENGTH FUNCTION returns:
A

a TRUE. But you also WANT TO ACCEPT A ZIP CODE WITH 10 CHARACTERS. So in the Operator List, choose “or.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. What does the OR operator do?
A

It connects two Boolean values and returns TRUE if EITHER VALUE IS TRUE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. Insert another LENGTH FUNCTION after the OR operator and:
A

type a “=10”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. The complete calculation looks like:
A

Length ( Zip Code ) = 5 or Length ( Zip Code ) = 10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. Most validations occur as soon as you leave the field, even if you’re just moving to another field in the record. But some Validation Types don’t happen until:
A

you LEAVE the record. This includes most calculations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly