Look up - Shows ID number rather than name in a report

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

Guest

I have a report made from a query--It shows a purchase order number and
customer name. The query pulls a customer ID , but then looks up the
customer name. The query runs fine. The report only shows the customer
number. I cannot get it to show the name of the customer. Is there
something I can do to show the customer name instead of number. What am I
doing wrong. What can I do to correct this.
 
I have a report made from a query--It shows a purchase order number and
customer name. The query pulls a customer ID , but then looks up the
customer name. The query runs fine. The report only shows the customer
number. I cannot get it to show the name of the customer. Is there
something I can do to show the customer name instead of number. What am I
doing wrong. What can I do to correct this.

It seems you are yet another victim of Microsoft's misdesigned
so-called Lookup feature:

http://www.mvps.org/access/lookupfields.htm

Your table APPEARS to contain the customer name. It doesn't; it
contains the customer ID, which is concealed from your view by the
Lookup. This doesn't carry over to reports.

But it's simple to solve: instead of basing your report on the Table,
base it on a query joining your purchase order table to the customer
table. Pull the customer name field from the Customer table, rather
than using the lookup field in the purchase order table.

John W. Vinson[MVP]
 

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

Back
Top