I created a function to clear any fields in my forms but I also want to uncheck the radiobuttons in the form. I can't apparently use the rb.checked property.
Code:Public Sub ClearForms(ByVal frm As Form) Dim ctrl As Control For Each ctrl In frm.Controls If TypeOf ctrl Is TextBox OrElse TypeOf ctrl Is ComboBox _ Then ctrl.Text = "" End If If TypeOf ctrl Is RadioButton Then ????????? End If Next End Sub