beautypg.com

Make a counter that preserves last-used value – QuickLabel Designer Pro User Manual

Page 131

background image

- 131 -

 1.  Click the arrow button in the button 

 on variable toolbar to start Variable Wizard

 2.  From drop-down menu select Counter as the   type of the variable, set the name of the 

counter and click Next

 3.  Type in Starting value and you are finished   with setting up this simple counter.

However, using Variable Wizard you are also capable of changing other   properties of the counter: 
prompt for value before printing, maximum number   of digits, step of incrementing/decrementing and 
much more.

The other method of creating counter is by creating a new variable directly   (not using the Wizard) 
and then setting its parameters appropriately:

 1.  Click on the button New variable 

 on variable toolbar or

 2.  Click command Variables in menu Data and   press New button.
 3.  Name the variable e.g. "Counter". Set   the length of the variable. Go to the Serialization   

tab of the dialog and set the parameters:

 

l

Incremental/decremental counter

 

l

Step - value of the variable will be increased   in steps

 

l

Change value after the number of labels

If you want to make counter filled in with leading zeroes, do the following:

 1.  Go to the Data Processing tab.
 2.  Set Position relative to the variable value to On left.
 3.  Type 0 for the Character.   

If you want the variable to have a default value, do the following:

 1.  Go to the Prompting   tab.
 2.  Enter the value into the Default value field.

Note:
 If you do not want to be prompted for variable value at print time, change   the option Prompt to Do 
not prompt   for value. The counter will always start counting from the default value.

Press on the OK button and link   the variable to text or bar code.

Make a Counter that Preserves Last-used Value

Counter which preserves last-used value is applicable in cases when   continuing of numbering from 
last label production is required (e.g. serial   number). The last value of the counter that was used on 
the label is stored   and the numbering is continued from this point at next use.

 1.  Create a new variable. Instructions for this step   can be found in how-to topic 

Create a

serial number, counter

.

 2.  Name the variable e.g. "Counter". Set   the length of the variable and Format to Numeric

Go to the "Increment"   page of the dialog and set the parameters: 

 

l

Incremental/decremental   counter

 

l

Step - value of the variable   will be increased in steps

 

l

Change value after the   number of labels

 3.  Go to Prompting    tab, select   the option Prompt and enter the Default value   you want to 

use as the starting value for the counter.

 4.  Then tick the option Remember last used value (dynamic value). This will enable the 

counter to   remember the last used value.