与openrecordset有关
运行以下代码,提示错误:事实错误'3061'
参数不足,期待是1
......
strrecord=combo1.text
'combo1.text显示customerid,customerid是整形
Set rstproduct = mybusiness.OpenRecordset _
("select firstname+lastname as name,productsname, _
produtamount,orderdate,offerdate from customers,orders _
where customers.customerid=orders.customerid _
and orders.customerid="+strrecord, dbOpenDynaset)
错误应该是在... orders.customerid="+strrecord
我试了许多办法也不行,请告诉我该怎麽该,谢谢.