G
Guest
I've used an OnNoData event to cancel print preview if the bound query is an
empty recordset. The report is the second of two that open with a button
click on my parameter entry form, so I'd just like to add a line to close the
Access message box that tells me the 2nd report was cancelled. The end users
just don't need to be bothered with that. I'm not sure what kind of object
the notification is. I tried just using a DoCmd.SetWarnings (WarningsOff),
but that wasn't it. Can someone help me out with a couple lines of code to
do this? Thanks!
empty recordset. The report is the second of two that open with a button
click on my parameter entry form, so I'd just like to add a line to close the
Access message box that tells me the 2nd report was cancelled. The end users
just don't need to be bothered with that. I'm not sure what kind of object
the notification is. I tried just using a DoCmd.SetWarnings (WarningsOff),
but that wasn't it. Can someone help me out with a couple lines of code to
do this? Thanks!