
User Guide
34
appear.
1. Open the label.
2. Create a formula and name it ''Warning''.
3. In the Formula dialog box, enter the following expression:
if(Total_Weight>1000, ''Attention\n!Error!\n Total Weight exceeds maximum!'', '''').
4. In the Output tab, enter 50 in Maximum length and click OK.
5. Position the variable as text within the label.
6. In the Text dialog box, select Scalable as the font and set its Height to 12.70 mm.
7. In the Paragraph tab, check the Wordwrap option then check Centered in Alignment.
Information on the IF function
Returns one value if the condition you specify is TRUE, and another value if it is FALSE.
Use the IF function to carry out conditional tests on values and formulas.
Syntax
if("expr","val_if_true","val_if_false”) ”expr" represents any value or expression, the result of which can be TRUE
or FALSE.
val_if_true is the value returned if "expr" is TRUE. The val_if_true argument can be another formula.
val_if_false is the value returned if "expr" is FALSE. The val_if_false argument can be another formula.
The Form data source
Command: Data source > Form > Add
The Form data source contains a list of variables you have created. These data sources are populated by
entering data directly into the Form
using the keyboard.
To display the form
The Form lets you enter data during design or, most commonly, before printing.
To display the form:
1. Open a label containing a Form variable.
2. Click the
button in the toolbar.
By default, the workspace lets you view the label and its form separately.
To display the label and form together:
Kommentare zu diesen Handbüchern