Prevent data entry in textbox

  • Thread starter Thread starter dhstein
  • Start date Start date
D

dhstein

I have some textboxes that are prevented from data being entered. Now I
can't find the setting to do that for another text box. I thought there was
an "allow edits" or something - but I just don't see it. I appreciate any
help on this.
 
I have some textboxes that are prevented from data being entered. Now I
can't find the setting to do that for another text box. I thought there was
an "allow edits" or something - but I just don't see it. I appreciate any
help on this.

You can set the control's Locked property to Yes.
Or you can set the control's Enabled property to No.
Or you can set the control's Enabled property to No and it's Locked
property to Yes.
Try them all and see which one does what you want.

They are both found on the Data tab of the control's property sheet.
 
On Tue, 7 Jul 2009 20:06:01 -0700, dhstein

Set the Locked property.

-Tom.
Microsoft Access MVP
 
Fred and Ton,

Thanks for your replies. I just couldn't find that before for some reason
- brain freeze I guess.
 
Back
Top