• Got it working thanks, it was the loginname column had some nulls, so I had to match on a different column. Dohh!