AutoIncrement lazarus / 16-Databases ---------------------------------------------------------------------- mariodosreis · 2016-08-24 13:17 I wonder if this was reported before?     tbClientes.TableLevel := 7;   //tbClientes.LanguageId := $03;   // With or without it same result "DBWINWE0" by default     tbClientes.TableName := 'clientes.dbf';     tbClientes.FieldDefs.Add('Id', ftAutoInc, 0 , True);  // first record is allways 0(Zero)! I' using Win8.1 64bits [Version 6.3.9600] + Lazarus 1.6 + FPC 3.0.0 Revision 51630 Windows Portuguese (1252[?])PT Indexes are not being generate ok. The seam very diferent from those genereted Db2K Personal dBase  2.6.1.5 BDE 5.2.0.2 So far i found no explanation to this problem i thing it's a bug and no reports about it Is this something in "ToDo" task? Best regards Mário ---------------------------------------------------------------------- LacaK · 2016-08-25 09:13 I doubt, that there is only few people, who use indexes on AutoInc fields for DBase version 7+ We would need at least know structure of such indexes, and how they differ from regular integer indexes etc.