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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Rpts: Force Group Header Even If No Data



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2004, 05:08 PM
S Jackson
external usenet poster
 
Posts: n/a
Default Rpts: Force Group Header Even If No Data

I have a report that is grouped by a field named [Region]. The report is
launched from a dialog form which contains a Region List Box. The report
prints data for Regions selected in the list box. If there is no data
present for one or more of the Regions selected, the report does not print
the Group Header for that Region. However, is there a way to force the
report to put in the Group Header for all the Regions selected regardless of
whether data is present and then put in a text box in that Detail Section
that says "No data" for regions containing no data?

I've looked at report properties and events, the group properties, . . .
can't figure this one out. Is it possible? Would it be the On Format event
of the report?

TIA
S. Jackson


  #2  
Old May 6th, 2004, 05:52 PM
Chris Nebinger
external usenet poster
 
Posts: n/a
Default Rpts: Force Group Header Even If No Data

The only way you can is to have the query be an outer join
on the Regions table. That way, you will have a header
for regions with no data.



Chris Nebinger










-----Original Message-----
I have a report that is grouped by a field named

[Region]. The report is
launched from a dialog form which contains a Region List

Box. The report
prints data for Regions selected in the list box. If

there is no data
present for one or more of the Regions selected, the

report does not print
the Group Header for that Region. However, is there a

way to force the
report to put in the Group Header for all the Regions

selected regardless of
whether data is present and then put in a text box in

that Detail Section
that says "No data" for regions containing no data?

I've looked at report properties and events, the group

properties, . . .
can't figure this one out. Is it possible? Would it be

the On Format event
of the report?

TIA
S. Jackson


.

 




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 12:57 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.