[Qgis-user] Default values in form

didier peeters dpeeter1 at ulb.ac.be
Fri Jun 26 03:14:50 PDT 2015


Thanks,

I’ll surely take a look at your plugin, and open a ticket if necessary.  

@Stefan : I had seen that post by Nathan Woodrow, but was hoping for something ‘lighter’ …

Didier


> Le 26 juin 2015 à 11:32, Bernhard Ströbl <bernhard.stroebl at jena.de> a écrit :
> 
> 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 at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

Didier Peeters
Institut de Gestion de l'Environnement et d'Aménagement du Territoire (IGEAT) 
Université Libre de Bruxelles (ULB)
CP130/03 
av. F. D. Roosevelt 50
B-1050 Bruxelles   

Tél : +32-2-650 68 17






More information about the Qgis-user mailing list