Cool - it's working now! Cheers for showing me the second way as well as I think it may help me out with writing modules like you do!

Thanks very much

Rob