dbTalk Databases Forums  

Report Grouping

comp.databases.ms-access comp.databases.ms-access


Discuss Report Grouping in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Deac
 
Posts: n/a

Default Report Grouping - 01-23-2012 , 05:53 PM






Access Report for Dance classes.
One page per student listing their classes.
Grouped by Name then sorted by Class, Date, and Time.
There are 380 pages printed alphabetically by Name.
The whole report then must be hand-sorted by header information for
handing out.

Report information:

Page Header has info for the first class of this student.
(e.g. JANE DOE MONDAY 5:45PM JAZZ [teacher]
Class#)

Report body has information for classes taken by student.
(e.g. JANE DOE JAZZ [info]
BALLET [info]
MODERN [info]
TAP [info])

Is there a way to print by the header information? This facilitates
handing out.
We have changed grouping and sorting in both/each the Query and the
Report
- but it messes up the report infor,ation order!

Reply With Quote
  #2  
Old   
Patrick Finucane
 
Posts: n/a

Default Re: Report Grouping - 01-23-2012 , 07:33 PM






On Jan 23, 5:53*pm, Deac <mwal... (AT) centurylink (DOT) net> wrote:
Quote:
Access Report for Dance classes.
One page per student listing their classes.
Grouped by Name then sorted by Class, Date, and Time.
There are 380 pages printed alphabetically by Name.
The whole report then must be hand-sorted by header information for
handing out.

Report information:

Page Header has info for the first class of this student.
* * *(e.g. *JANE DOE * * MONDAY * * 5:45PM * * JAZZ * * [teacher]
Class#)

Report body has information for classes taken by student.
* * *(e.g. * * JANE DOE * * JAZZ * * * * * * * * *[info]
* * * * * * * * * * * * * * * * * * * BALLET * * * * * * [info]
* * * * * * * * * * * * * * * * * * * MODERN * * * * * [info]
* * * * * * * * * * * * * * * * * * * TAP * * * * * * * * * [info])

Is there a way to print by the header information? *This facilitates
handing out.
We have changed grouping and sorting in both/each the Query and the
Report
- but it messes up the report infor,ation order!
In a case like this I'd take the cheap way out. Let's say your key is
StudentID. I might create an unbound text box, allow it to grow, and
call it StudentHeader, and under the Data tab in ControlSource enter:
=RptHeader([StudentID])

Then I'd write a function in a Module called RptHeader that grabs the
studentID, searches the requisite tables, and process the calculations
to create a header for that student.

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.