Results 1 to 9 of 9
  1. #1
    neil123williams is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    16

    Radio Buttons

    Here's what I have

    RadioButton_Present
    RadioButton_Absent
    RadioButton_Tardy

    I have RadioButton_Present and RadioButton_Absent grouped.

    I want the RadioButton_Tardy to not be enabled if RadioButton_Absent is selected.

    Thanks in advance.

  2. #2
    Toyman is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    233
    Quote Originally Posted by neil123williams View Post
    Here's what I have

    RadioButton_Present
    RadioButton_Absent
    RadioButton_Tardy

    I have RadioButton_Present and RadioButton_Absent grouped.

    I want the RadioButton_Tardy to not be enabled if RadioButton_Absent is selected.

    Thanks in advance.
    Why not create an option group for the two

  3. #3
    neil123williams is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    16
    Thanks for the reply Toyman, I tried to do something like that, but I probably don't understand.

    So, you are saying I can group RadioButton_Present and RadioButton_Absent together, then have another group where RadioButton_Absent and RadioButton_Tardy are together? Present and Tardy are dependent; Absent and Tardy are dependent.

  4. #4
    Toyman is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    233
    Quote Originally Posted by neil123williams View Post
    Thanks for the reply Toyman, I tried to do something like that, but I probably don't understand.

    So, you are saying I can group RadioButton_Present and RadioButton_Absent together, then have another group where RadioButton_Absent and RadioButton_Tardy are together? Present and Tardy are dependent; Absent and Tardy are dependent.
    The option group returns an integer. So lets say you have an option group consist of one radio for Present and one radio for Absent. The radio for present will return a value of one (1) and radio for present will return a value of two (2). Since there is only one option, Present or Absernt, you would create only one field in your table "Present_Absert". Set this field to a number field. 1=Present and 2=Absent. When you choose either the radio for present or the radio for present, the table will have the input of 1=present or 2=absent.

  5. #5
    neil123williams is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    16
    Yeah, I got that part. My challenge is that I don't want my user to be able to select Tardy if Absent is selected.

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Neil,
    Is there 1 choice to be selected?

    Present Or Absent Or Tardy
    or
    is there more to this than meets the eye? Could you describe the options, what do they represent?

  7. #7
    neil123williams is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    16
    No there are two choices. First you select Present or Absent. If they were present, but tardy, tardy should be selected.

    What I want is the Tardy choice to not be option if Absent is selected.

    I guess I should re-think this. Make this a 3 option choice. If they were tardy obviously they were present. Hmmmmmmm. I think that'll do it....

  8. #8
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    How about

    Present and OnTime
    Present but Tardy
    Absent

  9. #9
    neil123williams is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    16
    Yep, that does it!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. what happened to radio buttons?
    By judomum in forum Forms
    Replies: 1
    Last Post: 10-09-2011, 11:58 AM
  2. Working with Radio Buttons and Option Groups
    By queenbee in forum Access
    Replies: 1
    Last Post: 04-29-2011, 02:25 PM
  3. radio buttons from 97 to 2010
    By mmm in forum Access
    Replies: 0
    Last Post: 12-03-2010, 04:20 PM
  4. Replies: 13
    Last Post: 07-26-2010, 03:38 PM
  5. option group radio buttons
    By ManC in forum Forms
    Replies: 9
    Last Post: 03-08-2010, 03:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums