1.) Yes, subform is what I meant to say.
2.) Here is the code listed behind the print-option:
Private Sub Print_Box_Click()
DoCmd.Echo False
' Open the report in Preview mode.
DoCmd.OpenReport "R: Box Label", acViewPreview
DoCmd.PrintOut acPages, 1, 3, acHigh, 1, False
DoCmd.Close ' Close the report.
DoCmd.Echo False
End Sub
3.) I see the records that I want, but instead of just getting one page with
all the document titles, I receive pages for all the document titles listed.
And each of the pages that prints out still contains all of the document
titles, not separate files.
Well... you know what a "Document Title" is and what "files" are in your
context. We don't! It appears that you are opening a report based on a query
which returns all records. If you want just a specific box, you will either
need to change the Query so that it references your form for a criterion, or
add a WhereCondition to the OpenReport line: something like
DoCmd.OpenReport "R: Box Label", acViewPreview, _
WhereCondition := "[BoxNo] = " & Me!txtBoxNo
where BoxNo should be name of the field identifying the specific label you
want printed, and txtBoxNo is the name of a control on the Form containing the
value of the box number that you want.