How to get report not to run on No Data
- From: "doyle60@xxxxxxx" <doyle60@xxxxxxx>
- Date: 11 Jul 2005 09:02:31 -0700
I can't seem to interrupt a report from running when there is no data.
The report has a image control that is set on the On Print property of
the section it is in:
Photo.Picture = PhotoPathStyle
This gets an error only when there is no data.
I put a message in the OnNoData property of the form that the user
should pick something. But this doesn't stop the error from coming up.
The error is Run-time error '13': Type mismatch, which doesn't seem to
mean much.
I can't get the print button not to deactivate if a user picks nothing,
the subject of another post here. So I thought to let the user press
the print, give him a warning, and be done with it. But no.
Thanks,
Matt
.
- Follow-Ups:
- Re: How to get report not to run on No Data
- From: M.L. Sco Scofield
- Re: How to get report not to run on No Data
- Prev by Date: Re: Creating Event Procedure Programatically
- Next by Date: RE: Help with SELECT CASE
- Previous by thread: making a particular query the activedata***
- Next by thread: Re: How to get report not to run on No Data
- Index(es):