Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everybody,
I want to display in my macro a possible value of list selection, i know fonction like Getfielfselection(field), but is there a function to get a possible value (white color value)?
Best regards.
Hu Attalah,
Try with something like following:
=concat(distinct YourField, ', ')
Regards.
Hu Attalah,
Try with something like following:
=concat(distinct YourField, ', ')
Regards.
Thx Miguel your solution work.
Rgds.
I want use cancat expression in a if, something like:
if( GetPossibleCount("Activity status")=1 and concat(distinct Myfield,', ')<>'Ok')
then ....
end if
Why The concat dont work in this case?
Hi Attalah,
Certainly, I don't know what are you looking for, could you be more specific?
I've make the following example and it works:
=If(Concat(MyField,', ') = 'Ok', 1,2)
Regards.
I want to use concat in a macro, is it possible?
No, you can't but you could use a variable using the concat expression and read the result in the macro code.
Regards.
Attalah Abdelhamid wrote:I want to use concat in a macro, is it possible?
You can use activedocument.evaluate() to get the value of normal QlikView expressions. So you should be able to use this in a VB macro:
activedocument.evaluate("concat(MyField,', ')")
Hi john,