3guk Posted January 24, 2014 Posted January 24, 2014 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Â
Wim Decorte Posted January 24, 2014 Posted January 24, 2014 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. 1
bruceR Posted January 24, 2014 Posted January 24, 2014 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]
bruceR Posted January 24, 2014 Posted January 24, 2014 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?
bruceR Posted January 24, 2014 Posted January 24, 2014 Example attached. Shows two different methods; one using a global field, one using a standard field. BarcodeTest.fmp12.zip
Newbies tdaumit Posted February 17, 2014 Newbies Posted February 17, 2014 Were you able to code to work? If so would you mind sharing? I'm having he same problem.
Recommended Posts
This topic is 3931 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now