Toggle Background Image

  • I want to be able to deploy a single version of a report with a backgroundImage of 'Draft' in the body that I can display if I pass a parameter that will toggle it on/off.

    The thing is I can't see any property of the background image that would allow me to do that.

    I suppose I have two questions.

    Is what I want to achieve possible?

    If not, if you've had to do this sort of thing how did you achieve the appropriate end result?

    I really don't want to go down the route of having two versions of the same report, one with the image displayed and the other not.

    Many Thanks

  • The answer was so simple and I feel a fool for not working it out.

    Against the value property of Background Image the following was entered:

    =IIf(Parameters!Preview.Value="P", "Draft.PNG","")

  • Good one. Sometimes you get going along a certian thought process and you don't think about other ways....then when you think outside your own boxed in thought process you get it.

    Thanks for posting your solution back.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply