|
Assigning the root path to a global variable should work the same as an all text string
GLO:ImagePath = 'c:\pics\'
?MyImage {PROP:Text} = GLO:ImagePath & CUS:SysId & '.jpg'
If you are having trouble I would do a simple test to verify you have the right location/file:
if not exists(GLO:ImagePath & CUS:SysId & '.jpg')
message('File does not exist!|' & GLO:ImagePath & CUS:SysId & '.jpg')
else
?MyImage{PROP:Text} = GLO:ImagePath & CUS:SysId & '.jpg'
display(?MyImage)
end
HTH
Steve B.
|