Filemaker Pro 9 (116) Flashcards

1
Q

This set entered on 8-3-14
8.2.14.5

  1. When calcs start to get complicated like the DISCOUNT PRICE example, you need to:
A

imagine that you have a field that contains THE VALUE YOU ALREADY WANT. You can use this PRETEND field in your calc, and then, when you are all finished, put the old calc in place of the pretend field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. In this case, just pretend you have a field called:
A

CALCULATED DISCOUNT, that holds the DISCOUNT PRICE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. With that IMAGINARY FIELD, you can fix the problem with this calc:
A

Min ( Calculated Discount ; Price)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. The result of this calc is:
A

either the CALCULATED DISCOUNT or the REGULAR PRICE (if it is lower).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. Now, just put the OLD CALC in place of the words:
A

CALCULATED DISCOUNT (since the old calc results in the CALCULATED DISCOUNT).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. The finished calc is, including comments, is:
A

/* returns the calculated discounted price or the original price, whichever is lower*/

Min ( Max (Price * .95 ; Cost * 1.2 ) ; Price )

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