Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Peony
Creator II
Creator II

String value in variable

I have set of some numbers in the field "Num_Set": 10 01, 10 02 , 10 03, 10 04, 10 05. Every number is a string value, cause of space between first pair and second pair of digits.

I need to select maxsimum number from the set (10 05) and assign the result into the variable: v_num_set = MaxString([Num_Set]).

Next step is to use this variable in "Actions - Select in field" for some text object. When I click on this object it should be autoselection in the field "Num_Set" .

So I set in text object's "Actions" field "Num_Set" and as the "Search String" set variable = $(v_num_set).

But as the result, nothing is selected.

If I replase $(v_num_set) by MaxString([Num_Set]) - everything works.

Can any one explaint to me why is it so?

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Read this The Little Equals Sign

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)

View solution in original post

3 Replies
Peony
Creator II
Creator II
Author

I find out that it because in Variable Overview I set formula as "= MaxString([Num_Set])". When I removed "=" and left just  "MaxString([Num_Set])" - it works.

But I still don't get in what case it is neded to write"=" and when it's don't.

Anil_Babu_Samineni

Read this The Little Equals Sign

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Peony
Creator II
Creator II
Author

Thank you. It's more clear now.