M
mtonkovich
Dear NG,
My query is letting 6 records slip through the cracks that should be
filtered. What I'm trying to accomplish with the query below is the
following:
I want the records if the following conditions are met:
InvalidKillCheck is 1 and any of the following are also met:
1) [OLDTEST]![county] Is Null
2) [OLDTEST]![CheckCounty] Is Null
3) [County]![CountyID]) and [OLDTEST]![CheckCounty] are equal
The 6 records that the Query it is missing have missing values for
[OLDTEST]![CheckCounty] and InvalidKillCheck = 1.
Can anyone see why this may be happening? Your help is geniunely
appreciated.
Mike
UPDATE County INNER JOIN OLDTEST ON County.COUNTY = OLDTEST.county SET
OLDTEST.InvalidKillCheck = "0"
WHERE (((OLDTEST.InvalidKillCheck)="1") AND (([OLDTEST]![county]) Is
Null)) OR (((OLDTEST.InvalidKillCheck)="1") AND
(([OLDTEST]![CheckCounty]) Is Null)) OR
((([OLDTEST]![InvalidKillCheck])="1") AND
(([County]![CountyID])=[OLDTEST]![CheckCounty]));
My query is letting 6 records slip through the cracks that should be
filtered. What I'm trying to accomplish with the query below is the
following:
I want the records if the following conditions are met:
InvalidKillCheck is 1 and any of the following are also met:
1) [OLDTEST]![county] Is Null
2) [OLDTEST]![CheckCounty] Is Null
3) [County]![CountyID]) and [OLDTEST]![CheckCounty] are equal
The 6 records that the Query it is missing have missing values for
[OLDTEST]![CheckCounty] and InvalidKillCheck = 1.
Can anyone see why this may be happening? Your help is geniunely
appreciated.
Mike
UPDATE County INNER JOIN OLDTEST ON County.COUNTY = OLDTEST.county SET
OLDTEST.InvalidKillCheck = "0"
WHERE (((OLDTEST.InvalidKillCheck)="1") AND (([OLDTEST]![county]) Is
Null)) OR (((OLDTEST.InvalidKillCheck)="1") AND
(([OLDTEST]![CheckCounty]) Is Null)) OR
((([OLDTEST]![InvalidKillCheck])="1") AND
(([County]![CountyID])=[OLDTEST]![CheckCounty]));