B
brb8036135
Guest
Hi im a newbie here and am looking for some help with my tables and relationships. Im trying to create a library loan system but none of my relationships seem to work.
Customer table
CustomerID Autonumber
FirstName Text 20
Surname Text 20
Address Text 100
Telephone Text 15
PostCode Text 8
DOB Number 8
Membership Type Text 8
Loan Table
CustomerID Autonumber
ProductID Autonumber
Loan Date Number 8
Return Date Number 8
Fine Currency
FinePaid Boolean
Product table
ProductId Autonumber
ProductTitleId Number
Medium Text 4
Condition Text 1
Replacement Value Currency
Product Title Table
ProductTitleId Autonumber
Title Text 50
Author/Director Text 20
Genre Currency
The underlined fields are the primary keys
The relationships between the tables are
one to many customerId(customer table) to customer id (loan table)
one to many productid(product table) to product id (loan table)
one to many producttitleid(producttitle table) to producttitle id (product table)
Anyone tell me anythings wrong? to change? Im extremely confused with it all?!
Thanks
Customer table
CustomerID Autonumber
FirstName Text 20
Surname Text 20
Address Text 100
Telephone Text 15
PostCode Text 8
DOB Number 8
Membership Type Text 8
Loan Table
CustomerID Autonumber
ProductID Autonumber
Loan Date Number 8
Return Date Number 8
Fine Currency
FinePaid Boolean
Product table
ProductId Autonumber
ProductTitleId Number
Medium Text 4
Condition Text 1
Replacement Value Currency
Product Title Table
ProductTitleId Autonumber
Title Text 50
Author/Director Text 20
Genre Currency
The underlined fields are the primary keys
The relationships between the tables are
one to many customerId(customer table) to customer id (loan table)
one to many productid(product table) to product id (loan table)
one to many producttitleid(producttitle table) to producttitle id (product table)
Anyone tell me anythings wrong? to change? Im extremely confused with it all?!
Thanks