Bonjour je cherche a faire un if avec un else if a l'interieru dans mon rapport.
jusque la rien de sorcier, hors lorsque j'ajoute un and dans mon else if cela ne marche plus...
voici le code et en rouge ce qui le fait planter
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 <cell id="46"> <property name="textAlign">center</property> <property name="verticalAlign">middle</property> <image id="51"> <property name="source">file</property> <expression name="uri"> if(row["CREDITLIMIT"] <= 21000) "iconSet/status_aqua16_green.gif"; else if((row["CREDITLIMIT"] >= 21000) && (row["CREDITLIMIT"] <= 51000)) "iconSet/status_aqua16_orange.gif"; else "iconSet/status_aqua16_red.gif"; </expression> </image> </cell>
Partager