Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print all group headers even when no data in detail

Status
Not open for further replies.

DoghouseRiley

IS-IT--Management
May 25, 2004
1
GB
I'm trying to produce a report with hirerarchically numbered headings in it like this:
Code:
1  Chapter One
1.1 Background
  This is an example para.
1.2 Introduction
  Another example para
  Yet another sentence.
2  Chapter Two
... etc.

The idea is (with a lot of simplification) that the user can write a paragraph and then assign it to any of the sections. I've used a query to pull together the paras and the section info using a left join and the result looks like this:
Code:
SN   Title          Para_ID      Para_Text
1    Chapter One
1.1  Background      93          This is an example para.
1.2  Introduction    97          Another example para
1.2  Introduction    99          Yet another sentence.
2    Chapter Two
I have a report based on this query which is grouped by SN and then by Para_ID, but my output looks like this:
Code:
1.1 Background
  This is an example para.
1.2 Introduction
  Another example para
  Yet another sentence.
so is missing any group headings that don't have any attached paras.

Is there any way I can force these group headings to appear.

Regards

John
 
You can possibly change your report's query to include all the header records even if there are not any related records in your detail records.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top