Options

Problem when printing item picture in rtc report

zeonzeon Member Posts: 130
edited 2013-09-19 in NAV Three Tier
I wan't to show the picture from the item table on an rtc report. The picture is placed in the body section and not in the page header of the report.

It works fine as long as a picture is present on the item, but if that is not the case the rtc report will show a small red cross. :(



Can I avoid that, and how?

Thanks!

Answers

  • Options
    lyngelynge Member Posts: 85
    You could enter a Visibility expression in Image properties

    Expression should be something like "=IsNothing(Fields!<blob Picture field>.Value)"
  • Options
    zeonzeon Member Posts: 130
    This didn't work. Still showing a red "X", where the picture should have been.

    I have also tried
    =iif(Fields!Item_Picture.Value = true,true,false)
    
    , but still not working :-(
  • Options
    ppavukppavuk Member Posts: 334
    it is how this works. the only way - is to use placeholder (small image, say 5x5 pixels, just white background) and assign it to item.picture in report dataset. in that case your dataset will have actual pictures for existing images and placeholder image for non existing.
  • Options
    zeonzeon Member Posts: 130
    Oh my :roll:

    But, thanks for replying!!!
Sign In or Register to comment.