Re: Capturing barcodes without a 'text' field

2019-10-16 Thread Guy Algot via 4D_Tech
Peter, you could also put a hidden button on your form. The scanner could be programmed to trigger the button which would then grab the data being scanned and allow your code to process it. > On Oct 15, 2019, at 4:22 PM, Peter Jakobsson via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Hi > >

Re: Capturing barcodes without a 'text' field

2019-10-16 Thread Peter Jakobsson via 4D_Tech
Hi Dougie This is in fact what we do at the moment. (In fact it’s so simple I just use the 4D “Request” function to capture the barcode). The only thing that would make a marked improvement while not complicating things too much would be for the capture to auto-enter itself after the scan

Re: Capturing barcodes without a 'text' field

2019-10-16 Thread Douglas Cryer via 4D_Tech
Peter, As Pat said a barcode scanner is nothing more than an input device so it operates like a keyboard. So an enterable text area is the easiest way to manage the input. We do an awful lot of barcode processing in our EPOS app as well as in our main ordering system. It is about managing

Re: Capturing barcodes without a 'text' field

2019-10-16 Thread Peter Jakobsson via 4D_Tech
Thanks Jeff. Very useful information. I also checked out your even more detailed responses on last year’s thread about this which were very informative. Regards Peter > On 16 Oct 2019, at 00:54, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > If you want to use a USB barcode

Re: Capturing barcodes without a 'text' field

2019-10-15 Thread Tim Nevels via 4D_Tech
On Oct 15, 2019, at 6:25 PM, Peter Jakobsson wrote: > Was wondering what technique people used for capturing scans into 4D. At the > moment I’m using a simple text field and the scanner simply ‘pastes’ the code > into the text field, but something a bit more sophisticated is called for >

Re: Capturing barcodes without a 'text' field

2019-10-15 Thread Jeffrey Kain via 4D_Tech
If you want to use a USB barcode scanner and still have complete control, you can use ON EVENT CALL to manage this. You'll need to program a prefix character and a suffix character into the barcode scanner, and have your ON EVENT CALL method watch for these characters to determine what to do.

Re: Capturing barcodes without a 'text' field

2019-10-15 Thread Pat Bensky via 4D_Tech
On Tue, 15 Oct 2019 at 23:22, Peter Jakobsson via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi > > Was wondering what technique people used for capturing scans into 4D. At > the moment I’m using a simple text field and the scanner simply ‘pastes’ > the code into the text field, but something a bit