Hi,

if you define the values as default in PostgreSQL and use my :) plugin DataDrivenInputMask [1] these values are inserted in the mask that is created by the plugin in QGIS. Thus for fields with defaults you cannot insert NULL vallues (but that's why you define a default).

Bernhard

http://plugins.qgis.org/plugins/DataDrivenInputMask/

Am 26.06.2015 um 10:08 schrieb didier peeters:
Hello,

Simple question : is there a way to set a default value for an attribute in 
QGis ?

I have Postgis layers in QGis in which I’m inserting or updating data, and I 
would like that some fields would be filled automatically unless I fill them 
myself.  Well that’s the definition of a default value, and I don’t think that 
using layers stored in Postgis would make any difference.

Thanks
Didier
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user




__________ Information from ESET Mail Security, version of virus signature 
database 11847 (20150626) __________

The message was checked by ESET Mail Security.
http://www.eset.com


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to