Bundle

The Bundle prefix 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.

Syntax:  

Bundle [Info] ( loadstatement | selectstatement)

 

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.

Arguments:  

Argument Description
loadstatement | selectstatement 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.

The Info prefix may be omitted when Bundle is used.

Example:  

Bundle Info LOAD * From flagoecd.csv;

Bundle SQL SELECT * from infotable;

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?