@agiletortoise thank you! That's taken me back on the right track. I'll play around a bit and try to get it working

Thanks again :)

@agiletortoise woohoo it's working, thanks for your help and for making awesome apps!