Using a yes/no question to display or hide an item or assembly line
Before you begin
If you have not already added a yes/no question to the database model, do so now.
For more information, see Adding a numeric question to a model.
-
Add the selected item or assembly to the model on a line that falls below the yes/no question you are going to use. For more information, see:
- Right-click the line header and then select Apply line display logic.
- In the formula bar where your cursor appears, right-click and select List Questions.
- From the Question List, select the yes/no question you want to use and click [OK]. The name of the selected question appears in green in the field.
-
Enter the following in the formula bar after the inserted question: = YES,YES,NO
Example: IF(Q7=YES,YES,NO). This formula states the following: If the checkbox on line 7 is selected, then yes use this item or assembly; otherwise no, do not use this item or assembly.
- Click [OK] to save your model.