<p dir="ltr"><br>
On 25 Dec 2014 12:37 am, "Paolo Cavallini" <<a href="mailto:cavallini@faunalia.it">cavallini@faunalia.it</a>> wrote:<br>
><br>
> Hi all.<br>
> The calculation of $length on the attached file returns weird results:<br>
> when calculated as virtual field is ok, whereas when updating an<br>
> existing field a negative result is given. I assume this is related to<br>
> topological errors in the line, but nevertheless the diff between the<br>
> two methods is unexpected.<br>
> Furthermore, "Update all" does not seem to work on a column where<br>
> sorting is applied (by clicking on column head).</p>
<p dir="ltr">I can't test right now, but this sounds like possibly the column isn't large enough to hold the length values, and they are overflowing into negative values. Could this be the case?</p>
<p dir="ltr">Nyall</p>