• Thanks for the tip - I did manage to find out why it did not work, I needed to use an additional "WHERE" qualifier.

    I also agree with the alias suggestion, but my main platform for development is web based and I use DreamWeaver for that. Using aliases tends to mess with the built in SQL builder, so I have never really spent too much time getting to use aliases.

    Thanks

    Hans