As a beginner I try the different examples. One exercise was to put a static image as a logo on a report.
Which should be straightforward. I’ve included the .jpg in the project and a ReportPicture in the report and next selected the image in the Behavior panel of the Inspector. It simply doesn’t work.
Not on Windows and not on Mac. I must be doing something something wrong??
I’ve seen some other comments on this forum
Hi Maarten, if you mean that you don’t see the image in the ReportPicture once you select the image in the Image property, that’s an old issue.
You have to insert into the BeforePrinting event of the ReportPicture Me.Picture = MyPicture
Hi Fred, thanks for the quick reply.
I had a look at the BeforePrinting event, but I still can’t get it to work.
I tried your solution, but it failed.
The ReportPicture appears not to have a Picture property it does have an Image Class.
Any suggestions what I’m doing wrong?
I’m using a Windows PC + Win 10. But I can run the test on a Mac as well.
I must be doing something stupid, I guess. But don’t know what.
(Maybe something with the picture?? I’m using a jpg.
Can you send me a sample file??
Thanks Nedi,
it works fine when I generate the report.
My confusion came from the fact that I expected the static image to be visible in the header in the Report Designer. I saw this in an example of Eugene Dakin and expected it to work like that, but apparently that no longer functions. (Although that would be nice)