Clicking on text box that not revisable

S

Sue

Hi. I have a text box on a form that is not editable by the user. It
displays an automated number from the associated table. It's shaded so the
user gets the hint that it's not enterable or editable. However, it is
enterable if you click on it. It also becomes unshaded when you click on it.
You still can't revise the number but I'd like it to not be enterable at
all. Any suggestions?
 
O

Ofer Cohen

Set the text box properties

Enable = No
Locked = No

The field will be grayed and the the user wont have the ability to place the
cursor in it
 
S

Sue

Thanks Ofer and Bruce! That did the trick. The Access Help encourages you
to have Locked = Yes.
 
Top