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.

recipe links to ingredient

Featured Replies

  • Newbies

Hey there,

for my new cocktail database I would like to link the ingredients of a cocktail to their respective SPIRITS table entry.

my first thought was to create a new table for ingredients with the ingredient name, amount and cocktail (linked to the cocktails id).

this however would give me tons of entrys that I don't really need.

Is there another quick and easy way to complish that?

You will need an Ingredients table, with a record for each ingredient. The ingredient record should also have a TYPE field on which "Spirit" could be one of the values. This type field could be used to filter the display of ingredients to make data entry easier.

There should be a Cocktails table, where a record is a different type of cocktail. There needs to a a separate record for each variation, i.e., record for strong martini, another for weak etc. If you want to have a solution that allows the section of, say, martinis, and then displays strong, weak, etc, then you need a "variations" table as well.

Between the Cocktails and Ingredients tables there should be a join table. You could call it Amounts I suppose. This join record contains the information for the amount of each ingredient that goes into each cocktail.

Cocktails -< Amounts >- Ingredients

or

Cocktails -< Variations -< Amounts >- Ingredients

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.