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

Need to print subform with no records displayed

Status
Not open for further replies.

brudderman

Technical User
Jul 25, 2004
11
US
I have several subforms (unbound) based on different queries in the detail section of a main form. The fields are formatted with borders an aligned so that the print looks like a grid. In the footer of each subform I have a total based on a formula like this: =Nz(DSUM("amount", "qryMoneyItemized",0)).

The problem is with a subform whose query returns no records. When I run the subform by itself, the grids show, as does a total of 0, and that's the way I want it to appear. But when it's embedded in a main form, only a blank page appears.

What can I do to get this subform to show up even when no records are returned by the query?

THanks!!

Brudderman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top