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

Print Subform Records

Status
Not open for further replies.

bluedollar

Programmer
Jul 24, 2003
174
GB
I have a subform which I try to print out using the following code:

Dim stDocName As String
stDocName = "list_quotes_subform"
DoCmd.SelectObject acForm, stDocName, True
DoCmd.PrintOut

I apply a filter and orderby on the subform. However when I print out the subform data ALL the records print out regardless of the filter and orderby that has been applied.

Is there a way of printing out the relevant records without using a report??

Any help would be greatly appreciated.

Thanks

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top