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  

Report header questions



 
 
Thread Tools Display Modes
  #1  
Old October 4th, 2004, 05:21 PM
JMorrell
external usenet poster
 
Posts: n/a
Default Report header questions

I have a report, based on a query that extracts data from just one table.

The query captures an ID field, LName, FName, and several other fields.

If there are separate entries for Smith, John and Smith, Mary I get one
report entry for Smith, John and no report for Smith, Mary. I know that the
query retrieves entries for both John and Jane, but the report groups them
together. I've tried working with the "Sorting and Grouping" part, but have
not been successful.

How can I separate the entries?

tia,
--
JMorrell
  #2  
Old October 4th, 2004, 06:16 PM
Marshall Barton
external usenet poster
 
Posts: n/a
Default

JMorrell wrote:

I have a report, based on a query that extracts data from just one table.

The query captures an ID field, LName, FName, and several other fields.

If there are separate entries for Smith, John and Smith, Mary I get one
report entry for Smith, John and no report for Smith, Mary. I know that the
query retrieves entries for both John and Jane, but the report groups them
together. I've tried working with the "Sorting and Grouping" part, but have
not been successful.


You can use an expression to group on, e.g.
=LName & ", " & FName

Or maybe you'd be better off first sorting on LName and then
Grouping on ID.

--
Marsh
MVP [MS Access]
  #3  
Old October 4th, 2004, 09:03 PM
JMorrell
external usenet poster
 
Posts: n/a
Default

thank you. I didn't know one could use that type of code there. It worked
just like it should.

JMorrell



"Marshall Barton" wrote:

JMorrell wrote:

I have a report, based on a query that extracts data from just one table.

The query captures an ID field, LName, FName, and several other fields.

If there are separate entries for Smith, John and Smith, Mary I get one
report entry for Smith, John and no report for Smith, Mary. I know that the
query retrieves entries for both John and Jane, but the report groups them
together. I've tried working with the "Sorting and Grouping" part, but have
not been successful.


You can use an expression to group on, e.g.
=LName & ", " & FName

Or maybe you'd be better off first sorting on LName and then
Grouping on ID.

--
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Timely: How do I add a date range query for a report? David Setting Up & Running Reports 7 September 15th, 2004 07:22 PM
Sub Report XeniaEagle Setting Up & Running Reports 3 September 9th, 2004 06:36 PM
Working with the Report Header WMD Setting Up & Running Reports 4 June 11th, 2004 08:49 PM
Report Header in Mailing Labels... Grim Reaper Setting Up & Running Reports 2 June 9th, 2004 04:25 AM
Center header image horizontally in report dw Setting Up & Running Reports 3 May 27th, 2004 05:58 PM


All times are GMT +1. The time now is 04:16 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.