PrintMultipleLabel.mdb (intermediate) |
Post Reply |
Author | |
Roger Carlson
Microsoft MVP Joined: 20 Feb 2008 Status: Offline Points: 261 |
Post Options
Thanks(0)
Posted: 28 Jul 2008 at 11:03pm |
Please consider donating $1 per sample downloaded, find out why here.
PrintMultipleLabel.mdb 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. Download |
|
|
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |