Re: Microsoft Access, Double Data Entry and breaking the Normalization rule
- From: "hippomedon@xxxxxxxxxxxxxx" <hippomedon@xxxxxxxxxxxxxx>
- Date: 30 May 2007 08:47:05 -0700
On May 29, 8:42 pm, "David W. Fenton" <XXXuse...@xxxxxxxxxxxxxxxxxxx>
wrote:
"Tony Toews [MVP]" <tto...@xxxxxxxxxxxxxxx> wrote innews:up2p53p5kd7dlnuckscti79klvaula90ki@xxxxxxx:
"hippome...@xxxxxxxxxxxxxx" <hippome...@xxxxxxxxxxxxxx> wrote:
On the other hand, it seems that it might be easier to
"de-Normalize"
the table slightly to have a [DtaRspn1] and a [DtaRspn2] field.
This is not denormalizing. You have the same data but entered
twice. It's perfectly legitimate to do this.
At the concept or overview lefel this is similar to storing the
cost and price of an item when you sell the item. After all the
cost and price could change moments after the transaction is
entered.
Yes, but there are different ways to store the data:
1. double the fields in a single record.
2. have two records in a single table, with identical structure.
3. have two separate tables with identical structure.
4. have a main table and then a narrow side table that records only
the discrepancies, one field per record.
The worst of all seems to me to be the 1st choice, which is, I
believe, what the OP is considering.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Thanks David. Unfortunately, I have to store the 2nd entry so the
unbound form method would not work.
Currently the db is set-up with option 2 (two records in same table).
This works very well for validation purposes, when the validation is
done after the entry. The VBA code that I developed easily compares
Entry 1 to Entry 2 and generates an output. However, for instantaneous
validation, it does not work as well. This is the main reason I'm
considering switching to option 1. I think it would allow for an
easier and more instantaneous comparison of entry 2 to entry 1. It
should actually only add 2 fields to each record (one for the
response, and one to record the time of entry).
Why do you think that this option is the worst? The only potential
disadvantage that I can foresee is that if a "record" is deleted
accidentally, it would be easy to miss. However, the database is well
secured from the end-users, and I have queries that check against
missing records prior to exporting to SPSS (since every participant is
supposed to have the same number of questions).
Your further thoughts would be appreciated.
Thanks,
Paul
PS. I've used two tables in the past, but found that having one table
generally worked better (validations were faster, querying easier,
etc).
.
- Follow-Ups:
- Re: Microsoft Access, Double Data Entry and breaking the Normalization rule
- From: David W. Fenton
- Re: Microsoft Access, Double Data Entry and breaking the Normalization rule
- References:
- Microsoft Access, Double Data Entry and breaking the Normalization rule
- From: hippomedon@xxxxxxxxxxxxxx
- Re: Microsoft Access, Double Data Entry and breaking the Normalization rule
- From: Tony Toews [MVP]
- Re: Microsoft Access, Double Data Entry and breaking the Normalization rule
- From: David W. Fenton
- Microsoft Access, Double Data Entry and breaking the Normalization rule
- Prev by Date: Re: RTF2 Report (across multiple pages)
- Next by Date: Re: How can I make money with Beta
- Previous by thread: Re: Microsoft Access, Double Data Entry and breaking the Normalization rule
- Next by thread: Re: Microsoft Access, Double Data Entry and breaking the Normalization rule
- Index(es):
Relevant Pages
|
|