HI i have a question
So i have 4 option( opt1, opt2, opt3, opt4) button each represent a option inside my database. and i'm reading these option into a recordset. So when i run the program, if the user chose a record the option button would be set to TRUE or False base on value in my databse.
here is my code:
Now when i'm stepping through the program n checking the GUI, the op1 one would set to true, then if opt2 was true, opt1 would be reset back to false, and opt2 set to true. But if opt3 was false then op2 would still be true. Then if opt4 was true then opt2 was reset back to false.Code:Private Sub ListView1_DblClick()
If ListView1.ListItems.count > 0 Then
varFillCombo.MoveFirst
x = ListView1.SelectedItem.Index
varFillCombo.Move (x - 1)
If varFillCombo!Chamber = "CH1" Then
optCH1WP.Value = varFillCombo!Warn_Page
optCH1WE.Value = varFillCombo!Warn_Email
optCH1HP.Value = varFillCombo!Halt_Page
optCH1HE.Value = varFillCombo!Halt_Email
End If
'If Not IsNull(varFillCombo!Warn_Page) Then = varFillCombo!Name
End If
End Sub
Does anyone know why it does this?
thank
Does anyone know y it does this?
