Forum > Databases

The current value of AutoInc fields in a TDbf table

<< < (2/6) > >>

Zvoni:
Maybe wp will find this Thread.
AFAIK he's the Maintainer for MyDBFStudio (or whatever its name) --> Look in third party-forum for this

EDIT: Found it:
https://forum.lazarus.freepascal.org/index.php/topic,8954.45.html

SymbolicFrank:
Thanks! I'll check the code.

korba812:
It seems that the autoinc fields do not work in TDbf when creating dbf files compatible with Visual Fox Pro (TableLevel = 30) - ftAutoInc fields are constructed as simple integer fields. I will look at this problem.

korba812:
Frank, could you please upload sample dbf file produced by VisualFoxPro containing autoinc field and some data records? TDbf writes autoinc field values as big endian, but I'm not sure this is correct.

SymbolicFrank:
Yes, MyDBFStudio also doesn't see them as AutoInc fields and treats them as integers.

I have attached the example DBF (the first field is AutoInc).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version