hi all, I have been trying to hide a column in a report using the code below
Private Sub Report_Load()
If Forms!Mainform!tItem1 = False Then
Me.Item1.ColumnHidden = True
End If
End Sub
I can get this to work on a form, but not on a report , I keep getting the following error message
run-time error "2455"
you entered an expression that has an invalid reference to the property columnhidden.
can you help please .