So what I ended up doing was creating an array of members using set variable
I then created a data structure from this that I could iterate through. I’m not sure if this is the best way to do this but it has worked for me so I though I would share it. Thanks for the help.

