Micha Nelissen escreveu:
Luiz Americo Pereira Camara wrote:
I updated the benchmarks to insert 600.000 records: http://www.geocities.com/camara_luiz/sqlite4fpc/benchmarks.html

For TDbf, TIntegerField shouldn't be limited to 32768 as value, I remember it being reported some time ago as well. Can you use a newer version of TDbf ?

The newer version will also have caching functionality included by default, and before appending/reading a lot of records you can do Dbf.DbfFile.BufferAhead := true, and when you're done, set it to false again. Can improve speed, but primarily on a network drive.

Hi Micha,
I updated to svn revision 2721 and is still giving the error (As below). I ensured that was using the new version.

An unhandled exception occurred at $004028E5 :
EDatabaseError : 32768,00 is not between -32768,00 and 32767,00 for AINT
 $004028E5
 $0040A530
 $0040AA83


Luiz

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to