I guess for string operations you need "eq" instead of "=":
expression ('[status]' eq 'K' AND [komnr] = 175 AND [datoforsl] = 0 AND [datovedt] = 0 AND [datoaflyst] = 0) Harry -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Help-with-expression-tp5100327p5100409.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users