为什么insert into语句不能完成添加?
Dim inttjbh As Integer
inttjbh = rstcnn5!bh
cnn1.Execute "insert into sjyl select * from ylyysj where bh=" & inttjbh
rstcnn6.Requery
.....
注:rstcnn5对应的表是ylyysj,rstcnn6对应的表是sjyl.
上面那个sql添加语句insert为什么不起作用。我单步执行,inttjbh有值,并且表
ylyysj中确有bh=inttjbh的记录。为什么表ylyysj中的bh=inttjbh的记录添加不到
表sjyl中?那儿出错了?