7.4

Table Of Contents
l To insert a global variable Choose Variables | Global Variables. Then choose the global variable you want to
insert from the menu that appears.
PlanetPress Design inserts the variable in the Text area, displays its value on the current data page and highlights it in
blue.
To quickly insert a data selection as a local variable:
1. Choose Variables | SelectData.
2. Use the Data Selector to select the data for the variable.
3. Close the Data Selector.
PlanetPress Design inserts the variable, highlights it in blue, and displays its value on the current data page. Plan-
etPress Design also adds the variable name to the menu that appears when you right-click and choose Data Selec-
tions Available.
You can use the Data page box in the toolbars to navigate through the data pages and view the value of the variable on
other data pages.
To create a new local variable using the Variables dialog box:
1. Choose Variables | EditDataSelection.
2. Click Add Variable.
3. Click the variable name to select the variable. Then click the variable name a second time to select the name. Edit the
name, then click outside the variable name.
4. Click the variable in the Variables list to select it.
5. Use either of the following to define the value of the local variable. The value of the variable on the current data page
appears in the Variables list, beside its name and type.
Define a Data Selection value
Clear Custom data selection and define the new value by creating a data selection using either the line and column
boxes or the Data Selector.
If you use the Data Selector to select the data for the variable, and you select data that extends over more than a single
line, PlanetPress Design uses only the data on the first line (or record) as the data selection for the variable. Note that in
a database emulation, the Data Selector does not permit selections that extend over more than a single field.
Trim leading spaces: Select to remove any ASCII space characters that appear before the data in the data selection
for the variable.
Trim trailing spaces: Select to remove any ASCII space characters that appear after the data in the data selection
for the variable.
Define a Constant value OR a PlanetPress Talk Expression
Select Custom data selection and enter a constant value or a PlanetPress Talk expression in the String to dis-
play box.
6. Click OK.
To display the name of a variable in the Text area:
l Pause the pointer over the variable.
To edit the definition of a local variable:
1. Choose Variables | EditDataSelection.
2. In the Variables list, select the variable you want to edit.
3. Right-click the variable name and choose Rename. Edit the name, then click outside the variable name.
4. In the Variable value area, edit the value of the local variable.
5. Click OK.
To delete a reference to a variable:
PlanetPress Design Objects
©2010 Objectif Lune Inc - 139 -