Hi All,
I'm working on a VBA app written by a much more capable colleague and he isn't in today, without being condescending (please), could someone hazard a guess at what the following code is trying to do:
rs3 and rs2 are recordsets, I know that much, and I understand that if the conditions are met then the variable b will be set to True, but I'm not too up on the syntax of using recordsets and it's a bit hard to work backwards.
Any guesses welcome
Cheers
I'm working on a VBA app written by a much more capable colleague and he isn't in today, without being condescending (please), could someone hazard a guess at what the following code is trying to do:
Code:
If rs3(rs2(dataItem).Value) = rs2(dataValue) Or (IsNull(rs3(rs2(dataItem).Value)) And IsNull(rs2(dataValue))) Then
b = True
End If
rs3 and rs2 are recordsets, I know that much, and I understand that if the conditions are met then the variable b will be set to True, but I'm not too up on the syntax of using recordsets and it's a bit hard to work backwards.
Any guesses welcome
Cheers
Last edited: