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 > > 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 > ideally where a scan can be “detected” by the 4D form even though no text > field may be present. (e.g. as one of a number of possible form actions or as > an alternative to a manual lookup of the product). > > Is anybody implementing such an approach ? What capture methods do you use ? > (The scanner is connected to the USB port, not the RS232 serial port). > > Best Regards > > Peter Later, Guy -- Guy Algot, Solutions Specialist Edmonton, Alberta (780) 974-8538 hardware, installation, training, support, programming, internet specializing in 4th Dimension =-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "Microsoft is a cross between the Borg and the Ferengi. Unfortunately, they use Borg to do their marketing and Ferengi to do their programming." -- Simon Slavin ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************