我有一个OPTION和CHECK同时用,但=TRUE时,CHECK不起作用,CHECK该怎么用

解决方案 »

  1.   

    说详细些,checkbox怎么不起作用?
      

  2.   

    If Option1.Value = True and Check1.Value = True then
    查询语句....
    好象查询语句不起作用
    还有就是CHECK1后面有个COMBO1,在FORMLOAD是Combo2.Enabled = False,当
    Private Sub Check1_Click()
    If Check1.Value = True Then
    Combo2.Enabled = True
    End If
    End Sub
    运行时Combo2不可选,Combo2.Enabled = True没起作用
      

  3.   

    check控件的value不是boolean——0 is Unchecked (default), 1 is Checked, and 2 is Grayed
    所以,判断是否勾选用check1.value=1