Hello Stefan,
Thanks so much for responding and for your helpful suggestions. I did try making a global variable and passing the ID to it, but I couldn’t get it to work. I’ll give your ideas a go and will post here when I’ve had chance to experiment.
Thanks again for your help.
best,
Rob