<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>Hi,<br></p><p>first idea could be something like this:<br></p><p>concat('OBST',lpad(to_string($id), 4, '0'))</p><p>if you don't need concrete values. You might also add an offset to $id.</p><p>concat('OBS',lpad(to_string($id + <offset>), 4, '0'))</p><p>Hope that helps.<br></p><p>Regards.<br></p><p><br></p><p>Stefan<br></p><blockquote type="cite">Krišjānis Sietiņš <krisjanis@terratopo.lv> hat am 19. März 2019 um 12:44 geschrieben: <br> <br><p>Hello!</p><p>I am writing fires time here.</p><p>QGIS version 2.18.20</p><p>We need to make user defined continuous ID numbering in attribute table for fields. ID should contain some letters that define objects type. For example starting from OBST0200 to OBST0315. And objects are too much to do it manually.</p><p>I found Sort and Number plugin, but it has only number option.</p><p>Can it be done in Field calculator and what expression should we use?</p><p> <br></p><p>With Best Regrads</p><p>Krišjānis Sietiņš</p><p><br></p></blockquote><p class="default-style"><br> </p><blockquote type="cite">_______________________________________________ <br>Qgis-user mailing list <br>Qgis-user@lists.osgeo.org <br>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user <br>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</blockquote><p class="default-style"><br> </p></body></html>