Change display picture in if condition

Hello,

I have two pictures that I need to display based on a if condition.


if test1

display image1

else

display image2


Ho can I do this in the report code?


Thanks for your help.

Comments

  • LurkingKiwiLurkingKiwi Wellington, New Zealand

    You could put two image components in the same place, and in the before print event, switch the visibility of them depending on your condition.

  • OK, LurkingKiwi.

    This is a very good idea.

    Thanks so much.

Leave a Comment