C
Charles
I am using the rather technique shown in:
The Knowledge Base Article ID : 95806
How to Skip Used Mailing Labels and Print Duplicates
Which works a treat.
What I would like to do, on each "label", is to have a control that shows
something like:
Label No X of XX
The normal "Runing Sum" method seems not to respond in the way I want.
There are a number of variables in the code, which is reproduced below:
Function LabelInitialize ()
BlankCount& = 0
CopyCount& = 0
End Function
'==================================================
' The following function is the main part of this code
' that allows the labels to print as the user desires.
'==================================================
Function LabelLayout (R As Report)
If BlankCount& < LabelBlanks& Then
R.NextRecord = False
R.PrintSection = False
BlankCount& = BlankCount& + 1
Else
If CopyCount& < (LabelCopies& - 1) Then
R.NextRecord = False
CopyCount& = CopyCount& + 1
Else
CopyCount& = 0
End If
End If
End Function
'==================================================
It seems to me that somewhere / somehow, I should be able to use " CopyCount
".
The Knowledge Base Article ID : 95806
How to Skip Used Mailing Labels and Print Duplicates
Which works a treat.
What I would like to do, on each "label", is to have a control that shows
something like:
Label No X of XX
The normal "Runing Sum" method seems not to respond in the way I want.
There are a number of variables in the code, which is reproduced below:
Function LabelInitialize ()
BlankCount& = 0
CopyCount& = 0
End Function
'==================================================
' The following function is the main part of this code
' that allows the labels to print as the user desires.
'==================================================
Function LabelLayout (R As Report)
If BlankCount& < LabelBlanks& Then
R.NextRecord = False
R.PrintSection = False
BlankCount& = BlankCount& + 1
Else
If CopyCount& < (LabelCopies& - 1) Then
R.NextRecord = False
CopyCount& = CopyCount& + 1
Else
CopyCount& = 0
End If
End If
End Function
'==================================================
It seems to me that somewhere / somehow, I should be able to use " CopyCount
".