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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to make disabling and enabling of radio button

Status
Not open for further replies.

osimini1

MIS
Jun 9, 2008
29
US
I want to be able to disable groups of radio buttons on the MSAccess form if one of the “Upper Case” radio button in Fram_1 is checked both Frame_2 and Frame_3 disabled. The code I have seemed not to work. I must confess that I have done everything possible to get this working. Please I need help.
Thank you very much

Frame_1
-----------------------------
Compliant
O Person Answered
O Recorded Message

Non Compliant
O PHONE CONTINUE TO RING
O NO EMERGENCY CONTACT
----------------------------------

Frame_2
-------------------------------------
O wrong Phone Number
O Don’t Know
O Response No
O Refused
------------------------------------

Frame_3
------------------------------
O wrong Phone Number
O Don’t Know
O Response No
O Refused
---------------------------
 
osimini1 . . .

In the After Update event of Fram_1, copy/paste the following:

Code:
[blue]   Dim flg As Boolean
   
   If Me!Fram_1 < 3 Then flg = True
   Me!fram_2.Enabled = flg
   Me!fram_3.Enabled = flg[/blue]

See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top