Basic DLookup Problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been reading all the Postings but can not find the answer to my
problem. I have a a Table containg Product Descriptions along with our price
for each item. I am trying to calulate a Destroyed Cost when we throw Product
away. In trying to list the Price on my Report, I am using the following in
the Control Source. For some reason I keep getting an Error. Please help.

=DLookUp("[Item Cost]","Description","[Description]=" & [Reports]![Customer
Returns]![Description])
 
I don't care for DLookup()s in reports and usually try to avoid them.
However, try:
=DLookUp("[Item Cost]","Description","[Description]=""" &
[Reports]![Customer Returns]![Description] & """")

Text/string values must be delimited with quotes.

BTW: is your table name "Description" and your field name "Description"?
This seems ultra confusing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top