3 Replies Latest reply: Feb 18, 2014 3:37 PM by Fei Xu RSS

    Variables in edit report heading

    Fei Xu

      Hi all,

      I have two questions regarding edit report. In report settings, click picture button, we can see the image list. However there are only six places. What if I need to have more than 7 images imported? How can I do that?

       

      ImageList.png

       

      The second question is that if I do this by setting a variables in the script like below:

       

      SET logo = if([Field]=11,'\\logos\11.jpg',
        if([Field]=22','\\logos\22.jpg',
         if([Field]=33,'\\logos\33.jpg',
          if([Field]=44,'\\logos\44.jpg',
          .
          .
          .
          .
          .
          .

          if([Field]=99,'\\logos\99.jpg')
      ))))....));

       

      and then if I write a text object with =logo and set the Representation of the text box to image, the text object can display the images correctly based on the selection in the field.

       

      But I can't make it work on the section of the header either using =$(logo) or =logo. Can anyone know how to set variables here? It just shows the path of the image but not real pictures. Is it doable?

      Variable.JPG.jpg

       

       

      I am using QV 11 SR3.

      Thank you very much.

       

      Fei