A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

In a Report, how do I display the text not the ID value?



 
 
Thread Tools Display Modes
  #1  
Old August 13th, 2007, 05:50 PM posted to microsoft.public.access
Rob T
external usenet poster
 
Posts: 4
Default In a Report, how do I display the text not the ID value?

I am trying to generate a report from table#1 that looks up organization
names from table#2. When I include the organization field from table#1 in my
report, the report displays the numerical value stored in table #1 not the
actual text of the organization name stored in table#2. How do I get the
report to display the text value from table #2? I'm just getting started
with access and tried finding this in a book I have and on the help topics
but to no avail. Any help would be greatly appreciated. Thanks.
  #2  
Old August 13th, 2007, 06:08 PM posted to microsoft.public.access
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default In a Report, how do I display the text not the ID value?

Sounds like you've used that misguided misfeature known as the Lookup Field
(see http://www.mvps.org/access/lookupfields.htm at "The Access Web" for
some of the reasons why many of us feel this way)

You're going to have to create a query that joins together the two tables in
order to include the text from table#2, and then use that query as the
RecordSource for your report, rather than simply using table#1.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Rob T" Rob wrote in message
...
I am trying to generate a report from table#1 that looks up organization
names from table#2. When I include the organization field from table#1 in
my
report, the report displays the numerical value stored in table #1 not the
actual text of the organization name stored in table#2. How do I get the
report to display the text value from table #2? I'm just getting started
with access and tried finding this in a book I have and on the help topics
but to no avail. Any help would be greatly appreciated. Thanks.



  #3  
Old August 13th, 2007, 06:09 PM posted to microsoft.public.access
Joseph Meehan
external usenet poster
 
Posts: 838
Default In a Report, how do I display the text not the ID value?

Rob T wrote:
I am trying to generate a report from table#1 that looks up
organization names from table#2. When I include the organization
field from table#1 in my report, the report displays the numerical
value stored in table #1 not the actual text of the organization name
stored in table#2. How do I get the report to display the text value
from table #2? I'm just getting started with access and tried
finding this in a book I have and on the help topics but to no avail.
Any help would be greatly appreciated. Thanks.


You need to mak sure you have a proper relationship set up between the
two tables and I suggest setting up a query including both related tables
and use that as your record source.



--
Joseph Meehan

Dia 's Muire duit



  #4  
Old August 13th, 2007, 06:10 PM posted to microsoft.public.access
Ken Sheridan
external usenet poster
 
Posts: 3,433
Default In a Report, how do I display the text not the ID value?

For the report's RecordSource use a query which joins the two tables on the
numerical ID number fields, and which includes the organization name from
table#2 as a column in the query's output. You can then bind a control in
the report to the organization name column rather than the ID number.

Ken Sheridan
Stafford, England

"Rob T" wrote:

I am trying to generate a report from table#1 that looks up organization
names from table#2. When I include the organization field from table#1 in my
report, the report displays the numerical value stored in table #1 not the
actual text of the organization name stored in table#2. How do I get the
report to display the text value from table #2? I'm just getting started
with access and tried finding this in a book I have and on the help topics
but to no avail. Any help would be greatly appreciated. Thanks.


  #5  
Old August 15th, 2007, 05:34 PM posted to microsoft.public.access
Rob T[_2_]
external usenet poster
 
Posts: 13
Default In a Report, how do I display the text not the ID value?

Thanks for everyone's help. I did a query and it worked.

"Rob T" wrote:

I am trying to generate a report from table#1 that looks up organization
names from table#2. When I include the organization field from table#1 in my
report, the report displays the numerical value stored in table #1 not the
actual text of the organization name stored in table#2. How do I get the
report to display the text value from table #2? I'm just getting started
with access and tried finding this in a book I have and on the help topics
but to no avail. Any help would be greatly appreciated. Thanks.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.