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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Company Name in a Report



 
 
Thread Tools Display Modes
  #1  
Old January 6th, 2010, 08:47 PM posted to microsoft.public.access.reports
denise
external usenet poster
 
Posts: 388
Default Company Name in a Report

When I add a text box and use a control source of "Company Name", when I run
the report it comes up as a "1". How do I get it to show the "Company Name".

--
Denise B.
  #2  
Old January 6th, 2010, 09:15 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Company Name in a Report

Make sure the company name field that actually stores the company name is in
the record source of the report. I expect you have mis-used a lookup field
defined in your table. IMO, don't use this type of mis-feature.

--
Duane Hookom
Microsoft Access MVP


"Denise" wrote:

When I add a text box and use a control source of "Company Name", when I run
the report it comes up as a "1". How do I get it to show the "Company Name".

--
Denise B.

  #3  
Old January 6th, 2010, 09:26 PM posted to microsoft.public.access.reports
Steve[_77_]
external usenet poster
 
Posts: 1,017
Default Company Name in a Report

You have based your report on a table that has a field CompanyID. Your
database has another table named TblCompany. You need to create a query that
includes both tables and contains CompanyName from TblCompany and all other
fields you want in your report. You need to change the rowsource of the
report to the new query then change the control source of the textbox to
CompanyName that you got fron TblCompany.

Steve



"Denise" wrote in message
...
When I add a text box and use a control source of "Company Name", when I
run
the report it comes up as a "1". How do I get it to show the "Company
Name".

--
Denise B.



 




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 07:37 PM.


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