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  

Generate a report that adds Letters to group by in the report inc



 
 
Thread Tools Display Modes
  #1  
Old September 14th, 2005, 03:42 PM
Joseph Hand
external usenet poster
 
Posts: n/a
Default Generate a report that adds Letters to group by in the report inc

I am looking for a way to have a report include a group header (i.e. A.
apearing above all of the content that begins with the letter A). Do I need
to add a column to the table and put the Letter in it that I want to group by
or is there some way to generate this? this table has 14000 rows... it would
be a ton of work to update each row...
  #2  
Old September 14th, 2005, 04:15 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default

I take it you want a break on the report before each new letter of the
alphabet?

Open the report in design view.

Open the Sorting And Grouping dialog (View menu.)

Enter the name of the field that has the data (e.g. Surname.)

In the lower pane of the dialog, set these properties:
Group Header Yes
Group On Prefix Characters
Group Interval 1

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Joseph Hand" Joseph wrote in message
...
I am looking for a way to have a report include a group header (i.e. A.
apearing above all of the content that begins with the letter A). Do I
need
to add a column to the table and put the Letter in it that I want to group
by
or is there some way to generate this? this table has 14000 rows... it
would
be a ton of work to update each row...



  #3  
Old September 14th, 2005, 06:32 PM
Joseph Hand
external usenet poster
 
Posts: n/a
Default

That turned out to be the missing piece... I also added a text box to the
group header with "=Left([Title],1)" in it and got my "A", "B", etc...
headers...

Thanks so much Allen!

joe

"Allen Browne" wrote:

I take it you want a break on the report before each new letter of the
alphabet?

Open the report in design view.

Open the Sorting And Grouping dialog (View menu.)

Enter the name of the field that has the data (e.g. Surname.)

In the lower pane of the dialog, set these properties:
Group Header Yes
Group On Prefix Characters
Group Interval 1

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Joseph Hand" Joseph wrote in message
...
I am looking for a way to have a report include a group header (i.e. A.
apearing above all of the content that begins with the letter A). Do I
need
to add a column to the table and put the Letter in it that I want to group
by
or is there some way to generate this? this table has 14000 rows... it
would
be a ton of work to update each row...




 




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
Has anyone seen this behaviour? What might it be? tw General Discussion 4 June 30th, 2005 03:23 PM
Ambiguous outer joins Renwick New Users 1 February 22nd, 2005 02:08 PM
Help!! I'm running around in circles! CathyA New Users 19 December 12th, 2004 07:50 PM
Save Report With CreateReport Coding Issue Jeff Conrad Setting Up & Running Reports 8 July 12th, 2004 08:39 AM
Help Needed for Groups Please Paul Black General Discussion 15 June 21st, 2004 02:54 AM


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