Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

type conversion error??????

What's wrong with this code....

any type conversion error??????


set v1=ActiveDocument.Fields("Age").GetPossibleValues

set s1=int(trim(v1.item(0).text))

s2=s1+10

msgbox(s2)





1 Solution

Accepted Solutions
Not applicable
Author

Hi Sivaramanak,

This is the right code:


sub test
set v1=ActiveDocument.Fields("Age").GetPossibleValues

s1=Int(trim(v1.item(0).text))
s2=s1+10
msgbox(s2)
end sub


Best regards.

View solution in original post

1 Reply
Not applicable
Author

Hi Sivaramanak,

This is the right code:


sub test
set v1=ActiveDocument.Fields("Age").GetPossibleValues

s1=Int(trim(v1.item(0).text))
s2=s1+10
msgbox(s2)
end sub


Best regards.