Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

what is must include and Include statement ?

Hi all,

I load data through include statement. I little know include statement .include statement mainly used for store data connections.and store qvs files. but  the problem is I do not know Must_include statement . Pls tell me out. 1.what is Include statement and include statement main purpose? 2. what is must_Include statement? pls tell help me.

                                                   thanks,

regards

madhu

3 Replies
maxgro
MVP
MVP

the difference is with must include

you get an error if the include file is missing

from QlikView help

$(Include =filename )

$(Must_Include =filename )

The include and must_include variables specify a file that contains text that should be included in the script. The entire script can thus be put in a file. This is a a user-defined variable.

The difference between include and must_include is that include will fail silently if the file is not found during script reload, while must_include will throw an error if the file is not found.

Examples:

$(Include=abc.txt);

$(Must_Include=def.txt);

I.e. the construction set Include =filename is not applicable.

Anonymous
Not applicable
Author

Great to see Must_Include in the QV Help now, anyone know what version it was included ?

Clever_Anjos
Employee
Employee

Since 11.0 I guess