Thank you, for your quick reply.
I have it working on a normal web collection - I copied the code needed from that collection (test environment) but I'm guessing the code wouldn't be any different?
I just cant get it working on my test environment re; database collection.
I can copy/paste the code I have for you to see whether I have missed anything?
regards
Nick