<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 Simon,</p>
<p>It is a bit data provider dependent. For many data providers (e.g. Postgis, SpatiaLite, Geopackage) you just don't fill in this value (or better set the edit widget to "read only") - provided that the database has a sequence defined for the primary key column. The values are filled in when saving the data. In 2.16 there is a new mode for PostgreSQL to immediately get the id value (experimental).</p>
<p>What data format are you using?</p>
<p>Greetings,</p>
<p>Andreas</p>
<p>On 2016-05-31 13:43, Simon Muirhead wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p dir="ltr">Hi, I am new to QGIS, coming from ARCGiS. I was wondering when creating a new feature in a shape file, QGIS asks to fill in the id in the attribute table for every feature created. Is there anyway to have this done automatically like ARCGiS does?</p>
<p dir="ltr">Regards, Simon Muirhead<br /> Written from my Nexus 6P so don't expect Tolstoy.</p>
<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">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p> </p>
<div> </div>
</body></html>