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.

I don't even know how to search for this one

Featured Replies

We sell many products. Some of them are a combination of other products.

Each product has a cost and a markup.

Example:

Product A, Cost = 1.00

Product B, Cost = 2.50

Product C, Cost = Cost of Product A + Cost of Product B. This is the question. How do I perform a calculation from within the database like this?

You knew what is the content of product C.

I will use several self-joined relationships and summarize prices.

See example Products.fp7

Product.fp7.zip

I was picturing the need a bit differently than Peter. I saw grouping Products and not product pieces. This type of grouping happens a lot during sales and it works fine with pricing. But if you are tracking the individual inventory of each product and you sell Product C, use the Group field to decrease your A and B stock.

Anyway, here's what I envisioned (attached) ... just another approach. :smile2:

NB: I didn't use auto-enter on the Cost field because I would assume that, if the price changed for A or B, C should update.

ProductGroups.zip

  • 2 months later...
  • Author

Your example was very helpful. I am almost accomplishing what I need to do. One more question, because I think you'll know the answer.

If product C is a combination of (2) of product A and (3) product B, how can I thrown in a multiplier to make the price of product C correct?

Thank you in advance.

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.