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

Finding matching data from two tables


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

Recommended Posts

  • Newbies
Posted

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:

Posted

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.

  • Newbies
Posted

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

Posted

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.

This topic is 5533 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.