Fred,
It is not included in the record source because I need several records
from different queries. That is why I'm attempting to use the Dlookup
feature since my record source is not constant for the report. The querie
does return only one record, as do most of the others I am using. I have
tried combining them into one querie with no success-maybe a normalization
problem?? Does the Dlookup string you give me go directly into the text box?
It's always a good idea, when replying to a previous post, to include
the relevant part of the previous post in the message. It makes it
easier for some one to make sense of your message.
If your query returns just one record, as you stated above, you can
write the expression directly in the control source of an UNBOUND text
control:
= DLookUp("[SumOfSumOfPieces]","[Total month to date Periphery Grind
Kyon Query]")
or you can write the expression using VBA:
[SomeControl] = DLookUp("[SumOfSumOfPieces]","[Total month to date
Periphery Grind Kyon Query]")
Or you can write it in another query:
NewColumn

LookUp("[SumOfSumOfPieces]","[Total month to date Periphery
Grind Kyon Query]")