Has my subreport go data in it or not?

  • Follow


Hi

I am printing a report of Items Ordered in response to a mailshot. If
there are any Advance Orders for books not yet in print, a subreport
is included with the detail line. I am then trying to add the total of
books ordered to the total value of advance orders. Can I tell from my
main report if my subreport has data in it? I have tried using IsNull
on one of the fieldnames, but I get #Error or #Name.

Stapes

0
Reply Stapes 4/17/2007 2:02:55 PM

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

Details in:
    Bring the total from a subreport onto a main report
at:
    http://allenbrowne.com/casu-18.html

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

"Stapes" <steve.staple@gmail.com> wrote in message
news:1176818575.593137.109550@d57g2000hsg.googlegroups.com...
> 
> I am printing a report of Items Ordered in response to a mailshot. If
> there are any Advance Orders for books not yet in print, a subreport
> is included with the detail line. I am then trying to add the total of
> books ordered to the total value of advance orders. Can I tell from my
> main report if my subreport has data in it? I have tried using IsNull
> on one of the fieldnames, but I get #Error or #Name.
0
Reply Allen 4/17/2007 4:04:18 PM


1 Replies
159 Views

(page loaded in 0.442 seconds)

Similiar Articles:
















7/17/2012 2:26:20 PM


Reply: