Change Pictures with Condition

Stimulsoft Reports.NET discussion
Ipad
Posts: 17
Joined: Mon Jul 05, 2010 3:29 am
Location: Köln

Change Pictures with Condition

Post by Ipad »

Hello,

is there andy chance to switch some pictures with conditions?
For example

Image

i wanna switch the pictures in the first column, if the Text in the second column were change.

thanks

Ipad
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Change Pictures with Condition

Post by Ivan »

Hello,

Please provide more details regarding your issue.

Thank you.
Ipad
Posts: 17
Joined: Mon Jul 05, 2010 3:29 am
Location: Köln

Change Pictures with Condition

Post by Ipad »

For Example
In the right culomn, in the first row is a text like "Hello"
then i wanna show the Star Picture, if the text is like "Thank you"
i wanna show the house.

The left cell have to change his picture in condition to the Text.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Change Pictures with Condition

Post by Andrew »

Hello,

In general, you can adjust the image depending on the text using scripts in BeforePrint event of a databand.
Specific solution depends on your data and the structure of the report.
You can send us a sample of your report with data, we investigate it and give you some recommendations.

Thank you.
Ipad
Posts: 17
Joined: Mon Jul 05, 2010 3:29 am
Location: Köln

Change Pictures with Condition

Post by Ipad »

Hello Andrew,

the table, wichich i am talking about ist Table3.

Thanks in advance !

Ipad
Attachments
505.BesuchVorbereitung.mrt
(213.41 KiB) Downloaded 308 times
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Change Pictures with Condition

Post by Ivan »

Hello,

Please check the "Report sample.mrt" in attachment.

Thank you.
Attachments
506.Report sample.zip
(1.82 KiB) Downloaded 389 times
Ipad
Posts: 17
Joined: Mon Jul 05, 2010 3:29 am
Location: Köln

Change Pictures with Condition

Post by Ipad »

Hello Ivan,

perfect, thank you!

and once again,
thanky you for that really great support!

Ipad
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Change Pictures with Condition

Post by Andrew »

Thank you for the good words!

Have a nice day!
Ipad
Posts: 17
Joined: Mon Jul 05, 2010 3:29 am
Location: Köln

Change Pictures with Condition

Post by Ipad »

one more question! ;-)

I wanna set a variable which is filled from a Dataset.
In that Variable if selected the Option "function" and choosed the Dataset.
But at runtime the variable is null!

Thanks for help
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Change Pictures with Condition

Post by Ivan »

Hello,

Also please select the ReadOnly checkbox.

Thank you.
Post Reply