2 Replies Latest reply: Jul 28, 2015 3:55 AM by Jordi Arenas Grau RSS

    Condition for pictures

      Hi everyone!


      I have two questions:

      1) Is it possible to identify a picture in script so that I could use it futher via its ID or anything else

      2) The main problem is that I need such a condition that only 1 of 10-15 pictures will be represented. These pistures should be saved in qvd.


      Many thanks in advance!


        • Re: Condition for pictures
          Tresesco B

          From help:



          The Bundleprefix is used to include external files, such as image or sound files, or objects connected to a field value, to be
          stored in the qvw file.


          If a piece of external information, such as an image or a sound file is to be connected to a field value, this is done in a table that is loaded with the Info prefix. In order to maintain portability, it is possible to include the external files into the .qvw file itself. To this end
          use the Bundle prefix. The bundled info files are compressed in the process, but will nevertheless take up additional space both
          in the file and in RAM. Therefore consider both the size and the number of bundled files before going for this solution.


          The info may be referenced from the layout as normal info, via the chart info function or as an internal file via the special syntax qmem:// fieldname / fieldvalue alternatively qmem:// fieldname / < index > where index is the internal index of a field value.


          The Info prefix may be omitted when Bundle is used.


          Bundle[Info] ( loadstatement | selectstatement)




          Bundle Info Load * Fom flagoecd.csv;


          Bundle SQL Select * From infotable;


          • Re: Condition for pictures
            Jordi Arenas Grau

            hi Marina,


            You can use Bundle method.


            I attached an example with a various examples. Bundle, Info, Background...