Dear List,
I found the SQL instruction CASE... WHEN... ELSE... END. So, I think I resolved 
my previous question.

Davide Inchingolo




________________________________
 Da: Davide Inchingolo <[email protected]>
A: Lista QGis <[email protected]> 
Inviato: Mercoledì 10 Ottobre 2012 9:06
Oggetto: Conditional expressions in Field Calculator and Labels?
 

Dear List,
I'm new in QGis, and I like this software very much.
Now, my question: is it possible, in Field Calculator and in Labels, to use 
conditional expressions in the form: IF <condition> THEN <result> ?
I would like to use expressions in which <condition> is based on other fields 
in the Attribute Table, and write the <result> for the field I am calculating, 
or for the labels.
I hope it is so, but, not knowing SQL well, I don't know the correct sintax, 
nor if it is possible...

Hoping in some gentle replies,
Best regards
Davide Inchingolo
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to