Hi,

I have created 2 radio button groups with multiple buttons to show/store Gender & Preferred Contact Method. I Use two seperate fields in Access DB for each group. First field can be "F" or "M", second field can be "H", "W", "M",.. etc. When I pull the record from the DB, I select the appropriate radio button according to the field values. When I do the selection from the GUI, I am able to select one item from each group, but when I do it through the code, it clears out the first selection:

Code:
Private Sub ShowRadioButtons() 
        Select Case editGender.Text 
            Case "M" 
                RadioButtonGenderM.Select() 
            Case "F" 
                RadioButtonGenderF.Select() 
        End Select 
        Select Case editPreferred.Text 
            Case "W" 
                RadioButtonW.Select() 
            Case "H" 
                RadioButtonH.Select() 
            Case "M" 
                RadioButtonM.Select() 
            Case "F" 
                RadioButtonF.Select() 
            Case "P" 
                RadioButtonP.Select() 
            Case "O" 
                RadioButtonO.Select() 
            Case "E" 
                RadioButtonE.Select() 
        End Select 
    End Sub
If I swap two select statements, always one item from the second select statement is selected. I tried grouping the buttons in two panels and two groups boxes and both give the same error.

Any idea?