我的SQL字符串一直出现数据类型不匹配错误。带复选框的访问表单,checked = true和unchecked = false。 (SQL表显示checked = 1且unchecked = 0)(访问表视图显示checked = -1和unchecked = 0)下面的字符串,任何人都可以协助吗?
strSQL = "SELECT * FROM dbo_" & Site & "_Employees WHERE Wednesday = 'TRUE' "
Set rst = dba.OpenRecordset(strSQL, dbOpenDynaset, dbSeeChanges)