DBAchick
Programmer
- Apr 27, 2000
- 61
I am trying to find a record in one recordset where the group name matches a record in another recordset but a field in that second recordset's record is null.<br><br>Here is my line of code:<br><br>If Exists_rs![RLGroupName] = Snap_rs![RLGroupName] AND IsNull(Exists_rs![RLString2] then Answer = "Yes"<br><br>This line of code is within a loop. The first time through Answer should be Yes because Exists_rs![RLString2] is null. However, the second time through, RLString2 is NOT null (value = "North"
and Answer is still being set to "Yes".<br><br>What am I missing? I have a flat spot on my head from banding it against my cubicle wall!!!