M
Mick Ruthven
How can I test for no records in the On Open event of a report so I can
close it before it appears? I can't use the report's On No Data event
because that occurs after the On Format event and I have code in the On
format event that blows if there are no records. I now have a test in the On
Format event that tests for no records and closes the report there, but an
empty report appears. I want to test for no records in time to close the
report without any part of the report displayed.
close it before it appears? I can't use the report's On No Data event
because that occurs after the On Format event and I have code in the On
format event that blows if there are no records. I now have a test in the On
Format event that tests for no records and closes the report there, but an
empty report appears. I want to test for no records in time to close the
report without any part of the report displayed.