Global Variables

Global variable is a type of variable that can be shared among multiple Loftware documents. Once defined, it is stored in a file outside the current label.

The global variable's last value is stored after each confirmation and with each printing action. The stored values are useful if continued numbering from preceding print jobs is required. Global variable values are stored in a separate file on a disk or on a Loftware Control Center.

Tip

By default, your global variable storage location is set to C:\ProgramData\Loftware \Global Variables\. The file name is Globals.tdb.

You can create global variables in Desktop Designer or in Loftware Control Center. After you design a label or solution that uses global variables, you must define which global variables are you going to use. Desktop Designer can either work with global variables that are stored locally in the Globals.tdb file, or with global variables that you created ad stored in the Control Center.

To select the right source of your global variables, go to File > Options > Global Variables.

For details on how to create and configure global variables in Control Center, see

To use the global variables from your Control Center, make sure Desktop Designer and Control Center are connected.

When creating a copy of the label file that uses global variables and using it on another computer, make sure the global variable source is accessible (in a .tdb file or in your Loftware Control Center).

Note

If you skip this step, the labeling application won't find the corresponding global variable. A warning message will appear.

Tip

All label or solution global variables are managed in Dynamic Data Explorer.