• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1661
  • Last Modified:

Table Lookup-Combo Box, field text displaying as number in a report


I've a small db with only three tables.  Projects, Vendors & PurchaseOrders.  The Projects and Vendors tables are all text fields.  The PurchaseOrders table has a few fields that are both Lookup-Combo Box and Lookup-Value List.

My problem is the text from the field that has a Lookup-Combo Box is transposed to a number in my reports.

There are two fields in the PurchaseOrders table that have a Combo Box control based on a query of two text fields in the Projects table.  Both fields are Text, but one has a project title and the other the project number.

If I create a parameter query to the PurchaseOrders table, and the parameter is for the project number field, the query will run but will not show the records.  

However if I create a parameter query based on a table field that is a Lookup~Value List, it will work.

In a report, which is based on a query or directly to the table, the field that is a Lookup-Combo Box will not display correctly, the project description is numeric, ie: 19 or 201, etc.

Any ideas?

Thanks in advance
  • 2
1 Solution
Hello Bob,

Just few clarifications.

What is the data type of the field that has the look-up value list? Is that field look up the value from other tables or from a created list?

Rey Obrero (Capricorn1)Commented:
add to your query the Lookup table
create a join on the project number
from the lookup table, select the description field and drop it to your query column

use the desccription field as the control source of the textbox in your report
schumargAuthor Commented:
Ed, ita created list.

What I just discovered was the "Project" text field in the Projects table was indexed YES (Duplicates Ok).  I changed to NO and the parameter query ran.  Does this make sense?
schumargAuthor Commented:
Rey - adding the Project table to the query with a join between the Projects worked.

THANK YOU  I accept this answer.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now