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.

Cake production - Relation needed

Featured Replies

  • Newbies

Hi there! I'm new here and almost new to FMpro (such a great program!).

I'm from Belgium and I actually live in Brazil, so, please forgive my english if I make some mistake. I'll try to explain my problem clearly:

let's consider a Cake factory.

I got those tables:

Cakes (identify the cake and its specificities such as flavour ...)

CakeDetail (Join Table between cakes and ingredients - a reciep-like table)

Ingredients (table with items such as floor, eggs, fruits...)

Production (this table is filled with everyday production - ex. 3 chocolate cakes, 4 cherry cakes....)

ProductionDetail (Join Table between Production and Cakes where we can enter what number of wich cake we procuce in every production)

Where am I stuck? ==> On my Production layout, I would like to see the amount of every ingredient needed for the current Production. If we consider a production with 4 chocolate cakes, 5 cherry cakes, 3 strawberry cakes: how much floor, eggs, ... for the full production?

I attach the file here, sorry if it is in french but I think whith the explanations it is quiet clear.

I thanks you all a lot by advance for your valuable help!

Benoit,

 

gateaux.fmp12

  • Author
  • Newbies

hummmm Yes. :)

I've been reading the post you told about. I'll take some idea from there ex: the multi suplier table for an ingredient.

I'm already able to "see" all the ingrediente needed for my production, but I don't know how tu summarize them:

I mean, I know something is missing, maybe one more table to join something. 

I'll keep searching

Edited by BenBrasil

I am having a little trouble deciphering with the language barrier, but it seems to me that your relationships are not set up correctly.

For starters, you shouldn't allow a user to change you primary key. I also don't understand the many to many relationship between Ingredients and GatxIngredients

Take a look at this sample file by the great and powerful Comment, showing you how to summarize a portal.  See if this is the basis for what you are trying to accomplish

SummarizePortal.fmp12

Edited by Steve Martino
add a file

  • 3 weeks later...
  • Author
  • Newbies

Still stuck.... I put a link to the file (in english this time)

Thanks all!

 

gateaux.fmp12

Create an account or sign in to comment

Important Information

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

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.