G
Guest
Hello all,
How can I get variables passed to a report from a form to print on my printer?
I have a unbound text box in my report 's Page Header section that displays
custom text depending on values selected from my form. Everything works as
expected while viewing in the report window. If I print the report everything
prints except the values passed from the form.
The unbound text box is named "txtCustomer" that's in the Report Header
section. In the Report Headers "On Format" event I have the following
procedure:
Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As Integer)
Dim headText As String
headText = "Product Type Listing for "
Me.txtCustomer = headText & Forms![Application Form]!ProductType.Value
End Sub
-Sky
How can I get variables passed to a report from a form to print on my printer?
I have a unbound text box in my report 's Page Header section that displays
custom text depending on values selected from my form. Everything works as
expected while viewing in the report window. If I print the report everything
prints except the values passed from the form.
The unbound text box is named "txtCustomer" that's in the Report Header
section. In the Report Headers "On Format" event I have the following
procedure:
Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As Integer)
Dim headText As String
headText = "Product Type Listing for "
Me.txtCustomer = headText & Forms![Application Form]!ProductType.Value
End Sub
-Sky