DBF Tablelevel 30. ftautoinc field switches to ftinteger by itself... lazarus / 16-Databases ---------------------------------------------------------------------- Robert W.B. · 2014-06-30 21:52 I'm very grateful for the dbf and I see it's potential but, This must be a bug. DBF Tablelevel 30. ftAutoInc field switches to ftInteger by itself when I activate the DBF1 ! Also,I discovered that You can't have fieldname longer than 8 charachters. If you have a long fieldname,it will be cut to 10 charachters on activate. /Rob Lazarus 1.2.4 r45510 FPC 2.6.4 i386-win32-win32/win64 ---------------------------------------------------------------------- BigChimp · 2014-06-30 22:09 Quote from: robbanux on June 30, 2014, 11:52:26 pmThis must be a bug. DBF Tablelevel 30. ftAutoInc field switches to ftInteger by itself when I activate the DBF1 ! No sample code, no Lazarus/FPC version, no info about operating system. Sorry, but I can't help you then. Quote from: robbanux on June 30, 2014, 11:52:26 pmAlso,I discovered that You can't have fieldname longer than 8 charachters. If you have a long fieldname,it will be cut to 10 charachters on activate. So what happens if you have 9 character field name? Table name length limits are documented in e.g. http://wiki.lazarus.freepascal.org/Lazarus_Tdbf_Tutorial#Choosing_a_Ta bleLevel As indicated there, Visual FoxPro/tablelevel 30 has 10 characters ---------------------------------------------------------------------- Robert W.B. · 2014-06-30 22:20 Why is it that ftAutoInc field, autochange to ftInteger, on Activate=True ? Bug? I have deleted the old dbf file before and it should not interfere, thow I empty the file also in trashcan! Lazarus 1.2.4 r45510 FPC 2.6.4 i386-win32-win32/win64 ---------------------------------------------------------------------- BigChimp · 2014-06-30 22:27 Quote from: robbanux on July 01, 2014, 12:20:24 amWhy is it that ftAutoInc field, autochange to ftInteger, on Activate=True ? Bug? It could be a bug. It might not be.