Jump to content

date dependent image


rene.beck

Recommended Posts

hi all

I have report where I have to print a customer logo.

There are about 30 different logos (png files),  depending on the data i have to display the corresponding image.

what is the best solution for this?

- a subreport with 30 bands and image on it, activating just the one band?

- one image in the main report and selecting the corresponding image in the expression?

 

BR René

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

The best is the one that works and is easier to understand and maintain.

I think option 2 is much better. Especially if you can create a short expression that uses some parameter.

Even if you put lots of IFs to choose the right image, the fact that all code will be in one place, makes it better to maintain, in my opinion.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...