<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
I'm using QGIS 2.6.0 on Win 7 x64 - installed via OSGEO4w<br>
<br>
Is there a way to store your field calculator expression to always
process and update that specific field, should geometry be edited or
created for that Layer?<br>
<br>
Let's say I want to create a blank POINT shape file, with a text
attribute called "Sheet".<br>
Whenever a POINT is created or moved, I want this field to be
dynamically updated with:<br>
<blockquote> tostring(abs(toint($y)))+tostring(abs(toint($x)))<br>
</blockquote>
For testing thus far have:<br>
<ul>
<li>created 2 points</li>
<li>Opened the field calculator, clicked 'Update Existing Field'
and put in the expression.</li>
<li>The two existing points now have the correct TEXT values in
the Sheet field</li>
<li>I close the Field calculator</li>
<li>Create a new point in my layer</li>
<li>open the attribute table to find that the 'Sheet' field for
this new point is blank</li>
<li>I open the Field Calculator and I cannot even find a way to
call back the previous expression I used.</li>
</ul>
<p><br>
Am I using the correct QGIS functionality to achieve what I need
to, and if so, where am I going wrong?<br>
<br>
</p>
Thanks & regards,<br>
Zoltan<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services
P.O. Box 7, Muizenberg 7950, South Africa.
Mobile: +27-83-6004028
Fax: +27-86-6115323 <a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
===========================================</pre>
</body>
</html>