automatically enter a quantity of 1 for each item.
To enter a quantity other than 1, simply enter the
quantity by using the keypad, making sure the length of the quantity data does not exceed the
maximum
data length
for the quantity field (4 digits). The very last quantity entered at the end of data collection must
be keyed in from the Terminal keypad, even if it is 1. Also, in order to either scan an item or enter a quantity
at this statement, you must change the “Input Type” statement to be blank instead of K or W.
If you are using the “
selective bar code trimming
” feature with the XTRA Statement, the trimming must be
specified in both the “DATA Statement” and the “XTRA Statement”. For example, if you wanted to
eliminate the leading character on all UPC codes, you would have to specify:
{c1
in both the upload prefix for the DATA Statement (Statement 1 on the example above) and the upload prefix
for the XTRA Statement (Statement 2 on the example above). If you do not specify the trimming in both
upload prefixes, the trimming will not happen correctly.
None
The
None statement
entry type is used as a “dummy” statement, recording no data and transmitting only the
Upload prefix
and
suffix
. It is typically used as a destination for a
branch statement
, allowing you to record
what action the operator took without recording any data. The program goes on without any input from the
operator.
To illustrate it’s use, lets say that a
branch statement
(statement #3) goes to statement #04
(None statement
)
if the operator enters the letter A.
Even though the operator enters the letter A at statement #3, the A will not be written to memory and
uploaded because
branch statements
record no data. What if your application requires the A as part of its
data? By making statement #04 a
None statement
and entering an A as the
upload prefix
or
suffix
, an A will
upload as the data for statement #04.
The None statement can also be used to add more than 15 characters to an upload prefix or upload suffix
when using refer-backs – many times 15 characters is not enough. See Upload Prefix in this chapter for
more information on refer-back (appending data to another field) programming.
Compare
The
Compare
statement will compare the data collected in that statement against data collected in a
previous statement and take you to a new statement dependent upon whether the data in the two compared
statements matched. The statement to compare to is referenced in the Data ID field. For example, you could
enter data in statement 1, then in statement 2, enter new data. then compare that data to the data in statement
1. If the data matches, you could move on to statement 3; if it doesn't match, you could have it take you
back to statement 1. An example of an application might be a pharmacy - where you would want to verify
that the correct drug is being dispensed into the correct customer vial. Coding for this statement might look
like this:
97