Newbies igboamerican 0 Posted September 23, 2020 Newbies Share Posted September 23, 2020 Set Error Capture [ On ] Enter Find Mode [ ] [ Pause ] Go to Field [ Primary::ID ] Insert from Device [ Primary::ID; Type: Bar Code; Camera: Back; Resolution: Full; Types: QR Code ] Perform Find [ ] This script works on the desktop (if I manually insert a client ID), but finds no record when run on fmGo on iPad (even though it successfully scans the QR code) Script debugger returns error 3! Link to post Share on other sites
comment 1,817 Posted September 23, 2020 Share Posted September 23, 2020 8 hours ago, igboamerican said: Script debugger returns error 3! You can run script debugger in FM Go?? Link to post Share on other sites
Newbies igboamerican 0 Posted September 24, 2020 Author Newbies Share Posted September 24, 2020 Not to my knowledge! I ran script debugger on Filemaker Pro on the desktop, which is where I created the solution with the problematic script Link to post Share on other sites
comment 1,817 Posted September 24, 2020 Share Posted September 24, 2020 (edited) Well, of course you will get error 3 on a desktop, because Insert from Device[] can run only in FileMaker Go. So this test tells you nothing about the actual cause of the problem. Which could be either: the code is not successfully scanned into the field; or there are no records that match the scanned code. To determine which is it, I suggest you start by scanning the code into a global field, then compare it with the value stored in a record which you believe should have been found. Edited September 24, 2020 by comment Link to post Share on other sites
Newbies igboamerican 0 Posted September 24, 2020 Author Newbies Share Posted September 24, 2020 Thanks for the suggestion. I tried that, and confirmed that the code (Client ID) is being scanned correctly. Also, I used "QR Code", a utility I downloaded from the App store, and it scans and returns the client ID. Link to post Share on other sites
comment 1,817 Posted September 24, 2020 Share Posted September 24, 2020 9 hours ago, comment said: start by scanning the code into a global field, then compare it with the value stored in a record which you believe should have been found. So have you looked at the result of: Exact ( gScan ; ID ) ? Link to post Share on other sites
Newbies igboamerican 0 Posted September 25, 2020 Author Newbies Share Posted September 25, 2020 I really do appreciate you taking the time to help me with this issue. Ok, so I did set the global text field to my client ID field, and performed the search (on the iPad), and I get the following message: "The provided find request is not valid. Enter a valid request before proceeding" Link to post Share on other sites
comment 1,817 Posted September 25, 2020 Share Posted September 25, 2020 5 hours ago, igboamerican said: I did set the global text field to my client ID field, and performed the search ?? That is not what I suggested, not even close. Link to post Share on other sites
Newbies igboamerican 0 Posted September 25, 2020 Author Newbies Share Posted September 25, 2020 My bad! "...start by scanning the code into a global field" I've done that! "...then compare it with the value stored in a record which you believe should have been found." I've done that, and yes, I find the record Link to post Share on other sites
bcooney 144 Posted September 26, 2020 Share Posted September 26, 2020 So, it’s all working? I believe comment was leading you to discover that the result of the scan may contain extra or not enough characters. The exact function will reveal that. Link to post Share on other sites
Recommended Posts
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