DLookUp in query headache! multiple duplicate records returned
- From: colin-whitehead@xxxxxxxxxxx
- Date: Wed, 30 Jan 2008 14:34:03 -0800 (PST)
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!
.
- Follow-Ups:
- Prev by Date: Re: Aggregate string concatenation efficiency problem
- Next by Date: Re: DLookUp in query headache! multiple duplicate records returned
- Previous by thread: How to create a dynamic multipage Crosstab report with about 50 - 60 columns
- Next by thread: Re: DLookUp in query headache! multiple duplicate records returned
- Index(es):
Relevant Pages
|