Thanks again, I did get it working, but now I have another question.
Is there a way to reset the global variables when the page load. I tried both startofLayout ->Set variable(Name)=0 and reset global, and both seem to lock up the tiles.
I uploaded my working project on the web. The reason I need to reset them is because each page has different blanks and the pages are random. From the online version the complete layer is active because of the global variable therefore, when it recycles pages the layer becomes active. Is there another way to handle it because I think I might be going at it all the wrong way. I am still learning.
I also updated the linked cabx file from my first post to the new code within the online project.
Link to online Test Project
Thanks again for your help,
John