FileMaker
FM0-307 · Question #150
The text field productCode has a script trigger set to activate OnObjectKeystroke and runs the following script: If [Length (File::productCode) > 7] Exit Script [Result: 0] Else Set Field…
The correct answer is E. 12-1415-6. See the full explanation below for the reasoning.
Question
The text field productCode has a script trigger set to activate OnObjectKeystroke and runs the following script:
If [Length (File::productCode) > 7] Exit Script [Result: 0] Else Set Field [File::productCode; File::productCode & "-"] End If The field productCode has the value of 12-1415. A user types a 6 in the field at the end of the value. What is the resulting value in the field after the script trigger has processed?
Options
- A12-1415
- B12-1415-
- C12-14156
- D12-14156-
- E12-1415-6
How the community answered
(51 responses)- A4% (2)
- B2% (1)
- C2% (1)
- D8% (4)
- E84% (43)
Community Discussion
No community discussion yet for this question.