Newbies Mariusv.Z Posted April 8, 2013 Newbies Posted April 8, 2013 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!
bcooney Posted April 8, 2013 Posted April 8, 2013 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. 1
Recommended Posts
This topic is 4306 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 accountSign in
Already have an account? Sign in here.
Sign In Now