Re: Microsoft Access, Double Data Entry and breaking the Normalization rule
- From: "David W. Fenton" <XXXusenet@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 May 2007 12:44:26 -0500
"hippomedon@xxxxxxxxxxxxxx" <hippomedon@xxxxxxxxxxxxxx> wrote in
news:1180540025.677581.252670@xxxxxxxxxxxxxxxxxxxxxxxxxxx:
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).
I don't see why you can't load the other record in a recordset and
compare the values field by field when they are entered into the
other table. That would be just as easy as comparing to a different
field. You'd do it something like this in the BeforeUpdate of the
control:
If Nz(Me!ControlName) <> Nz(rs(Me!ControlName.ControlSource)) Then
...
You could also write a function that uses Screen.ActiveControl to do
it, which makes it easy to assign to all the controls (in the above,
replace Me!ControlName with Screen.ActiveControl).
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
.
- Follow-Ups:
- Re: 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: hippomedon@xxxxxxxxxxxxxx
- 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
- Re: Microsoft Access, Double Data Entry and breaking the Normalization rule
- From: hippomedon@xxxxxxxxxxxxxx
- Microsoft Access, Double Data Entry and breaking the Normalization rule
- Prev by Date: Re: Access Data Projects
- Next by Date: Re: Tracking Notes
- 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
|