8-14
5. Prevent duplicate entry of data
To prevent the duplication of data entered at a particular statement, use
DUP
in the DATA ID field. During Data Collection, if data is entered at a
statement prompt that had been entered previously for the same
statement prompt, the user will see the message:
DUPLICATE ACCESS
PRESS ENTER_
Press ENTER to discard the data and repeat the statement prompt. To
accept the data and write it to the data file, press the
F1
key. The
program will then advance to the next statement prompt.
Data Type
The DATA TYPE field determines what kind of data -
alphabetic, numeric or both - is accepted for a particular
statement. There are five options for the DATA TYPE field:
D D
igits Only; digits are 0-9
N
N
umeric Only; numeric data is 0-9, SPACE + - / $ , .
A A
lphabetic Only; alphabetic data is A-Z a-z SPACE - , .
ENTER
Allow input of
all characters
S
Start the data entry
S
hifted for
all
characters
If the data is alphabetic (A), data entry is started with the cursor shifted to
allow for entry from the TriCoder keypad.
The DATA TYPE field is intended to work in a manner similar to the
DATA ID field - it is meant to minimize operator data entry errors. For
example, if the statement prompt text is QUANTITY, and you want only
digits entered at this statement, use D in the DATA TYPE field.
Maximum Data Length
The next field in the TriCoder programming is the MAX
DATA LEN
field. This field determines the maximum
number of characters allowed for a statement.
The TriCoder reserves memory for a data field based on
the
Maximum Data Length
. If you specify a maximum
data length longer than you know you’ll need, you will be able to collect
less data due to the extra memory. For example, specifying 10 characters
instead of 12 would allow for almost 100 more pieces of 10- character data.
Maximum Data Length
can be between 01 and 99 and should include Data
Identifiers if your data uses them.
Program
Prompt
7
Program
Prompt
8
Содержание TriCoder t53
Страница 1: ...TriCoder Users Manual...
Страница 13: ......
Страница 19: ......
Страница 47: ......
Страница 122: ......
Страница 140: ......
Страница 171: ......
Страница 191: ......
Страница 199: ......
Страница 207: ......
Страница 211: ......
Страница 217: ......
Страница 221: ......
Страница 223: ......
Страница 225: ......
Страница 227: ......