有如下的查询项,select NAME,ID,COUNTRY,CITY,SALARY,POSITION,AGE from tbl_employeeInfowhere COUNTRY in (#prompt('strCountrySqlList','string','''china'',''japan'',''america''')#)strCountrySqlList为文本提示框参数,当构造strCountrySqlList为''china'',''japan'...
显示全部有如下的查询项,
select NAME,ID,COUNTRY,CITY,SALARY,POSITION,AGE from tbl_employeeInfo
where COUNTRY in (#prompt('strCountrySqlList','string','''china'',''japan'',''america''')#)
strCountrySqlList为文本提示框参数,当构造strCountrySqlList为''china'',''japan'',''america'',或者china'',''japan'',''america或者china,japan,america等都查询不到数据,只有输入单个的china等才可以查到。
为什么默认条件格式可以查询到三个国家的全部数据,而构造的却不行了?#prompt()#不是宏函数吗?函数的原理是怎么样的额,不只是宏替换么?迷惑,求助坛子大侠援助,多谢
收起