[Qgis-user] Default values in form

Jürgen E. Fischer jef at norbit.de
Fri Jun 26 07:20:50 PDT 2015


Hi Didier,

On Fri, 26. Jun 2015 at 10:08:12 +0200, didier peeters wrote:
> 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.
 
If the column has default values in postgis they will already be used as
default value in the form.


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden             http://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode                         
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150626/0811d589/attachment.sig>


More information about the Qgis-user mailing list