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  

Reports pulling in Primary Key



 
 
Thread Tools Display Modes
  #1  
Old June 28th, 2007, 03:40 PM posted to microsoft.public.access.reports
ewest2112veneer
external usenet poster
 
Posts: 1
Default Reports pulling in Primary Key

I have my combo box bound to a name column in all, table, form and query, but
when I run a report it pulls only the prim key # for that column. How do I
get it to pull the name?
  #2  
Old June 28th, 2007, 04:04 PM posted to microsoft.public.access.reports
Ofer Cohen
external usenet poster
 
Posts: 1,683
Default Reports pulling in Primary Key

If the Combo RowSource includes two fields
Select Field1 , Field2 From TableNAme

And you want the combo to display the value in field2, you need to set the
column width of the combo not to display the first column

0 cm; 3 cm

--
Good Luck
BS"D


"ewest2112veneer" wrote:

I have my combo box bound to a name column in all, table, form and query, but
when I run a report it pulls only the prim key # for that column. How do I
get it to pull the name?

  #3  
Old July 30th, 2007, 05:18 AM posted to microsoft.public.access.reports
znibk
external usenet poster
 
Posts: 115
Default Reports pulling in Primary Key

Good evening Ofer,

Thanks, I knew something had to do with column widths.

I have my Field Names, ie Description in Combo Boxes, and everything is
working well, thanks to some much needed help. Here is what I would also like
to do in my Report and have not been able to do as of yet. I have a
Description Header and a Description Footer. In the Description Footer, I
would like to have a phrase which says something like ="Summary of" &
[Description]&": " My problem is that since the FieldName Description is in
a Combo Box, I can't seem to do that without using a label for the "Summary
of" portion then placing Description in the Combo Box quite close by the
Label and then adding another Label for the ":"

Is there a way to do that without having to redo my tables, queries, forms,
etc?

Also, may I have a table without a Primary Key and have it function
correctly as a Lookup Table?

"Ofer Cohen" wrote:

If the Combo RowSource includes two fields
Select Field1 , Field2 From TableNAme

And you want the combo to display the value in field2, you need to set the
column width of the combo not to display the first column

0 cm; 3 cm

--
Good Luck
BS"D


"ewest2112veneer" wrote:

I have my combo box bound to a name column in all, table, form and query, but
when I run a report it pulls only the prim key # for that column. How do I
get it to pull the name?

 




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 01:14 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.