[fpc-devel] TSdfDataset does not work with records larger then 255 chars

Marco van de Voort marcov at stack.nl
Mon Sep 8 14:35:30 CEST 2008


In our previous episode, Felipe Monteiro de Carvalho said:
> On 9/8/08, Martin Schreiber <fpmse at bluewin.ch> wrote:
> > Possibly because FieldDefs[<n>].Size is too small. Did you setup
> >  TSdfDataset.Schema according to your needs? The format is
> >  <fieldname>=<fieldsize> AFAIK, MAXSTRLEN is a default value only. The new
> >  MaxRecordLength property is actually unnecessary and a little bit misleading.
> 
> Indeed, but I can't find what needs to be fixed. I simply didn't set
> my field sizes, and I would expect it to accept any sizes, and I
> cannot find why it's cutted in the special value of 255.

That shoulds like a shortstring limit. Is everything in {$H+} or {$mode
delphi} ?



More information about the fpc-devel mailing list