PrintMultipleLabel.mdb (intermediate)

Please consider donating $1 per sample downloaded, find out why here
Download
PrintMultipleLabel.zip
Access 97 (26 KB)

This form illustrates how to print multiple labels which matches the value of the record in the form. The code is behind the 'Print Report' button and basically creates a query: 'qryMyQuery' which is the Record Source for the report and then opens the report in preview mode

To print multiples, the sub 'CreateLabelNum' deletes then fills the table 'tblLabelNums' with the number of records in the combo box. This table is then joined to the main table WITHOUT indicating a Join field. This creates a cartesian product which will join each selected row with a row in the tblLabelNums table.

 

Feedback

 

Need Winzip?

Return to Main Page