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.

Find based on field value in a different table

Featured Replies

  • Newbies

Table1::Field1 is a global field. It contains a value I'd like to use in a find with Table2::Field2.

I've tried the following as the Criterion in ScriptMaker:

Table1::Field1

==Table1::Field1

"Table1::Field1"

GetField("Table1::Field1")

==GetField("Table1::Field1")

None of these work. A literal does work. What am I missing?

Thanks.

Edited by Guest

In your layout for Table2

Enter Find Mode []

Set Field [Table2::Field2; Table1::Field1]

Perform Find []

Globals fields values are global across the records in the table. You can perform a normal scripted find and just set the field to the related value that you want.

Also, with a cartesian 'X' join, you can have all the records in Table1 related to all the records in Table2.

Edited by Guest

  • Author
  • Newbies

Thanks. That worked well and I added a few more Set Field calls.

Will be checking out that white paper.

I've worked in MS Sql for a long time and find FileMaker terms confusing. It's getting easier.

Lol,

And i find MS SQL terms confusing, but i'm slowly getting there :)

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.