Skip 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.

'Either Or' instead of 'And'

Featured Replies

  • Newbies

Hi. I'm new here.

 

I have:

 

table: Products

field: Product ID

field: Fabric (Drop down box populated with lookup from field: FabricID from table: Fabrics)

 

table: Fabrics

field: FabricID

field: Products that use this Fabric (Portal that displays field: Product ID's based on relationship check Fabric = FabricID)

 

Swell. Works ok.

 

Problem is some products can use more than one fabric.

 

So I set up in table: Products field: Fabric2 (same lookup of FabricID) and add Fabric2 = FabricID to the relationship.

 

This doesn't work obviously, because the relationship now needs both Fabric and Fabric2 satisfied to display the ProductID.

 

Is there a way to base the relationship on 'Either' instead of 'And', or some other way to do this?

 

Thanks in advance!

 

 

Solved by bcooney

Go to solution
  • Solution

You need a join table Products>ProdFabrics<Fabrics.

 

Each record in the join table would store the unique combo of Product and Fabric to resolve what is called a many-to-many relationship.

  • Author
  • Newbies

Thank you very much.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.