老师们好:请问这段代码有什么错,运行时总是提示"操作符丢失"
Adodc1.RecordSource = "select * from 12班 where " + Combo2.Text + " " + Combo3.Text + " '" + Text16.Text + "' " + Combo5.Text + " " + Combo6.Text + ""
Adodc1.Refresh
谢谢指导!
vbsoldier
学分:0 LV1
您好,您没指定条件字段。
例如:Adodc1.RecordSource = "select * from 12班 where 姓名='" & Combo1.Text & "'"