January 24, 201411 yr Hey Guys,  Struggling a little bit with FM Go 13 - integrated barcode scanner, my understanding is that you use the "insert from device" function to grab the barcode and insert it into a field.  How would I go about, scanning the barcode and saving it as a variable in my script, so that I can then run a find to see if the barcode already exists in the database ? I only seem to be able to insert it into a field.  I've attached an image of the script that doesn't work which should give you an idea of what I'm trying to achieve.  Thanks  JamesÂ
January 24, 201411 yr You're doing it right: scan into a field, then set a variable with the content of the field. You can only scan into a field. The rest of your script is not correct at first glance. The Perform Find has nothing specified.
January 24, 201411 yr The script starts in find mode. Which is ok. But it needs to have step at the start or at least before perform find: Set Error capture [on]
January 24, 201411 yr Also note that you have to be on a layout where the barcode field is on the layout. What triggers the script in the first place?
January 24, 201411 yr Example attached. Shows two different methods; one using a global field, one using a standard field. BarcodeTest.fmp12.zip
February 17, 201411 yr Newbies Were you able to code to work? If so would you mind sharing? I'm having he same problem.
Create an account or sign in to comment