access数据库连接后
怎么修改日期型字段
急 啊!!!!

解决方案 »

  1.   

    update table set 日期字段=#2007-12-11# where ...
      

  2.   

    update table set 日期字段='2007-12-11' where ...
      

  3.   

    如果只想把日期更新为当天的话,可这样写:
    update table set 日期字段=now() where ...
    now()是Access的日期函数,如果失败的话就尝试一下用getdate()
    getdate()是SQL的日期函数
      

  4.   

    我想在文本框中输入合法的日期后 利用adodc控件的添加 添加到数据库中 
      

  5.   

    insert into tablename(日期字段) values(#" & 日期变量 &"#)"