Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 6th, 2006, 09:54 AM
Registered User
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default HELP ME PLEASE! Please take a look

Ok...after reading everything and trying to apply it appropriately, Here's what i have....Please tell me if it seems ok...;)

Tbl_Line
LineID (PK Auto Number)
Line (text stating name of process line)

Tbl_Base
BaseID (PK Auto Number)
baLineID (FK to Tbl_Line)
baRunDate (date indicating date of work)
baKey (field indicating key (aka workorder) number, which is not always available)
baProduct (Field indicating product, again, not always available..it's usually either key or product available, but they must be separate fields)
baShift (Indicates shift that did work)
baSide (indicates side of wood, not always available)

Tbl_Prod
ProdID (PK auto number)
prdBaseID (FK to Tbl_Base)
prdType (FK to tbl_PRDType)
prdAMT (indicate amt. produced)
***Note: There may be several types of production for one key or product

Tbl_PRDTYPE
prdTYPEID (PK Auto Number)
prdTYPE (type of production...indicates grading of wood product)

Tbl_Downfall
DwnflID (PD Auto Number)
dfBaseID (PK to Tbl_Base)
dfTYPE (Foreign key to Tbl_Dwnfl_Type)
dfAMT (Amount of downfall)
dfCAT (Foreign Key to Tbl_Cat)
***Note there may be several types of production for one key or product

Tbl_Dwnfl_Type
DwnflTypeID (PK Auto Number)
dftType (Type of downfall)

TBL_Dwnfl_Cat
CatID (PK Auto Number)
dcType (Downfall Categories)

ok...so my first question is, how is this? Ok? Then i will actually have a follow up question about transferring data in....LOL But first i'll check if this seems ok to you guys. I want to make sure that when i run queries on the data, i am not going to get duplicate data on the production amounts....although, i don't think i would, but as I state this, i have to wonder if production should be a part of the downfall table...like instead of downfall types i have listed, i call it something else and add production to the list...let me know.









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.