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.

Finding matching data from two tables

Featured Replies

  • Newbies

I've just started using FM again, this is probably a simple question!

I have two tables one is called "Sellers" the other "Buyers".

When I add a seller to the DB I would like to perform a search so that any matching Buyers will pop up.

There will be two fields, both need to match, the fields are:

Aircraft Manufacturer

Aircraft Model

Any advice will be greatly appreciated :thumbup:

It depends what you envision when you say "pop up."

With FileMaker 10, you can trigger a script that runs when you exit either field. The script should first check that both fields are not empty, and then bring up a new window and run a search.

Alternatively, you could define a relationship based on the two fields, and show matching buyers in a portal.

  • Author
  • Newbies

Using a relationship, I've tried but failed!

I've tried the following: Manage > Database > Relationships > I've then dragged Aircraft Manufacturer & Model over to the other fields in the Sellers table.

Thats as far as I've got, obviously there is another step but I'm not sure where to go from there.

Thanks

On your Sellers layout, make a portal based on the related Buyers table occurrence that you just described.

When you enter Aircraft Manufacturer & Model on a Seller record, once you exit those fields any matching Buyers should appear in the portal.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.