原帖由 Henry D. Sy 于 2008-12-21 23:01 发表
Dim conn As New ADODB.Connection
Dim sq As String
set conn=currentproject.Connection
sq = "INSERT INTO 库存查询 select * from 所有商品库存"
cnn.Execute sq
原帖由 Henry D. Sy 于 2008-12-22 03:30 发表
刚才直接复制您的代码,没有注意你原来少打了个”o“
将最后一句
cnn.Execute sq
更改为
conn.Execute sq
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |