Limiting an object based on two variables being equal

The basic issue you’re facing is that the “Where” clause does not allow anything other than equality (meaning = ) tests. So the suggestion you were offered is a typical workaround for that.

It’s covered in this FAQ if you want to look at another example.


Dave Rathbun :us: (BOB member since 2002-06-06)