Binary
The binary statement is used for loading the data from another QlikView document, including section access data. It does not load the layout information or variables.
We recommend that you only load data with the binary statement from documents with an optimized data model, that is, a data model that does not contain synthetic keys. If you load data from a document containing synthetic keys that only reference other synthetic keys, the entire data set may not be loaded.
Only one binary statement is allowed in the script. The binary statement must be the first statement of the script, even before the SET statements usually located at the beginning of the script.
Syntax:
binary [[path] filename ]
Arguments:
Argument | Description |
---|---|
path |
The path to the file, either absolute, or relative to the .qvw or .qvf file containing this script line. An absolute path is required if the file is not located in the QlikView path.
|
filename |
The name of the file, including the file extension .qvw or .qvf. If a file name is not supplied, the statement will load from the app itself. In other words, it will load from the app containing the binary statement. |
Examples and results:
Example | Result |
---|---|
Binary ; |
This will load data from the app itself. |
Binary customer.qvw; |
In this example, customer.qvw must be in located in the QlikView working directory. |
Binary c:\qv\customer.qvw; |
This example uses an absolute file path. |