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

How to give a value to Qlikview variable through macro

Hi Guys,

I have written a macro to get some value to a qlikview variable through macro

macro is like

if(value = "-1") then

Temp_Date_From = ActiveDocument.Evaluate("Date_From_All")

else

i have to get the value of "Temp_Date_From" in "Date_From_All"

Date_From_All - qlikview variable

Temp_Date_From - Variable used in the macro

Any idea how the else part can be written?

Thanks In Advance

2 Replies
Not applicable
Author

set vDateFromAll = ActiveDocument.Variables("Date_From_All")

vDateFromAll.GetContent.String

Not applicable
Author

^^

Both of those go in the macro, not in the script (assuming Date_From_All is already a variable).