<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<p class="ContentPasted0">Good morning to all,</p>
<p class="ContentPasted0"><br>
</p>
<p class="ContentPasted0">first I would like to thank Bernhard Ströbl, Richard McDonnell, Andrea Giudiceandrea and Bernd Vogelgesang for suggestions related to some of my previous posts.</p>
<p class="ContentPasted0"><br>
</p>
<p class="ContentPasted0">Now I have another problem.....</p>
<p class="ContentPasted0"><br>
</p>
<p class="ContentPasted0">I have some tables already created that have a column with autogeneration id codes.</p>
<p class="ContentPasted0"><br>
</p>
<p class="ContentPasted0">From self-generation I often don’t get codes that start from 1 onwards but start with other numbers.</p>
<p class="ContentPasted0"><br>
</p>
<p class="ContentPasted0">I made some tests and I noticed that if I create a table and add 10 lines the autogeneration creates id codes from 1 to 10. If I delete these lines to empty the table when I create a new line Qgis autogenerates that with the code 11,
 it seems that Qgis keeps in memory the number/id code of the created elements, and keep the numbering as a fixed counter.</p>
<p class="ContentPasted0"><br>
</p>
<p class="ContentPasted0">How can I impose a autogeneration of id codes starting from 1?</p>
<p class="ContentPasted0"><br>
</p>
<p class="ContentPasted0">Many many thanks!</p>
<p class="ContentPasted0"><br>
</p>
<p class="ContentPasted0">Best Regards.</p>
<p class="ContentPasted0"><br>
</p>
<p class="ContentPasted0">Riccardo.</p>
<br>
</div>
</body>
</html>