Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Report with No Records

Status
Not open for further replies.

sinyce

IS-IT--Management
May 27, 2002
57
US
Every day I print a Report based upon a query. Some days the query returns no records, which I still want to print, but with a big text box or image file that says: "NO ENTRIES TO LOGFILE" somewhere in the middle of the page.

I've tried to put a text box in the middle and set Visible=No, then use the form On NoData option to set it to visible, but it disrupts the report layout when there is data.

Any help would be appreciated.

Sinyce
 

Don't Laugh

I had this problem and in the end I just created a dummy report with exactly what you have and on NO Data I printed that one instead. I just copied my original deleted all the bumf and put the text box on and ended the problem - not elegant and whizzy but quick and resolved.

regards


Jo
 
Joanne:

Guess what, I didnt laugh and it worked just like a charm. Did exactly like you said...duped the report, deleted the field name and just placed a text box with my message. Attached that to the On NoData Event. and voila!

Thanks. At least it beat screwing around the idea for half a night.

Sinyce
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top