J
Jason F
I need to print labels that consist only of a single number! When the report
is opened a dialog box "frmMaxNo" opens and asks for the Last number and that
value is inputted in text box "txtMaxNo". When you click "OK this form is
minimized and the report opens in print preview.
I have a text box in the details part of the report.
Name: txtCount
Control Source: =1
Running Sum: over all
I have added an event procedure to the report
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Cancel = Me.txtCount > Forms![frmMaxNo]![txtMaxNo]
End Sub
When I run this report and input 42 in frmMaxNo, I get just 1 label with a
number "1". I need 42 labels with 1-42 on them. Without referencing a table
or query with a set number of records, how can I make this work? I know I
need to set me record count to 42. How do I accomplish this?
Thanks in advance for your advice and guidance.
is opened a dialog box "frmMaxNo" opens and asks for the Last number and that
value is inputted in text box "txtMaxNo". When you click "OK this form is
minimized and the report opens in print preview.
I have a text box in the details part of the report.
Name: txtCount
Control Source: =1
Running Sum: over all
I have added an event procedure to the report
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Cancel = Me.txtCount > Forms![frmMaxNo]![txtMaxNo]
End Sub
When I run this report and input 42 in frmMaxNo, I get just 1 label with a
number "1". I need 42 labels with 1-42 on them. Without referencing a table
or query with a set number of records, how can I make this work? I know I
need to set me record count to 42. How do I accomplish this?
Thanks in advance for your advice and guidance.