So, I am trying to create my first report using LANSA, and am using the examples DF_T69H10 thru H40. I can find no documentation on using the #REPORT command (or someone please correct me on what it is called).
I want images on my report. The images are stored on a non IBMi server, on our network. There is a parameter in #report.uInsertImage called SOURCEPATH. I'm hoping that this can somehow point to where the directory that stores the image.
Can anyone help?
Here's my code:
#Report.uInsertImage NAME(#ImageName) FROMTOP(#UseTop) FROMLEFT(#UseLeft) SOURCEPATH(#ImageLoacation)
Unfortunately LANSA's support team could not point me to any documentation or examples.
So should the image show on my screen as well?
#report.uInsertImage SourcePath (RESOLVED)
Re: #report.uInsertImage SourcePath
There's no documentation because these are just a shipped example of one of the many ways you might produce reports.
Re: #report.uInsertImage SourcePath
If you look at DF_T69H1O you can see the definition of #REPORT like this....
#Report is just the local program name for an instance of reusable part #DF_T69CTO.
Code: Select all
* Interface with widget.
Define_Com Class(#DF_T69CTO) Name(#Report)