![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have an option group which opens a report dependent on the use of select case within the option Group. Occasionally there will be a report where the function being queried will have no issues associated with it therefore the on No Data will be true. I have tried several methods, including the OnNoData event in the report, display a msgbox saying no data, and then returning to the main form for a different selection. I have tried setting DoCmd.SetWarnings False, but cannot get rid of the error message, (2501) so the programme is halting. I saw one method using a public function but not sure how to call it. That would be the bbest way I presume, as you could set up the Public Sub and then just put the call function in every report with a generic message such as "No Data In Currently Selected Report" The Report is called "AllDeficienciesReport" Thanks JBN -- --------------------------------- --- -- - Posted with NewsLeecher v3.9 Final Web @ http://www.newsleecher.com/?usenet ------------------- ----- ---- -- - |
#3
| |||
| |||
|
|
I have an option group which opens a report dependent on the use of select case within the option Group. Occasionally there will be a report where the function being queried willhave no issues associated with it therefore the on No Data will be true. I have tried several methods, including the OnNoData event in the report,display a msgbox saying no data, and then returning to the main form for a different selection. I have tried setting DoCmd.SetWarnings False, but cannot get rid of the error message, (2501) so the programme is halting. I saw one method using a public function but not sure how to call it. *That would be the bbest way I presume, as you could set up the Public Sub and then just put the call function in every report with a generic message such as "No Data In Currently Selected Report" The Report is called "AllDeficienciesReport" Thanks JBN -- --------------------------------- --- -- - Posted with NewsLeecher v3.9 Final Web @http://www.newsleecher.com/?usenet ------------------- ----- ---- -- - |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |