Recent

Author Topic: AutoIncrement  (Read 2067 times)

mariodosreis

  • New Member
  • *
  • Posts: 16
AutoIncrement
« on: August 24, 2016, 03:17:34 pm »
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

  • Hero Member
  • *****
  • Posts: 691
Re: AutoIncrement
« Reply #1 on: August 25, 2016, 11:13:46 am »
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.

 

TinyPortal © 2005-2018