Hi Alun, thanks for your reply.
I'm sure that I had the attachments loading from a collection, but I've also found that attachments and collections don't mix very well so I've fixed my problem by using a lookup to load the attachment directly from the datasource.
The error was with the code as follows.
Launch(First(LR_Review_Gallery.Selected.Attachments).AbsoluteUri)
The error message was "The function 'First' has some invalid arguements".
I've replaced the above with
First(LookUp(LeaveDatabase,ID=LR_Review_Gallery.Selected.ID).Attachments).AbsoluteUri
and it seems to be working again.
Thanks for your speedy reply!
Sahra