Get Variable by Name or better way to load images

Stimulsoft Reports.PHP discussion
Post Reply
servitux
Posts: 9
Joined: Thu Feb 29, 2024 3:29 pm

Get Variable by Name or better way to load images

Post by servitux »

Hi.

I have a report with master-detail. In detail i have a number of images, created from variables on PHP. Every variable has a unique name, and are diferent in any print.

There is a way to put an expression as {Variable.ByName('IMG1234')} in image object?. If I use {IMG1234} works, but i need to use dynamic names on variables.

Or any solution to print a largue number of images without use base64 data column?

Thanks
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Get Variable by Name or better way to load images

Post by Lech Kulikowski »

Hello,

Unfortunately, no, it is not possible for variables. You can store your images in the data source, and then use column for the Image component.

Thank you.
servitux
Posts: 9
Joined: Thu Feb 29, 2024 3:29 pm

Re: Get Variable by Name or better way to load images

Post by servitux »

Thanks for your fast reply.

Ok, I will search for info to do it in the data source...
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Get Variable by Name or better way to load images

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply