NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike McLoughlin on December 29, 2009, 02:33:42 PM
-
I have a field called vis:type which is 1 to 7 - on the browse I need to show this with its full text description (eg "Review").
Which is the best embed for this?
regards
Mike
-
Mike, you can format the browse column as you like (fields and formatting if you care to) and put it into a local variable. Then use that variable in the column field. Do the formatting in the embed: 3 - Inside Browse Loop | 5 - Before Table Rows.
-
7 states is quite a lot for this approach, but you can also put conditional transforms of the field on the conditional tab.
along the lines of
Condition: cus:gender = 'M'
Display: 'Male'
and so on.
Cheers
Bruce
-
I put in 2 conditions as follows:
Condition: 'Vis:type=1'
Field: 'Review'
Condition: 'Vis:type=2'
Field: 'Assessment'
But every row shows as 'Review'.
What am I missing? Apart from a brain :)
Mike
-
The condition shouldn't be in quotes, as it is an expression....
Cheers
Bruce
-
Thanks - I was thinking it was like a filter regarding quotes.
Mike