Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting to Access XP From 97

Status
Not open for further replies.

tstrike

Technical User
Joined
Jun 17, 2002
Messages
44
Location
US
I have a query that pulls data from one table based on two criterias: Period and Year. I added a feild to combine the Document date with the company code. the problem I am coming accross is that the company code (a lookup feild)is displaying the data I key in and not the data it is bound by. How can I make the query display the bound data?

Example: PR Data uses a 3 Char code for a devition of the company, where Acct uses a 4 digit code for the same. I want to see the 4 digit code. PR = EJW Acct = 1000. My table I am looking up from has the Acct code as the Primary Key. In the lookup wizard I selected the Acct code Feild and the PR code Feild. I have the Acct feild hiden, and it is the bound feild. I thought that that would be the one that is displayed in queries and as the value of the record, but that is not what is hapening. In order to see the Acct feild I had to bring in the table that I sued to pull the lookup from, and link to the PR code instead of the Acct code. This confuses me. Help Please.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top