The information in this article applies to:
SUMMARYTo use the ASK field conditioned upon the value of another field, include the IF statement inside the ASK field instead of including the ASK statement in the IF field. MORE INFORMATIONExample 1: Entry of "None" for No SpouseThe following example asks if you are married. If you respond with "Yes," it then asks for your spouse's name. If you respond with "No", it will then ask you to type "none." (The \*Firstcap switch is included so the response can be "yes" or "Yes".)
In this example, the second ASK field has an IF statement that determines
if the bookmark "Married" is equal to "Yes." If it is, the IF field has the
value "SpouseName." If not, the field has no value. The ASK field is not
updated if it does not have a valid bookmark name as the first element;
therefore, it does not ask the question.
Example 2: No entry for No SpouseThe following example asks if you are married. If you respond with "Yes," it then asks for your spouse's name. If you respond with "No," it will enter No for the reference to the bookmark of "Married" and no question will be asked about the spouse. No entry will be made to the bookmark called "SpouseName."
Additional query words: fill in conditional fillin
Keywords : kbdta wordnt winword ntword macword word6 word7 word95 |
Last Reviewed: January 4, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |