<div dir="ltr">Select all the records that have -99999997.  Then open field calculator, check the box for "Only update selected features" and "Update existing field" and enter the expression toint(0).<div><br></div><div><br></div><div>Phil</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 10, 2016 at 8:13 AM, Willem Korevaar <span dir="ltr"><<a href="mailto:wereldvak@gmail.com" target="_blank">wereldvak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have a attribution table with multiple rows . I want to replace a number --99999997 to '0'  (=zero) for the whole of the attribute table. I have used the expression - case when   "P_ANT_ARU"  is  -99999997  then '0' else    "P_ANT_ARU"  end -  for every feature but I wonder if there a faster way to use in the field calculator to get rid of -99999997.<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div><div>Willem Korevaar</div>
</font></span></div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>