Thanks for the code example,
I will begin my research today on this.