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  

Primary Key in Report



 
 
Thread Tools Display Modes
  #1  
Old September 6th, 2007, 08:44 PM posted to microsoft.public.access.reports
Richard Borgner
external usenet poster
 
Posts: 10
Default Primary Key in Report

I've tried following suggestions in similar posts, but I can't get them to
work; maybe my situation is different.

I want to creat a report that includes data from a drop down box. The only
fields in that table are ID and Department; my form works just fine with
this; when I click on the drop down arrow, the only choices I see are the
different departments. But when I add that field to my report and use that
field as a grouping level, the report shows only the ID; i.e., 1, 2, or 3
instead of Operations, Compliance, Retail. This is driving me nuts, to say
the least. Any help would be appreciated.
  #2  
Old September 6th, 2007, 09:05 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Primary Key in Report

Richard Borgner wrote:

I've tried following suggestions in similar posts, but I can't get them to
work; maybe my situation is different.

I want to creat a report that includes data from a drop down box. The only
fields in that table are ID and Department; my form works just fine with
this; when I click on the drop down arrow, the only choices I see are the
different departments. But when I add that field to my report and use that
field as a grouping level, the report shows only the ID; i.e., 1, 2, or 3
instead of Operations, Compliance, Retail.


Include the department table in the report's record source
query, making sure the linking line connects the dept ID
field in your table to the corresponding field in the
departments table. Then drag the dept name field down to
the query's field list..

--
Marsh
MVP [MS Access]
  #3  
Old September 6th, 2007, 09:28 PM posted to microsoft.public.access.reports
Richard Borgner
external usenet poster
 
Posts: 10
Default Primary Key in Report

Funny you should say that...I just got done trying that before you replied,
and it works just like I want it to. Thank you for confirming that I came up
with the right solution!

"Marshall Barton" wrote:

Richard Borgner wrote:

I've tried following suggestions in similar posts, but I can't get them to
work; maybe my situation is different.

I want to creat a report that includes data from a drop down box. The only
fields in that table are ID and Department; my form works just fine with
this; when I click on the drop down arrow, the only choices I see are the
different departments. But when I add that field to my report and use that
field as a grouping level, the report shows only the ID; i.e., 1, 2, or 3
instead of Operations, Compliance, Retail.


Include the department table in the report's record source
query, making sure the linking line connects the dept ID
field in your table to the corresponding field in the
departments table. Then drag the dept name field down to
the query's field list..

--
Marsh
MVP [MS Access]

 




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 03:20 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.