View Single Post
Old 06-03-2020, 08:33 AM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Sorry, that was my mistake. What posted before was wrong. The first function should be "cmp", not "raw_field". I have no idea how I did that.

It should have been:

Code:
program:
cmp(list_item(field('#gr1'),1,','),0,'','Yes','')
The alternative is:
Code:
program:
cmp(list_item(raw_field('#gr1'),1,','),0,'','Yes','')
The possible advantage of that is that the value of #gr1 doesn't go through any formatting specified for the column. Though I don't know if the decimal point will be locale specific, so it could be a comma or a dot.
davidfor is offline   Reply With Quote