WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Display message for blank subreport

 
   Home -> Office other -> Reports RSS
Next:  Reports: Report with Duplicates  
Author Message
carriey

External


Since: Jun 29, 2008
Posts: 3



(Msg. 1) Posted: Thu Jul 24, 2008 6:53 am
Post subject: Display message for blank subreport Add to elertz
Archived from groups: microsoft>public>access>reports (more info?)

I have a report with 13 subreports. Each one contains specific information
about a type of problem or application that could relate to the main record
(a location).

I have put the title for each subreport on to the Report itself and then of
course, if there is no information for that specific subreport, there is a
blank space before the next one.

What I would actually like is for a message to display that says something
like "No issue currently exists for xxxx (being the type of issue), or no
data has been recorded".

I am sure there is an easy way to do this but I haven't had any luck
searching. Any advice is appreciated!
Back to top
Login to vote
Allen Browne

External


Since: Nov 08, 2003
Posts: 9375



(Msg. 2) Posted: Thu Jul 24, 2008 10:35 pm
Post subject: Re: Display message for blank subreport Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Test the HasData property of the report in the subreport control.

Place a text box on the main report in the same section as the subreport.
Set its Control Source to an expression such as this:
=IIf([Sub1].[Report].[HasData], Null, "No issue exists for Sub1.")

Substitute the name of your subreport control for Sub1.

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

"carriey" <carriey RemoveThis @discussions.microsoft.com> wrote in message
news:B1D135B2-E47A-4736-8D96-DE61D636636F@microsoft.com...
>I have a report with 13 subreports. Each one contains specific information
> about a type of problem or application that could relate to the main
> record
> (a location).
>
> I have put the title for each subreport on to the Report itself and then
> of
> course, if there is no information for that specific subreport, there is a
> blank space before the next one.
>
> What I would actually like is for a message to display that says something
> like "No issue currently exists for xxxx (being the type of issue), or no
> data has been recorded".
>
> I am sure there is an easy way to do this but I haven't had any luck
> searching. Any advice is appreciated!
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Reports All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET