vb多条件查询语句

2025-01-19 20:27:11
推荐回答(1个)
回答1:

strselect = "select * from 材料表 where 材料类别='" & Trim(txt1.Text) & " ' and 材料名称='" & Trim(txt2.Text) & " ' and 规格及型号='" & Trim(txt3.Text) & "'"