Qlikvew scripting language

As far as I understand, the following comment in qlikview

//This is a comment 'This is not a comment 

What's happening. I see a lot of VB script comments for qlikview on the net, for example https://denvercoder9.wordpress.com/2012/02/29/qlikview-vb-scripting-for-newbies/

or here

http://community.qlik.com/thread/14503

Can someone please enlighten me? I simply created a qlikview file and pressed Ctrl + E to pull up the script window. Is there a default setting for setting the language here? What am I missing?

+6
source share
2 answers

QlikView has two types of scripts: the Download and Module scripts.

The Download Script document is executed upon rebooting ( Ctrl + R ) and is responsible for obtaining the source data and converting it so that you can use it in your QlikView document. The load script language is similar to the SQL code in appearance and uses C style comments ( // Comment or /* multi-line comment */ ), however, as far as I can research, there were no official comments about the language in which it was originally based.

You can edit this script using the script editor Ctrl + E.

You will find syntax documentation in the QlikView help installed with the application, or through the help guide that you can find here: http://community.qlik.com/docs/DOC-4549

Module scripts are methods that you can use to interact with the QlikView object model, for example, you can change the font of objects (for example, diagrams, buttons) or, possibly, automatically select values ​​in lists. This is the type of script that you contacted in your question.

You can edit these scripts in the module editor Ctrl + M , and they can be written in VBScript or JScript. If the script is written in VBScript, then any comments begin with a single quote, for example. ' this is a comment .

QlikView object model documentation can be found at http://community.qlik.com/docs/DOC-2640 .

+9
source

The download language is quite similar to VB, however it is based on the Lua language, as you can see in: http://documentation.qlikview.com/expressor/3.8/expressor_datascript_language/datascript_language_reference_guide/The_Datascript_language.htm

+2
source

Source: https://habr.com/ru/post/981709/


All Articles