VBA Label/TextBox properties missing?

  • Thread starter Thread starter Rog
  • Start date Start date
R

Rog

I have some unbound text boxes and labels that I have
added to my report. In VBA, I want to change some of the
properties... i.e Foreground color, Caption, Value.

The problem is when I go to use them in code, the
Caption, Text, Value, Forecolor etc are not showing up.
I get a bad list of values to use. Other controls the
values in the dropdown list seem to be ok.

How can I get this fixed?

Thanks,

Rog
 
Hello!
Even though these properties do not show up in the list,
you can still use them by typing in the name of the
property and the value you wish to assign to it. If you
have a control called Text1:

Text1.ForeColor = 255 (255 is the number for red)
Text1.Value = "Hello"
Text1.Visible = True

Go in to Access Help and on the Find Tab type in:
"Text Box Control Properties" for more info.
 
Back
Top