The "On No Data" event of the subreports do not trigger when the main report
is opened. I guess I could simulate this event with some code but I wonder
if there is an easy way to get the "On No Data" event for a subreport to
trigger when the subreport has no data.
Thanks.
Dick
--
Ken Snell
<MS ACCESS MVP>
"dickw" <di...@att.net> wrote in message
news:Dd-dnRDX6e9...@harbornet.com...
Thats exactly what I did but nothing seems to happen. I but a msgbox line
in the OnNoData code but it never executed even when there was no data from
the underlining query.
If I open the subreport on its own, the OnNoData event triggers as I expect.
Dick
"Ken Snell" <kthiss...@notcomcast.realnet> wrote in message
news:OudfZqv$DHA....@TK2MSFTNGP12.phx.gbl...
What do you want to have happen if the subreport has no data? Likely that
result will need to be programmed into the main report somehow...if you just
don't want the subreport to show, you should be able to set its CanShrink
property to yes?
--
Ken Snell
<MS ACCESS MVP>
"dickw" <di...@att.net> wrote in message
news:faGdnSi_0e2...@harbornet.com...
Thanks for your help.
Dick
"Ken Snell" <kthiss...@notcomcast.realnet> wrote in message
news:upaZJEy$DHA....@TK2MSFTNGP11.phx.gbl...
--
Ken Snell
<MS ACCESS MVP>
"dickw" <di...@att.net> wrote in message
news:99ednXErFfx...@harbornet.com...
Thanks a lot. Your help is appreciated.
Dick
"Ken Snell" <kthiss...@notcomcast.realnet> wrote in message
news:uZpPr4%23$DHA....@tk2msftngp13.phx.gbl...
--
Ken Snell
<MS ACCESS MVP>
"dickw" <di...@att.net> wrote in message
news:eeGdnTn7Nsn...@harbornet.com...