|
Avoid barcode reads directly to the display screen fields. Barcodes
generally have to be decoded, descrambled, etc. Its been a while but I
think I used a non-visible screen field on the display that is defined
like the barcode, and scanned the barcode in to that. Then process that
field, sub-stringing out the positions you want and ignoring the unknown
& unwanted. I used a data structure with overlays and reassembed the
useful segments in the order and layout needed.
Is there reason to worry about translating pipes when all you are going
to do with them is ignore them?
On 4/16/2019 7:38 AM, Michael Schutte wrote:
We have the same issue. I discovered that the display files did not likethem
the group separators (GS). I had programmed the RF guns to translate
to pipes "|". For us, the group separators were destroying the display,to
tying the user up where they couldn't do anything anymore. Sorry about
being vague, I'm sure what to call it. That was with a GS-1 barcode.
Now we are venturing into the 2D barcode and I suspect that we will have
do the same thing with translating the GS codes into pipe symbols thatthe
display file can handle.a
We are using StayLinked on our RF devices if that makes any difference to
you.
On Mon, Apr 15, 2019 at 11:30 AM <SReeves@xxxxxxxxxxxxxxxxxx> wrote:
I'm trying to determine how to scan a 2D barcode to a field on a display
file. Currently when I scan to the field, it seems the field separators
within the 2D barcode are causing the screen to continue as if pressing
tokey. So I only end up with with first field within the barcode and not
the entire contents. Is there a keyword or some compile option needed
--prevent this?
Thanks
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.