[Qgis-user] Generate autofield

Andreas Neumann a.neumann at carto.net
Wed Jun 12 02:09:03 PDT 2019


Hi José, 

QGIS has the concept of a virtual field - see
https://docs.qgis.org/3.4/en/docs/user_manual/working_with_vector/attribute_table.html#creating-a-virtual-field
 

Greetings, 

Andreas 

On 2019-06-12 11:06, Jose C. Rodríguez Durán wrote:

> Hi everybody,
> 
> 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) 
> 
> Any idea??
> 
> Thanks in advance for your help!!  
> -- 
> 
> José C. Rodríguez Durán
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190612/71cdd7f9/attachment.html>


More information about the Qgis-user mailing list