函数不是这么写的 你双引号引起来就是字符 用&符号啊sql1=sql&"and Src_ID in ("&AutoKey(S_Key)&")" AutoKey(S_Key)的返回值是:"Select * from cm_Source where Src_title like '%" & strKey & "%' or Src_Url like '%" & strKey & "%'" & strNew1 & strNew2select id from 不是*