cn.Execute "update limit_tbl set limit_rent='" & Check1.Value & "' _
    limit_change='" & Check2.Value & "'where limit_eid='" & Combo1.Text & "'"
就这条语句总是说缺少语句结束 怎么回事

解决方案 »

  1.   

    cn.Execute "update limit_tbl set limit_rent='" & Check1.Value & _
        "'limit_change='" & Check2.Value & "'where limit_eid='" & Combo1.Text & "'"
      

  2.   

    cn.Execute "update limit_tbl set limit_rent='" & Check1.Value & "' " & _ 
        "limit_change='" & Check2.Value & "' where limit_eid='" & Combo1.Text & "'" 
      

  3.   

    cn.Execute "update limit_tbl set limit_rent='" & Check1.Value & "' _ 
        limit_change='" & Check2.Value & "'where limit_eid='" & Combo1.Text & "'" 二种颜色的换一下位置/
      

  4.   

    cn.Execute "update limit_tbl set limit_rent='" & Check1.Value & "' " & _ 
        " ,limit_change='" & Check2.Value & "' where limit_eid='" & Combo1.Text & "'" 
      

  5.   

        
        cn.Execute "update limit_tbl set limit_rent='" & Check1.Value & _
        "' limit_change='" & Check2.Value & "'where limit_eid='" & Combo1.Text & "'"
      

  6.   

    cn.Execute "update limit_tbl set limit_rent='" & Check1.Value & _
    "'limit_change='" & Check2.Value & "'where limit_eid='" & Combo1.Text & "'"