Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I have an order with many types of equipment, but each equipment has many parts. What should I do in order to display the equipments with related parts on the order layout? I have trying to solve the problems for a while but I am still very confused about it. Could anyone help me and explain it to me by the sample that I attached? Thanks.

One_to_many_to_many.zip

Posted

Hello,

What you are going to want to do is set a global filed to the Equipment ID you wish to add parts for. Create a Relationship to Parts based on this global Field and then create your parts in that portal.

I have attached your file with the modification.

-Justin

One_to_many_to_many.fp7.zip

Posted

Looks like someone beat me to it but I'll attach my sample file anyway. I took a slightly different approach.

You'll have a "Pieces" table or whatever name suits its purpose, that relates a piece of equipment to a part. Then, you'll createa "LineItem" table that relates an order number to an equipment number

Then, on the lineitem layout, you can show related data to see the equipment name and the related parts, via portal.

Click on "View Order" and then go to Preview Mode. I've also added sliding.

Hope that helps! Let me know if you need more explanation!

One_to_many_to_many.fp7.zip

Posted

Not to spoil the party here, but oftentimes would structure like this prove inadequate, you can't by it, have parts build by other parts - assemblies. For that would I urge you to read about recursive structures:

http://jonathanstark.com/recursive_data_structures.php

--sd

Posted

Hello there,

I just checked your sample again and I found out that when I add a new record, the g_EquipmentID will show the last record. Is there any way that when you add a new order, the selected parts will not display from the last record until you push the bottom? Thanks

Best Regards,

James

Posted

Sorry for the delay getting back to you.

Create a script that Creates a New Record and then Sets the global field to "".

You can then either put a button on the page or make a custom menu item for that script.

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