dim sqla as String
Public rst6 As Recordset
rst6.Open "SELECT * from sss where '" & sqla & "'", ado2, adOpenStatic, adLockOptimistic
-->sqla="欄位1 ='aaa' and 欄位2 ='bbb' and 欄位3 ='ccc'"
結果回應 ::語法錯誤 找不到'運算元' 為什麼會這樣???
傳入
->sqla="(欄位1 ='aaa') and (欄位2 ='bbb') and (欄位3 ='ccc')"
也不對
有誰知道教教我吧!謝謝大家....
vb6+nts4+sp4