<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi José,</p>
<p>QGIS has the concept of a virtual field - see <a href="https://docs.qgis.org/3.4/en/docs/user_manual/working_with_vector/attribute_table.html#creating-a-virtual-field">https://docs.qgis.org/3.4/en/docs/user_manual/working_with_vector/attribute_table.html#creating-a-virtual-field</a> </p>
<p>Greetings,</p>
<p>Andreas</p>
<p id="reply-intro">On 2019-06-12 11:06, Jose C. Rodríguez Durán wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">Hi everybody,<br /><br />I'm trying to generate an automatic field, I mean, a field that depends for two others. We have FIELD1, FIELD2 and SUM. The result should be SUM = FIELD1 + FIELD2. The thing is, if I change the value of FIELD1, the value of SUM should change. Example: FIELD1 (8) + FIELD2 (10) = SUM (18)  -----> FIELD1 (4) + FIELD2 (10) = SUM (14) <br /><br /><br />Any idea??<br /><br />Thanks in advance for your help!!  <br clear="all" />
<div> </div>
-- <br />
<div class="gmail_signature" dir="ltr">
<div dir="ltr"><strong>José C. Rodríguez Durán<br /></strong></div>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org" rel="noreferrer">Qgis-user@lists.osgeo.org</a><br />List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br /></p>

</body></html>