Discussion board where members can get started with QlikView.
I am trying to trigger a macro to change the value of a variable (v_sortIndex) and its not working.
You can see below how im doing:
If v_sortIndex = 2 Then
v_sortIndex = 1
Thanks in advance,
This is from the API Guide:
set v = ActiveDocument.Variables("Variable1")
if not v.GetContent.IsNum then
set v = ActiveDocument.GetVariable("Variable1")
What about the values (2, 3...)?
This can be done with a macro, but why not just use an action?
How? I want to that command to verify the value of a variable. If it's 2, then a i want to change to 1...
How can I do that if a action?
Thanks in advance
How does your variable gets it's value in the first place?