To create a line condition using the Data Selection properties dialog box:
If the properties dialog box for the data selection object for which you want to create a line condition is not already open, open it doing the following: In the Structure area or in the Page area, double-click the data selection object.
In the Data Selection properties dialog box, click Lines, and locate the Line Condition Properties area.
Select the type of line condition you want to create, and set the options associated with that type. If you select When advanced condition is true, and need help understanding how to enter the PlanetPress Talk expression, see Variable PlanetPressTalk Properties.
Line condition: Select the type of line condition you want to create. Select When text is present to create a line condition that tests for the presence of a text string. Select When text is absent to create a line condition that tests for the absence of a text string. When you select either of these, a Text to search for box and a Location box appear. Use the Text to search for box to enter the text string you want the condition to look for, and the Location box to define the line, or the line and column number, (or in the case of a database emulation, the record, or the record and field name) on which you want to perform the test Select When advanced condition is true to define your own line condition using a PlanetPress Talk expression. Use the Line displays if box that appears to enter the PlanetPress Talk expression.
When text is present / When text is absent
These boxes appear when you select either When text is present or When text is absent in the Line condition box.
Text to search for: Enter the string whose presence/absence on the line you want the condition to test.
Location: Select the line, or the line and column number, that you want to test for the presence/absence of the string you specified in the Text to search for box. In database emulation line refers to a record. The selections available are relative to the current line. Select On line, On previous line, or On next line to test for the presence/absence of the string on the current line, the preceding line, or the succeeding line respectively. In all emulations except database, select On line at column, On previous line at column, or On next line at column to test for the presence/absence of the string at a specific column on the current line, the preceding line, or the succeeding line respectively. In this case you use the From column spin box that appears to enter the column number. You cannot specify both a record (line) and a field (column) in database emulation.
From column: Enter the column number at which to test for the string. This box appears when you select On line at column, On previous line at column, or On next line at column in the Location box. Recall that these options are not available in database emulation.
When advanced condition is true
This box appears when you select When advanced condition is true in the Line condition box.
Line displays if: Enter the PlanetPress Talk expression that defines the line condition. Remember that a condition, and thus this expression, must always resolve to either True or False.
Define whether or not you want the document to display a blank line when the line condition resolves to False for a given line (or record).
Do not display a blank line when condition is false: Select to prevent a blank line from appearing when the line condition resolves to False. Clear to display a blank line when the line condition resolves to False.
This completes the line condition definition. If you have no other adjustments to make in the Data Selection properties dialog box, click OK to exit the dialog box.
To create a line condition using the Object Inspector:
Select the data selection object on which you want to set a line condition.
In the Object Inspector, locate the Line condition properties and adjust them to create the line condition you want to set on the object.
To remove a line condition using the Data Selection properties dialog box:
In the Structure area or in the Page area, double-click the data selection object.
In the Data Selection properties dialog box, click Lines.
In the Line condition box, select No line condition.
If you have no other adjustments to make in the Data Selection properties dialog box, click OK to exit the dialog box.
To remove a line condition using the Object Inspector:
Select the data selection object from which you want to remove a line condition.
In the Object Inspector, locate the Line condition property and select No line condition.