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

Surpress subreport and report fields

Status
Not open for further replies.

kronar

Programmer
Jan 12, 2003
60
US
How would I surpress a subform and some report labels if there are no records in a subquerry? And what module would I insert the code??
 
Could you be more descriptive? If you have a subreport that returns no "child" records then the subreport will not display.

Anytime you want to modify objects in a report, you would generally add code to the On Format event of the section of the report containing the objects.

Duane
Hook'D on Access
MS Access MVP
 
Since Column headings did not show up in the subreport, I placed them in the report. If no children the subreport does not show, but I need to hide the column headings in the report.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top