We are trying to use the uInsertImage method in DF_T69CTO.
#Report.uInsertImage Name("abacus.png") Fromtop(#UseTop + 15) Fromleft(20) Height(30) Sourcepath('C:\LANSAG14\X_WIN64\X_LANSA\x_DEM\web\vl\vlfone\images\Other\')
The result is border outline in the position that the image should be. No image is displayed.
VLF-One Printing (RESOLVED)
Re: VLF-One Printing
This is in a VL-Web application so probably the path has to be a full or relative URL.
It's probably relative to the C:\LANSAG14\X_WIN64\X_LANSA\x_DEM\web\vl\ folder which is where your VL-Web pages come from.
Maybe try something like Sourcepath('/vlfone/images/Other/') or Sourcepath('/vlfone/images/Other') ?
It's probably relative to the C:\LANSAG14\X_WIN64\X_LANSA\x_DEM\web\vl\ folder which is where your VL-Web pages come from.
Maybe try something like Sourcepath('/vlfone/images/Other/') or Sourcepath('/vlfone/images/Other') ?
Re: VLF-One Printing
This works for me - #Report.uInsertImage Name("abacus.png") Fromtop(15) Fromleft(30) Height(32) Width(32) Sourcepath('vlfone/images/Other/')
Re: VLF-One Printing
This is working. Thanks for your help.
Re: VLF-One Printing (RESOLVED)
Is there a way to check if the image exists before issuing the uInsertImage command ?
Re: VLF-One Printing (RESOLVED)
You could execute a server module method call that used the OV_FILE_SERVICE (CHECK_FILE ......) built-in function call to check I guess.
https://docs.lansa.com/14/en/lansa015/i ... ervice.htm
Someone else might know how to a check directly from the client.
https://docs.lansa.com/14/en/lansa015/i ... ervice.htm
Someone else might know how to a check directly from the client.