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

How to print form and sub-form together

Status
Not open for further replies.

Hairy64

Technical User
Apr 24, 2006
10
US
We have developed a form (not a report) which has personal information on it and a sub-form which then shows all the training this person has had.

When we put a print button on the form with code to print the form, the sub-form is dropped off. The VBA coding is simple:
Code:
Private Sub Print_Click()
     DoCmd.PrintOut
End Sub
How do we correct this?

Thanks in advance.
 
Thanks Duane,

But if you can print a form, why not the sub-form with it?

Michael1947
"There are 10 kind of people in the world. Those who understand binary, and those who don't
 
Your subform should appear on the printout. I just opened the sample Northwinds mdb and did a print preview of the Orders form. I am seeing all of the order details records in the subform.

I would check various properties of the subform control to see why your experience is different.

Create reports with subreports ;-)

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top