81
Chapter 3 Lookup
3.8.2 TRUNCATE / REFORMAT THE RECORD
When “Truncate/Reformat the Record” is selected, if a lookup file of wrong format is
sent in, the application template first displays a message on the mobile computer to
notify the mismatching part fixed, automatically truncated, or reformatted during
downloading.
For example, the additional fields of a record will be left out. However, you may need to
reload the lookup file after the data format has been corrected.
The following table lists the actions taken by the application template when the incoming
lookup file’s format is wrong:
(Note: An application template is marked as “.AGX”.)
Fixed Length
Conditions Action
Record length in source file is greater than that specified in .AGX Truncate
Record length in source file is less than that specified in .AGX Reformat
Note
Note: Each field of that specific record will be padded with additional space.
Delimiter
Conditions Action
The number of fields in the source lookup file is more than that specified
in .AGX
Truncate
The number of fields in the source lookup file is less than that specified
in .AGX
Reformat
Note1
The field length in the source lookup file is more than that specified
in .AGX
Truncate
The field length in the source lookup file is less than that specified
in .AGX
Allow download
Note2
Note: (1) Additional fields will be appended with additional delimiter and space.
(2) The data field concerned will be padded with additional blank space.