Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Perform find doesn't find any records in fmGo

Featured Replies

  • Newbies

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!

8 hours ago, igboamerican said:

Script debugger returns error 3!

You can run script debugger in FM Go??

  • Author
  • Newbies

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

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

  • Author
  • Newbies

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.

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 )

?

 

  • Author
  • Newbies

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"

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.

 

  • Author
  • Newbies

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

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. 

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.