× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm not ignoring them. I using them as a group separator and coded around
the pipes to pull the segments needed. I didn't know that turning the
field into a "non-visible" field would fix the issue. If I did, I would
have tried that. What I did know was that the GS were destroying the
display.

On Tue, Apr 16, 2019 at 1:52 PM Booth Martin <booth@xxxxxxxxxxxx> wrote:

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 like
the group separators (GS). I had programmed the RF guns to translate
them
to pipes "|". For us, the group separators were destroying the display,
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
to
do the same thing with translating the GS codes into pipe symbols that
the
display file can handle.

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
a
key. 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
to
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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.