26 Apr 2009 at 14:42 #1 m4rshmul3 m4rshmul3 Associate Joined 4 Mar 2009 Posts 36 Hi, I have a MS Access form with a number of check boxes. I want the following scenario. When checkbox 1 is selected I want Checkboxes 2 and 3 to be greyed out so they cant be selected. Any help appreciated! Thanks
Hi, I have a MS Access form with a number of check boxes. I want the following scenario. When checkbox 1 is selected I want Checkboxes 2 and 3 to be greyed out so they cant be selected. Any help appreciated! Thanks
26 Apr 2009 at 14:47 #2 m4rshmul3 m4rshmul3 Associate OP Joined 4 Mar 2009 Posts 36 I currently have the following - Private Sub Box1() If Me.Box1 = True Then Me.Box2 = False End If End Sub Which will remove the tick from the box, but I want the box disabled so it cant be selected.
I currently have the following - Private Sub Box1() If Me.Box1 = True Then Me.Box2 = False End If End Sub Which will remove the tick from the box, but I want the box disabled so it cant be selected.
26 Apr 2009 at 14:56 #3 Pho Pho Soldato Joined 18 Oct 2002 Posts 9,336 Location Derbyshire Box2.enabled = false
26 Apr 2009 at 15:27 #4 Dolph Dolph Man of Honour Joined 17 Oct 2002 Posts 50,386 Location Plymouth What Pho said, or use radio button groups as they were designed to enable a user to select from multiple exclusive options. http://msdn.microsoft.com/en-us/library/aa511488.aspx
What Pho said, or use radio button groups as they were designed to enable a user to select from multiple exclusive options. http://msdn.microsoft.com/en-us/library/aa511488.aspx