Thanks for sticking with me on this June.
I can live with print preview but when I run the report with the code below in it I get:
Compile Error: Method or data member not found
Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.ctrCost.Visible = (Forms!Parameter!ReportSelector = "Cost")
Me.ctrLabor.Visible = (Forms!Parameter!ReportSelector = "Labor")
Me.ctrWO.Visible = (Forms!Parameter!ReportSelector = "Total Work Orders")
Me.ctrPM01.Visible = (Forms!Parameter!ReportSelector = "PM01 Only")
Me.ctrPM02.Visible = (Forms!Parameter!ReportSelector = "PM02 Only")
End Sub
I'm guessing that means I'm calling a variable or function that I shouldn't be?