Detail_format not working

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a number of text boxes on each line of my report but depending on
certain criteria, i want to play with the .visible property, eg.

If txtbox1.value = "Yes" then
txtbox2.visible = True
txtbox3.visible = False
Else
txtbox2.visible = False
txtbox3.visible = True
End If

Now, when i type the code and come to the . it normally lists the available
properties however both .value and .visible are not in the list. All controls
are DEFINATELY text boxes, as opposed to labels etc.

Whats wrong ??
 
Doesnt matter - done it.

I've had problems with Access. Usually where my right-click doesnt work. I
solve it by just closing and re-opening it. Whether that solved it, or it may
have been a syntax error, I can be sure.

Thanks anyway
 
Widemonk said:
I have a number of text boxes on each line of my report but depending
on certain criteria, i want to play with the .visible property, eg.

If txtbox1.value = "Yes" then
txtbox2.visible = True
txtbox3.visible = False
Else
txtbox2.visible = False
txtbox3.visible = True
End If

Now, when i type the code and come to the . it normally lists the
available properties however both .value and .visible are not in the
list. All controls are DEFINATELY text boxes, as opposed to labels
etc.

Whats wrong ??

Sometimes you don't see everything you should see in the intellisense drop
down. Doesn't mean it won't work if you enter a property or method that you
know is correct.
 
Back
Top