Re: DLookUp in query headache! multiple duplicate records returned
- From: "Scott" <scott.n.jill@xxxxxxxxxxxxxxx>
- Date: Wed, 30 Jan 2008 19:09:28 -0400
Can't you use a join query and avoid the dlookup?
<colin-whitehead@xxxxxxxxxxx> wrote in message
news:8d5c7356-bcfb-4f95-ac1b-2132cf3e757b@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have 2 tables
tblReports primary key UPN, plus numeric fields Effort, Attain, etc
tblComments numeric primary key ID & textfield Text
In the Query I select each record from tblReports using UPN and for
each of the numeric fields use DLookup to look up the Text in
tblComments.
the expression DLookUp("Text","tblComments","ID=" & tblReports!Effort)
retrives the correct text but when I use the query it produces
multiple duplicate records - (the number of duplicate records equal
the number of records in the tblComments table)
I cannot see how this is happening. Can anyone help!
.
- References:
- DLookUp in query headache! multiple duplicate records returned
- From: colin-whitehead
- DLookUp in query headache! multiple duplicate records returned
- Prev by Date: DLookUp in query headache! multiple duplicate records returned
- Next by Date: Re: VBA Editor
- Previous by thread: DLookUp in query headache! multiple duplicate records returned
- Next by thread: Re: DLookUp in query headache! multiple duplicate records returned
- Index(es):
Relevant Pages
|