我有一个非常简单的代码,可以根据IN语句返回多行... from oes_customer我将在BoXI中运行代码,并且需要更改in语句,以便运行报告的人员将通过报告刷新来定义IN语句列表。如何编写IN语句,以便运行报表的人员可以使用多个“cunr”进行刷新?我尝试使用chr函数加上@variable来给出与我的第一个语句中使用
此select语句有效。rs.Open "Select Company from Customers where Company LIKE '" & Replace(Range("K4").Value, "'", "''")& "%' " 此select语句不起作用。rs.Open "Select Company from Customers <em