[Qgis-user] Field calculator : How to fill column with several conditions?

image93 lcelati at cci-paris-idf.fr
Fri Feb 6 12:47:42 PST 2015


Dear all,

I know the synthax in order to fill one field with only one condition 
(field calculator):
--------------------------------------------------
case

When "attribut" = 'value'  then value

End
---------------------------------------------------
But how to do populate automatically one field with two or three or more
conditions? 

I tried the following command but it does not work :


-------------------------------------------------------------------
case

When "attribut" = 'value" and "attribut number2" = 'value'  then value

End
------------------------------------------------------------------

Could you throw light for me?



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Field-calculator-How-to-fill-column-with-several-conditions-tp5186069.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list