rs.Open "Select * from 档案数据表 where 类别 =✀" + Trim(Text1.Text) + "✀", cnn, 3, 2

2025-01-21 00:01:56
推荐回答(1个)
回答1:

写法如下:
rs.Open "Select * from 档案数据表 where 类别 like'%" + Trim(Text1.Text) + "%'", cnn, 3, 2