Hello Anh,
Thanks for your reply. I had a hard time following the animated gif because it zips through the code quickly. May I suggest you post the code from the gif as an example? It would be much easier to read.
I'm afraid I'm unable to get it to work - I'm getting the same foreach warnings.
For now, I'll need to keep using my current solution.