刺兔 2008-6-13 21:57
清空纪录问题
sql = "delete * from [06级自动化聘课表] where 学期='" & text1.text & "'"
rst.Open sql, cn, adOpenDynamic, adLockPessimistic
运行时提示: “*”附近语法错误
请问怎么回事啊
Nothing 2008-6-13 22:30
不需要加*
sql = "delete from [06级自动化聘课表] where 学期='" & text1.text & "'"
还有,有要用recordset打开删除语句
应当是
cn.execute sql