Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
cesaryulgon
Contributor II
Contributor II

How to read input field in the module editor

Hello
I require the basic instruction of how to read a field input variable to be read in the module editor (VB)

Thanks for the help
Labels (1)
2 Solutions

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

set modvariable=ActiveDocument.Variables("YOUR_VARIABLE_NAME")

View solution in original post

dplr-rn
Partner - Master III
Partner - Master III

like so
ActiveDocument.Variables("vYourVariable").SetContent modvariable,true

check this thread
https://community.qlik.com/t5/QlikView-Documents/Useful-Qlikview-Macros/ta-p/1494530

View solution in original post

5 Replies
dplr-rn
Partner - Master III
Partner - Master III

set modvariable=ActiveDocument.Variables("YOUR_VARIABLE_NAME")
cesaryulgon
Contributor II
Contributor II
Author

And how do I assign a new value to that variable within the module editor?
dplr-rn
Partner - Master III
Partner - Master III

like so
ActiveDocument.Variables("vYourVariable").SetContent modvariable,true

check this thread
https://community.qlik.com/t5/QlikView-Documents/Useful-Qlikview-Macros/ta-p/1494530
cesaryulgon
Contributor II
Contributor II
Author

thank you

cesaryulgon
Contributor II
Contributor II
Author

Sorry, one more question. How he performed arithmetic operations between variables