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

Go to Record by field Value not working

Featured Replies

OK, maybe I'm just tired, but the following script steps ...

Show Custom Dialog ["Go to record","Enter a record #","gNumA"]

If [gNumA > 0 and gNumA <=Status(CurrentFoundCount)]

Go to Record/Request/Page["gNumA"]

End If

(gNumA is a global number field)

... don't work. I don't get brought to the record specified. It's as if it's not registering the change to the field's value. I checked, and Go to Record by field value works fine by itself. The IF statement passes (I stuck a pause just after it and sure enough, it paused). IS there something I'm missing about the Show custom Dialog script step? Shouldn't Show Custom Dialog change the value in gNumA into whatever the user enters, then Go to Record... go to the record specified? The documentation says it works similarly to Set, which does register changes within the same script.

Thanks,

Jeff

ps- Please don't ask why I don't just use the built in Go to Script by Number step. The above is a super simplification of what I'm trying to do (custom messages and the like). But, I entered the code exactly as above and it still didn't work.

I tried your set up and things work (see attachment)

Make sure field gNumA is a global field, number type

Try.fp5.zip

  • Author

Found the problem. Maybe it's a bug in FileMaker. The only difference between our scripts was that I did not use a Label (it was an empty string). I changed it to "Record #" and it worked. It seems some strange value is returned when no label is used (I also tried it with " " and it worked). Thanks for your help!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.