任何人都可以请指教?新来这...我最初得到一个“无效不是空”的错误,并在我修改后,我现在得到语法错误。不是空语法错误
'Add notes about employee
strsql = "SELECT [Employee Number], Declination, Leave, Termed, Comments "
strsql = strsql & "FROM tmpMHPP "
strsql = strsql & "WHERE Declination Is Not Null"
strsql = strsql & "or Leave Is Not Null Or Termed Is Not Null Or Comments Is Not Null"
你在第三线('WHERE赤纬IS NOT NULL结束缺少空格之间'),所以这些字符串被连接为'... NULLOR ...'。 – stakx 2014-10-29 18:42:32