sql="Insert into kaoqing_table( user,recordYear,recordMonth,recordDay,recordTime,Iswork,note)"
values("&Session("username")&","&Cint(Year(Now()))&","&Cint(Month(Now()))&","&CintDay(Now()))&","&Time&",1,"¬e&")作者: 小嘛怪 时间: 2010-1-9 04:38
你的SQL语句本身就有问题:
sql="Insert into kaoqing_table( user,recordYear,recordMonth,recordDay,recordTime,Iswork,note)"
values("&Session("username")&","&Cint(Year(Now()))&","&Cint(Month(Now()))&","&CintDay(Now()))&","&Time&",1,"¬e&")