Thank you! Thank you! Thank you! for this code example. I have been looking all over for a working code example to do just this.
I tried your code snippet and it worked for me.
Can you tell me what I am doing wrong in the following thread?
Europe, Middle East and Africa