Newbies lp560 Posted September 29, 2009 Newbies Posted September 29, 2009 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:
Fitch Posted September 29, 2009 Posted September 29, 2009 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 lp560 Posted September 29, 2009 Author Newbies Posted September 29, 2009 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
Fitch Posted October 2, 2009 Posted October 2, 2009 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now