Problem with access to values via Column name in view

Dear all,

I have following problem and I hope You can help me:

  1. Situation

I have one view. 1st column displays categorized the values of 5 multivalue-fields (dialoglist).

(values :=

(@If(r_k1=“”;“”;r_k1) :

@If(r_k2=“”;“”;r_k2) :

@If(r_k3=“”;“”;r_k3) :

@If(r_k4=“”;“”;r_k4) :

@If(r_k5=“”;“”;r_k5));

@Unique(@Trim(values))

This column is named ‘Numbers’.

Columns 2-6 should display an symbol, namely when one of the multivalue-fields contains the same number as in column 1 ‘Numbers’ is displayed.

@If(@IsMember(Numbers; @Sort(r_k3));1;2)

  1. Problem

It only works, when the value in the multivalue-field is a single-value. If the field contains a textlist (“Number1”:“Number2”) then this formula doesn’t work and it ever will displayed the symbol for “yes, value is inside”).

I hope You can help me.

Best wishes

Danielo

Subject: Problem with access to values via Column name in view

Urk!What a lousy formula!

What’s wrong with

values:=@unique(@trim(r_k1:r_k2:r_k3:r_k4:r_k5))

However, icon value columns cannot be multivalue, so there’s no real way to do this the way you want unless you have 5 columns, column 1 says

values:=@unique(@trim(r_k1:r_k2:r_k3:r_k4:r_k5));

@replace(values;“whatever r_k1 value is”;icon1)

column 2 says

values:=@unique(@trim(r_k1:r_k2:r_k3:r_k4:r_k5));

@replace(values;“whatever r_k2 value is”;icon2)

and so on

Chris