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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

On No Data

Status
Not open for further replies.

tizwaz

Technical User
Aug 8, 2002
437
GB
I have a report with 2 with sub-reports. The second of which quite often has no data in it. The main report is leaving space for it even so. I no you can put code on the OnNoData event but how would I code it so that the main report didn't leave space for a blank sub-report?
 
Have you tried setting the CanShrink property of the subreport to "YES". This should take care of your problem.

[flush]

DBAMJA

It is said that God will give you no more than you can handle. I just wish God didn't have so much faith in me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top