请问:这条语句应该怎么写!!

sea03 2003-12-12 11:55:35
在vb里想将Access数据库里的一个表的所有记录删除,但是不删除报表。
执行"delete 表名"后提示语法错误。
请问这条语句该怎么写。
...全文
86 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
taosihai1only 2003-12-14
  • 打赏
  • 举报
回复
delete from table1 where col1>'12'
JoAiron 2003-12-13
  • 打赏
  • 举报
回复
access 中还是用这样用楼上的不行
delete * from tblname
yoki 2003-12-12
  • 打赏
  • 举报
回复
delete * from 表名
WangPengAn 2003-12-12
  • 打赏
  • 举报
回复
DELETE TableName
pxpy 2003-12-12
  • 打赏
  • 举报
回复
Do While Data1.Recordset.EOF = False
Data1.Recordset.Delete
Data1.Recordset.MoveNext
Loop
这是以dao方式来实现的过程
rexyudl 2003-12-12
  • 打赏
  • 举报
回复
DELETE 表名
SoHo_Andy 2003-12-12
  • 打赏
  • 举报
回复
delete from 表名
forever_chang 2003-12-12
  • 打赏
  • 举报
回复
delete from 表名 where .....
ywg888 2003-12-12
  • 打赏
  • 举报
回复
delete * from 表名 或 delete from 表名
sea03 2003-12-12
  • 打赏
  • 举报
回复
我试过不行的

1,216

社区成员

发帖
与我相关
我的任务
社区描述
VB 数据库(包含打印,安装,报表)
社区管理员
  • 数据库(包含打印,安装,报表)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧