Relasionships

tobeon

Board Regular
Joined
Jan 26, 2003
Messages
81
i want to make these two tables link

Products
Customers

.....
PRODUCTS
Rented by: (customer ID)

Customers
currently renting {Product ID}

but i want it so that a custoemr can rent lots of products at the same time but a product can only be rented by once customer

.....
PRODUCTS
Rented by: (customer ID)

Customers
currently renting {Product ID},{Product ID},{Product ID},{Product ID},

thanks for any help
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
As you want a One To One relationship between Product ID and Customer ID just add the customer ID to the Products table as a foriegn key.

HTH

Peter
 
Upvote 0
Presumably you want the Product to be available once it is returned, so another Customer can rent it? If so, the solution is more complex.
If you can give more details someone will be able to get you going.

HTH

Denis
 
Upvote 0

Forum statistics

Threads
1,221,558
Messages
6,160,484
Members
451,651
Latest member
Penapensil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top