Hi all, first post, just getting to grips with PowerApps.
I have a Gallery that i am using as a list of 'Links', some of the links are web URLs and therefore use the Launch function and some are Screens therefore need the Navigate function, I have connected to a SQL table see below and the field name is URL.

I expected this to just work out the box, but doesnt seem that way. the code below is OnSelect on the NextArrow Icons shown below.


Thanks in Advance
Simon