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

Label Problems

Status
Not open for further replies.

jurgen

Programmer
Feb 8, 2001
209
BE
Does somebody have experience with label printing with barcodes in access ?

I want to duplicate one label over a whole page with labels.
pe.

record to print x
labels on 1 label sheet 15
so record x 15 times on the label sheet

anybody some suggestions ? or has done this ?

JJ
 
You've got a couple of ways to approach this. One is to create the entire page of labels on your report placing 15 copies of each field in the appropriate label position. The other is to have a table with 1 field and 15 records. Add this table to your report's query and you'll get 15 copies of each record.
 
Thnkx , i've used the method with the table, but on a network i still have some problems... if 2 users print at the same time

I think I've to adjust the table a little bit

Regards


Jurgen
 
In the detail section of your report where you place the label control, in the print event put the following code:

If [MyCopies] = 0 Or IsNull([MyCopies]) Then
Me.NextRecord = True
Me.MoveLayout = False
Me.PrintSection = False
Else
If PrintCount < [MyCopies] Then
Me.NextRecord = False
End If
End If

You will need something to hold the [MyCopies] # be it a field or hard code it to 15 for example. I use a form where the user selects the # of labels they want and then presses the Print button where they get that many labels.

HTH
Joe Miller
joe.miller@flotech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top