Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access vba code 1

Status
Not open for further replies.

jay2502

Technical User
Apr 20, 2007
25
A2
I have a Form with a Option group that i am using to select which form needs to be opened. I also have an unbound text box that is used for the criteria of the one form.

What I would like to ask is.
Is it possible to make the text box grayed if option one is select and not grayed when option two is select?
And how would I do that?
 
In the Change event procedure of the frame:
Me![textbox name].Enabled = (Me![option group frame].Value <> 1)

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top