如何用SQL语句修改ACCESS数据库里的记录?

解决方案 »

  1.   

    问得太泛了
    回答得也泛
    update 表 set 字段=值 where 条件
      

  2.   

    方法很多,我只举一个例
    Ado_Db.Execute "update pgfa set isExecute=true where ID='001'"Ado_DB是一个ADODB.Connection对象
      

  3.   

    引用DAO3.6
    Dim db As Database
    Set db = OpenDatabase(FileName)
    db.Execute "update 表名 set 字段名=值 where 条件"
      

  4.   

    SQL 语句就是Update 表名 set 字段名=值 where 条件
      

  5.   

    Update table set field='5' where 条件