file folder labels

J

jan1637

I am using Access 97. I want to create one file folder
label each time I add a client to my database. I know how
to create labels using the report feature - but how do I
choose just one label on the sheet to print? I would like
to give the row/column coordinates so that I could reuse
the sheet of labels.
 
F

fredg

I am using Access 97. I want to create one file folder
label each time I add a client to my database. I know how
to create labels using the report feature - but how do I
choose just one label on the sheet to print? I would like
to give the row/column coordinates so that I could reuse
the sheet of labels.

First make sure your label report is properly printing a full sheet of
labels.

Then add a Report Header to your label report.
Add 2 text boxes to the Header.
1) Name one SkipControl
Leave it's control source unbound

2) Name the other SkipCounter
Set it control Source to =[Skip How Many?]

Now code the Report Header Format event as below:

Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As
Integer)
[SkipControl] = "Skip"
Cancel = True
End Sub
==========

Next code the Detail OnPrint event:

Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
If PrintCount <= [SkipCounter] And [SkipControl] = "Skip" Then
Me.NextRecord = False
Me.PrintSection = False
Else
[SkipControl] = "No"
Me.PrintSection = True
Me.NextRecord = True
End If

End Sub
=====

When you are ready to run the label report, it will ask how many to
skip.
Then it will run the report.
 
Top