from 子句语法错误 !
VB sp6
Access2000
adodc1
Form1.Adodc1.RecordSource = "select * from 商品基本信息表 where 条码 = 9787115151094"
Form1.Adodc1.Refresh
上面这两句运行就说‘from 子句语法错误’
请高手指正`?!
参考答案:Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\My Documents\mypro\data\销售系统数据库.mdb;Persist Security Info=False"
Adodc1.RecordSource = "select * from 商品基本信息表 where 条码 = '9787115151094'"
Adodc1.Refresh
不用DSN 直接用JET建立