The mismatch could be that the KFI is a boolean (Yes/No) field. Try the
following and see if that works
SELECT tbl_Visit.[Shopper ID]
, tbl_Visit.[Visit Number],
tbl_Visit.KFI
, tbl_Visit.[KFI Date]
FROM tbl_Visit
WHERE (((tbl_Visit.KFI)=TRUE)
AND ((tbl_Visit.[KFI Date]) Is Null))
ORDER BY tbl_Visit.[Shopper ID], tbl_Visit.[Visit Number];
If you still get the mismatch error- simplify the query by trying only one
criteria at a time. So you can identify the specific field causing the
problem
In the query design view
Field: KFI
Criteria: True
--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
.
SELECT tbl_Visit.[Shopper ID], tbl_Visit.[Visit Number],
tbl_Visit.KFI, tbl_Visit.[KFI Date]
FROM tbl_Visit
WHERE (((tbl_Visit.KFI)="Yes") AND ((tbl_Visit.[KFI Date]) Is Null))
ORDER BY tbl_Visit.[Shopper ID], tbl_Visit.[Visit Number];
Also trying "" in criteria provides the same result.
- Show quoted text -