标题:vb access问题
取消只看楼主
爱人
Rank: 1
等 级:新手上路
帖 子:79
专家分:0
注 册:2004-10-11
 问题点数:0 回复次数:1 
vb access问题
Dim rs As New ADODB.Connection
AddSaveSQL = "Insert Into shipmentreceipt(client,opepeople,product,price,number,place,time) Values ('" & Trim(Cmbclient.Text) & "','" & Trim(Cmbproduct.Text) & "', _'" & Trim(cmbopepeople.Text) & "','" & Trim(Cmbplace.Text) & "','" & Trim(txtprice.Text) & "','" & Trim(txtnumber.Text) & "','" & Trim(txttime.Text) & "')"
rs.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\ahsh.mdb;Persist Security Info=False"
rs.Open ""
rs.Execute (AddSaveSQL)

提示sql语句语法错误!哪位帮忙看看哪错了>?
搜索更多相关主题的帖子: access 
2007-02-09 18:17
爱人
Rank: 1
等 级:新手上路
帖 子:79
专家分:0
注 册:2004-10-11
得分:0 
已经解决!

2007-02-09 18:46



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-120436-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.083611 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved