Disabling a Textbox (1 Viewer)

sznsx

Registered User.
Local time
Today, 07:03
Joined
Jul 25, 2004
Messages
20
Hello All !

I have a few textboxs that get their values calculated by a query. I believe Access automatically sets the textbox so that calculated values cannont be changed but I am still able click on the textbox and attempt to input values (I get beeping noises letting me know I cannot input). I have used the "disable" option but the turns the text to light and not comfortable to read. How can I disable the text box but retain the dark black text!
 

Carnafex

Registered User.
Local time
Today, 21:03
Joined
Jan 19, 2004
Messages
38
In the control properties there are 2 fields, Enabled and Locked.

Setting Locked = true is enough so that the user cant edit any data in that field.
Setting Enabled = false means that the user cannot set the focus into that box.

Set locked = true and enabled = false will give you the effect your looking for. Just note that this means they cannot interact with the text box in any way, it seems just like a label. (Just in case this isnt what you want)

Hope that helps

Ta

Jason
 

sznsx

Registered User.
Local time
Today, 07:03
Joined
Jul 25, 2004
Messages
20
Yes!

Totally what I was looking for, thanks so much!
 

Users who are viewing this thread

Top Bottom