M
Mara
I am developing a database for managing projects.
My main table is:
tblProjects
ProjectID (PK)
Deliverable
Priority
etc.
Here are the tables I am struggling with:
tblEstimateDetail
EstimateDetailID (PK)
ProjectID (FK)
RateID (FK)
Hours (for number of work hours)
tblEstimateDetail will allow user to input the number of estimated hours to
complete a give task for the associated project. RateID in tblEstimateDetail
is tied to tblRates:
tblRates
RateID (PK)
CostType (e.g. Business Analyst, Project Manager, QA, & Development)
HourlyRate
tblRates will allow user to input the hourly rate for a specific type of
project cost.
Here are my qusetions:
1) Should I establish a one:many relationship between tblEstimateDetail and
tblRates OR should I use a simple lookup feature when in design view for
tblEstimateDetail?
2) When I design a Query to multiply the Hours [tblEstimateDetail] by
HourlyRate [tblRates] should I use the ProjectID from tblProjects or from
tblEstimateDetail? Does it matter?
3) Is this the best way to even go about giving the user the ability to
enter in a task, define what type of work will be done (Business Analyst,
etc.) and calculate what the associated cost will be depending on the number
of hours and type of work?
Thank you greatly for your help.
My main table is:
tblProjects
ProjectID (PK)
Deliverable
Priority
etc.
Here are the tables I am struggling with:
tblEstimateDetail
EstimateDetailID (PK)
ProjectID (FK)
RateID (FK)
Hours (for number of work hours)
tblEstimateDetail will allow user to input the number of estimated hours to
complete a give task for the associated project. RateID in tblEstimateDetail
is tied to tblRates:
tblRates
RateID (PK)
CostType (e.g. Business Analyst, Project Manager, QA, & Development)
HourlyRate
tblRates will allow user to input the hourly rate for a specific type of
project cost.
Here are my qusetions:
1) Should I establish a one:many relationship between tblEstimateDetail and
tblRates OR should I use a simple lookup feature when in design view for
tblEstimateDetail?
2) When I design a Query to multiply the Hours [tblEstimateDetail] by
HourlyRate [tblRates] should I use the ProjectID from tblProjects or from
tblEstimateDetail? Does it matter?
3) Is this the best way to even go about giving the user the ability to
enter in a task, define what type of work will be done (Business Analyst,
etc.) and calculate what the associated cost will be depending on the number
of hours and type of work?
Thank you greatly for your help.