[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

Displaying value

I have a view with a column where i want to display an icon. I have enteret the formula:
@If(field "value" ; "number" ; "number")
and it works; the value is shown correctly in the column. BUT, when I set the column to display value as icon it doesn't work, nothing is displayed! HELP!!!
0
Jenslyn
Asked:
Jenslyn
  • 4
  • 3
1 Solution
 
PaebdbCommented:
Do you choose the right numbers for the icons you want to see ?
0
 
JenslynAuthor Commented:
Yes. 161 and 0. They are both on the list of acceptable icons. And the number is shown correctly. The problems first start when i choose to have the value shows as icons.
0
 
PaebdbCommented:
Hmm, 0 is no icon (empty). Are you sure that the case with number 161 ever happens ?
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
JenslynAuthor Commented:
Yes. 161 and 0. They are both on the list of acceptable icons. And the number is shown correctly. The problems first start when i choose to have the value shows as icons.
0
 
JenslynAuthor Commented:
Yes. I looked it up in the table and I just tried with other numbers (1 and 16). Same result!
0
 
PaebdbCommented:
Another question:
do you put your numbers in "" ? Then they are handled as text.
Should be
@If(field="value" ;"number ;number)
0
 
JenslynAuthor Commented:
Doh! Of course!!! Stupid me! Thanx!
I have another question...hang on and I'll post it.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now