Visible or Not

R

rml

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
 
J

John Spencer

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top