(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!
(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!
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