Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
steve_l
Contributor
Contributor

Variable population outside of script

Hi all, I am facing a situation where variables are being populated with values within my QV application, but are specifically NOT being set in the script nor entered manually in the Variables tab. 

For example, the script is as follows:

SET v_StartDateTimeMin = ' ';

SET v_StartDateTimeMax = ' ';

The support team has assured me no variables are being passed in the QMC-based refresh, nor are there external script inclusions that I can see or anywhere else in the script which would provide values to the variables. As far as I can tell they are set to blank. 

Question: Where else might the application be getting values to populate these variables? Is there an ability to create a hidden variable population script? Or might Support incorrect, and if so how would I view the values being passed from the QMC?

Right now I cannot account for how these values are created. Thanks! 

Labels (2)
1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Variables can be set by Actions within the QV app. These Actions could be attached to objects like buttons or triggers like "OnOpen". Use Document Analyzer to analyze your app and identify what actions it's using as well as all references to the variables in question. 

Qlikview Cookbook: QV Document Analyzer http://qlikviewcookbook.com/recipes/download-info/document-analyzer/

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

View solution in original post

4 Replies
sunilpaul
Contributor II
Contributor II

Hi,

 

the variable values can be passed from other objects using Qlik expression. Kindly check and confirm if no object is updating these variable values.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Variables can be set by Actions within the QV app. These Actions could be attached to objects like buttons or triggers like "OnOpen". Use Document Analyzer to analyze your app and identify what actions it's using as well as all references to the variables in question. 

Qlikview Cookbook: QV Document Analyzer http://qlikviewcookbook.com/recipes/download-info/document-analyzer/

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

Vegar
MVP
MVP

I assume you have checked every included qvs file in the script?

Besides @rwunderlich tip on document triggers it is also possible to mixture with variables in the vb JavaScript script module.
steve_l
Contributor
Contributor
Author

The actions were it! Thanks all, been awhile for me having to work with Actions in QV so didn't think of it.