adocommand1.CommandText:='delete from ILPCA where ([时间]='''+da_dbedit.Text+''')';
adocommand1.Execute;我想用上述方法删除access数据库中ILPCA表中的记录,其中[时间]在数据库中是'日期/时间'类型的.
但是上述方法运行出错.请高手指点 该如何呀?
adocommand1.Execute;我想用上述方法删除access数据库中ILPCA表中的记录,其中[时间]在数据库中是'日期/时间'类型的.
但是上述方法运行出错.请高手指点 该如何呀?
adocommand1.CommandText:='delete from ILPCA where [时间]=#'+da_dbedit.Text+'#';
adocommand1.Execute;