adamcoppard
New member
- Local time
- Today, 00:37
- Joined
- Sep 12, 2008
- Messages
- 7
Hi all,
I've had a go at making a relational database with Access,with the table structure below, but, I seem to be missing something. In the following design, all of the primary keys in the tables lead to a 1-many relationship with their fields in other tables, with the 1 relationship being on the primary side, and the many in the ORDERINFO table, or in the case of the carpets in ORDER(carpetid). The other thing I am stumped with, is generating a Form, or Report, that can reference each and every one of these Tables, and insert data into each of them (I'm currently trying to get a dropdown to display the carpetname, but, to actually insert the carpetid, and Microsoft haven't made it easy in 2007!).
This is my table structure:
ORDERINFO(orderinfoid, orderid, customerid, staffid, datetaken, fittingdate, fittingtime, finalcost)
ORDER(orderid, width, length, perimiter, carpetid, discount, gripperstrips, underlay, antistain, fitting, plywoodbase)
CUSTOMER(customerid, forename, surname, addressline1, addressline2, city, county, postcode, telephonenumber)
CARPETS(carpetid, carpetname, carpetcost)
EXTRAS(extraid, extraname, extracost)
Thanks for any help.
I've had a go at making a relational database with Access,with the table structure below, but, I seem to be missing something. In the following design, all of the primary keys in the tables lead to a 1-many relationship with their fields in other tables, with the 1 relationship being on the primary side, and the many in the ORDERINFO table, or in the case of the carpets in ORDER(carpetid). The other thing I am stumped with, is generating a Form, or Report, that can reference each and every one of these Tables, and insert data into each of them (I'm currently trying to get a dropdown to display the carpetname, but, to actually insert the carpetid, and Microsoft haven't made it easy in 2007!).
This is my table structure:
ORDERINFO(orderinfoid, orderid, customerid, staffid, datetaken, fittingdate, fittingtime, finalcost)
ORDER(orderid, width, length, perimiter, carpetid, discount, gripperstrips, underlay, antistain, fitting, plywoodbase)
CUSTOMER(customerid, forename, surname, addressline1, addressline2, city, county, postcode, telephonenumber)
CARPETS(carpetid, carpetname, carpetcost)
EXTRAS(extraid, extraname, extracost)
Thanks for any help.