>I only want the photo name to be in the field, as this is also accessed by a desktop app on the LAN.
then put only the name of the photo in INV:Photo then it will works.
if you have:
p_web.SSV('PhotoPath','pictures\')
INV:Photo='myphoto.jpg'
p_web.GSV('PhotoPath') & INV:Photo = pictures\myphoto.jpg
I think this is what you want correct?
If you access this folder from a desktop app then you need to set the correct path.
"web\pictures\myphoto.jpg" or depends on your configuration.
Robert