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

self join table or multikey or ... ?


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

Recommended Posts

Posted (edited)

Can anyone help me on the road?

I have 3 tables:

ingredients products invoice items

Product_ID----=-------ID-----=-----Product_ID

fields of ingredients

name

Quantity/product

fields of invoices

Quantity products

1 invoice can consist of several products.

1 product consists of several ingredients.

1 ingredient can avoid in several products.

1 product can be 'ordered' by several invoices.

I can see how much of each ingredient is needed in total for all invoices.

And I can see what ingredients are needed for each single invoice.

What I can not see is how much of each ingredient is required for each single invoice.

Should I fix this with a self join table or multikey? or something els?

The file is an example of (jonathan stark) that i have changed. see attachment.

Thanks.

A helping hand is enough!

ScreenHunter_02_Nov._09_07.08.gif

Edited by Guest
Posted

I think you need to be careful to separate tables containing invoice data from tables representing the product catalogue. An invoice might employ a script and relationships to look up current recipe data but this should be copied over to the invoice tables rather than simply viewed through a portal or a calculated field. The reason is that your catalogue of recipes might change with time and you don't want this to change the old invoices.

If you are using a script to copy over the recipe data then it can go on to calculate the ingredient totals also.

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