十万火急!!请高手请教!!怎样实现让用户在MSHFlexGrid输入的数据提交到access数据库里面
小弟不胜感谢!!!!

解决方案 »

  1.   

    没人回答吗?怎么设置mshflexgrid属性,让用户可以输入啊?
      

  2.   

    与TextBox组合来用
    http://www.hosp.ncku.edu.tw/~cww/html/q00184.html
      

  3.   

    mshflexgrid控件是只读绑定,必须手工写保存代码
    dim i as long
    with mshflexgrid
        for i=1 to .rows-1
            conn.execute "insert into tablename(...) values(...)"     '增加记录
            conn.execute "update tablename set ... where ... "        '修改记录
        next i
    end with
      

  4.   

    自已画一个TextBox在Mshflexgrid上面,在Mshflexgrid的相关事件中让TextBox可见并得到焦点输入内容,在TextBox的相关事件中再将相关内容写入Mshflexgrid单元格中,代码网上有很多了