Re: Database Design
- From: John Nurick <j.mapSoN.nurick@xxxxxxxxxxxxxx>
- Date: Tue, 06 Mar 2007 07:55:48 +0000
Hi Weste,
You are certainly right to demand a properly normalised data structure.
But as you know crosstab queries aren't updatable so can't be used
behind a data entry form. And it's a lot of work to code an unbound form
that works like a continuous form, especially if it also has to
denormalise the data.
So if a continuous form is the best design for data entry, I wouldn't
hesitate to use a denormalised "staging" table bound to the data entry
form to hold the data as it's entered. Once the entry is confirmed, I'd
use it to create or update the corresponding records in the "real"
normalised tables, and delete the record from the staging table.
On Mon, 5 Mar 2007 16:55:08 -0800, Weste
<Weste@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I am designing a database for a client to track budget data. The labor data
is entered by FTEs (Full Time Equivalent Employees) and the dollars are
calculated by multiplying the appropriate labor rate by FTEs. The labor rate
is based on job role, fiscal year, and month. The client also wants to the
ability for 12-month rolling budgets. I recommended the following table
structures.
Table: LaborBudget
? LaborBudgetID
? ProjectID
? JobRoleID
? ?.
Table: LaborBudgetDetails
? LaborBudgetDetailID
? LaborBudgetID
? FiscalYearID
? FTEs
? ?..
Table: FiscalYear
? FiscalYearID
? FiscalYear
? FiscalMonthNumber
? ?
Table: LaborRates
? LaborRateID
? JobRoleID
? LaborRate
? ?.
The client has just completed 2 Access classes and doesn?t agree with my
design.
They want the table design as shown below because it will make coding of the
data entry screen easier.
Table: LaborBudget
? LaborBudgetID
? ProjectID
? JobRoleID
? FiscaYear
? Jan
? Feb
? Mar
? Apr
? May
? Jun
? Jul
? Aug
? Sep
? Oct
? Nov
? Dec
They want the data entry screen to look like the design below.
Project Job Role Jan Feb Mar Apr May Jun Jul Aug Sep
Oct Nov Dec
I explained that this is not a normalized database design and will cause
more problems down the road when building queries, reports, etc. Their
response was ? then will have 2 sets of tables ? 1 for data entry (the
non-normalized design) and then copy the data to the normalized tables for
reporting. They don?t want the normalized design because a crosstab or
unbound form will need to be used for the data entry screen.
Can anyone provide anything that I can use to help convince them how to
correctly design a database? Thanks for your help.
Weste
--
John Nurick [Microsoft Access MVP]
Please respond in the newsgroup and not by email.
.
- Follow-Ups:
- Re: Database Design
- From: Weste
- Re: Database Design
- References:
- Database Design
- From: Weste
- Database Design
- Prev by Date: Re: Proper table structure
- Next by Date: Re: Table Design
- Previous by thread: Database Design
- Next by thread: Re: Database Design
- Index(es):
Relevant Pages
|
Loading