troubleshooting Question

MS Access 2013 Report

Avatar of dawber39
dawber39Flag for United States of America asked on
Microsoft Access
4 Comments3 Solutions395 ViewsLast Modified:
I have a report which is basically a pic-sheet for Customer Orders. In the detail section you have a QtyOrdered, QtyShipped, and a line to X the product off, followed by a Description.

If the description contains a certain value... let's say "Bananas" for instance, I am trying to get JUST that line to be hidden/invisible.

I have this in the ON LOAD event - but it does nothing

Private Sub Report_Load()
If Me.Description.Value = "Bananas" Then
Me.QtyOrdered.Visible = False And Me.QtyOrdered.Visible = False And Me.Description.Visible = False
End If

End Sub

Appreciate any help or suggestions
ASKER CERTIFIED SOLUTION
pdebaets

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros