Thread: Visible or Not
View Single Post
  #2  
Old May 6th, 2010, 04:03 PM posted to microsoft.public.access.reports
John Spencer
external usenet poster
 
Posts: 7,815
Default Visible or Not

Try moving the code to the section that contains the control you are trying to
hide. The Open Event is too early.

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

rml wrote:
I'm using the following code to make a few objects visible or not. I have it
on a report on the Open Event. I get an error "You entered an expression
that has no value"

Please help? Thanks!

If Me.Client_Id = "NA" Then Me.Text32.Visible = False Else Me.Text32.Visible
= True