B
BethDAT
I've inherited a database for tracking chemical standard inventory and want
to expand it. Right now, we log all our pure standards (PS) into it. Each
PS may be used to produce one or more working standards (WS). A WS may
contain multiple PSs, and a PS may be used to produce multiple WSs. It looks
to me like the Products/Orders/Orderdetails tables in Northwind is a good
model for setting up tables and forms to track the WSs; is that right?
Each PS and WS has a unique ID. I could use that ID as the primary key, but
the format of this ID is "PS (or WS)-xx-xx" where the x's are numbers that
give first the notebook page and then the line number where the info for the
standard is entered. Will that format cause problems if used as the key -
should I set up the tables with an AutoNumber field and use those as the
PK/FKs?
And one last question. In Northwind it looks to me as if in the
OrderDetails table, the unit price is entered rather than being pulled in
from the Products table. Is that correct, and if so, why was it set up that
way? I would have a similar situation with analogous data for the standards,
so this isn't just an academic question.
Thanks! This forum is a noob's best friend
to expand it. Right now, we log all our pure standards (PS) into it. Each
PS may be used to produce one or more working standards (WS). A WS may
contain multiple PSs, and a PS may be used to produce multiple WSs. It looks
to me like the Products/Orders/Orderdetails tables in Northwind is a good
model for setting up tables and forms to track the WSs; is that right?
Each PS and WS has a unique ID. I could use that ID as the primary key, but
the format of this ID is "PS (or WS)-xx-xx" where the x's are numbers that
give first the notebook page and then the line number where the info for the
standard is entered. Will that format cause problems if used as the key -
should I set up the tables with an AutoNumber field and use those as the
PK/FKs?
And one last question. In Northwind it looks to me as if in the
OrderDetails table, the unit price is entered rather than being pulled in
from the Products table. Is that correct, and if so, why was it set up that
way? I would have a similar situation with analogous data for the standards,
so this isn't just an academic question.
Thanks! This forum is a noob's best friend