Can someone explain why these 2 queries have different results?
1) returns 314 records
SELECT locations.LOCATION_NUMBER, locations.LOCATION_DESCRIPTION,
FROM locations
WHERE (((locations.LOCATION_IS_INACTIVE)<>True))
ORDER BY locations.LOCATION_DESCRIPTION;
2) returns 308 records
SELECT locations.LOCATION_NUMBER, locations.LOCATION_DESCRIPTION,
FROM locations
WHERE (((locations.LOCATION_IS_INACTIVE)=False))
ORDER BY locations.LOCATION_DESCRIPTION;
The table locations is an ODBC linked table from another program. In viewing the records in the table I see 314 records where the field LOCATION_IS_INACTIVE is 0 and 2 where it is -1.
I am going to use <>True, but I would like to understand why this is happening for future reference.
Thanks,
Sup
1) returns 314 records
SELECT locations.LOCATION_NUMBER, locations.LOCATION_DESCRIPTION,
FROM locations
WHERE (((locations.LOCATION_IS_INACTIVE)<>True))
ORDER BY locations.LOCATION_DESCRIPTION;
2) returns 308 records
SELECT locations.LOCATION_NUMBER, locations.LOCATION_DESCRIPTION,
FROM locations
WHERE (((locations.LOCATION_IS_INACTIVE)=False))
ORDER BY locations.LOCATION_DESCRIPTION;
The table locations is an ODBC linked table from another program. In viewing the records in the table I see 314 records where the field LOCATION_IS_INACTIVE is 0 and 2 where it is -1.
I am going to use <>True, but I would like to understand why this is happening for future reference.
Thanks,
Sup