Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 1517 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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!

  • Newbies
Posted

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

Posted (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 by comment
  • Newbies
Posted

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.

Posted
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 )

?

 

  • Newbies
Posted

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"

Posted
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.

 

  • Newbies
Posted

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

Posted

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. 

This topic is 1517 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.