I am trying to print a report that is pulling data from my database. My database consists various employee info. Some employees want certain info not available to others so I created a Yes/No column in my database and have it checked if that want everyone to see their info and no if they don't.
My form works fine with this code:
If Me.chkShowInfo.Value = False Then
Me.Address.Visible = False
Me.City.Visible = False
Me.State.Visible = False
Me.Zip.Visible = False
Me.HomePhone.Visible = False
Me.CellPhone.Visible = False
Me.Birthday.Visible = False
end if
When I try and print the report it is not pulling this over. I have tried putting this code in the report with multiple functions and I haven't had any luck. Does anyone have any advice on this matter?? Any help is greatly apprecited.
Thanks in advance,
Chris
My form works fine with this code:
If Me.chkShowInfo.Value = False Then
Me.Address.Visible = False
Me.City.Visible = False
Me.State.Visible = False
Me.Zip.Visible = False
Me.HomePhone.Visible = False
Me.CellPhone.Visible = False
Me.Birthday.Visible = False
end if
When I try and print the report it is not pulling this over. I have tried putting this code in the report with multiple functions and I haven't had any luck. Does anyone have any advice on this matter?? Any help is greatly apprecited.
Thanks in advance,
Chris