Info
The info prefix is used to link external information, such as a text file, a picture or a video to a field value.
Syntax:
Info( loadstatement | selectstatement )
If a piece of external information, such as a text file, a picture or a video is to be linked to a field value, this is done in a table that is loaded using an info prefix.(In some cases it will be preferable to store the information inside the qvf file, by using the bundle prefix. The table must contain two columns only, the first one with the field values that will form the keys to the information, the second one containing the information elements, that is, the file names of the pictures etcetera.
The same applies to, for example, a picture from a database management system. On a binary field, a blob, the info select statement makes an implicit bundle, i.e. the binary data will be fetched immediately and stored in the qvf. The binary data must be the second field in a SELECT statement.
If a picture needs to be resized, the image_size clause can be used.
Example:
Info LOAD * from flagoecd.csv;
Info SQL SELECT * from infotable;
Info SQL SELECT Key, Picture From infotable;
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!