In this example, the production label must show the price of the product as a function of its weight and the
price per kilogram.
1. Open a label. Two variables have to be created: WEIGHT and PRICEPERKG.
2. For the WEIGHT variable, enter 788 (the weight of the product is 788 g) as the Local value, enter ''Please
enter the weight in g'' in the Prefix field, then click OK.
3. For the PRICEPERKG variable, enter 15.70 (the price/kg is FF15.70) as the Local value of the variable, enter
''Please enter the price per kg'' in the Prefix field, then click OK.
4. Add a formula and name it Price.
5. Enter the formula WEIGHT*PRICEPERKG/1000, then click OK.
6. Save your label.
Exercise: Adding the "Warning" formula variable to display a warning message
In the following exercise, we will create a formula to display a warning message telling the user that the value
of the Total_Weight shared variable exceeds 1,000 kg.
If the weight value exceeds 1,000 kg, the message ''Attention! Error! Total Weight exceeds maximum!'' will
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: Total Weight
exceeds maximum!'', '''')
4. On the Output tab, enter 50 in the Maximum length field 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. On the Paragraph tab, select the Wordwrap option, then select Centered in the Alignment field.
Information on the IF function
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.
31
Sehen Sie sich hier kostenlos das Handbuch für Teklynx Labelview 9.1 Basic an. Dieses Handbuch fällt unter die Kategorie Foto / Video-Software und wurde von 1 Personen mit einem Durchschnitt von 7.1 bewertet. Dieses Handbuch ist in den folgenden Sprachen verfügbar: Englisch. Haben Sie eine Frage zum Teklynx Labelview 9.1 Basic oder benötigen Sie Hilfe? Stellen Sie hier Ihre Frage
Haben Sie eine Frage zum Teklynx und die Antwort steht nicht im Handbuch? Stellen Sie hier Ihre Frage. Geben Sie eine klare und umfassende Beschreibung des Problems und Ihrer Frage an. Je besser Ihr Problem und Ihre Frage beschrieben sind, desto einfacher ist es für andere Teklynx -Besitzer, Ihnen eine gute Antwort zu geben.
Finden Sie die Antwort auf Ihre Frage nicht im Handbuch? Vielleicht finden Sie die Antwort auf Ihre Frage in den FAQs zu Teklynx Labelview 9.1 Basic unten.
Ist das Handbuch der Teklynx Labelview 9.1 Basic unter Deutsch verfügbar?
Leider haben wir kein Handbuch für Teklynx Labelview 9.1 Basic in Deutsch verfügbar. Dieses Handbuch ist erhältlich in Englisch.
Brauchen Sie Hilfe?
Haben Sie eine Frage zum Teklynx und die Antwort steht nicht im Handbuch? Stellen Sie hier Ihre Frage. Geben Sie eine klare und umfassende Beschreibung des Problems und Ihrer Frage an. Je besser Ihr Problem und Ihre Frage beschrieben sind, desto einfacher ist es für andere Teklynx -Besitzer, Ihnen eine gute Antwort zu geben.
Anzahl der Fragen: 0