Hello,
Using TSdfDataset my records are cut to fit 255 chars, even when I
change the new MaxRecordLength property to 2048. This is a very
elusive bug, and I am searching all over for the cause without success
=(
I searched everywhere for a shortstring, which could be the cause, but
didn't find an
On Monday 08 September 2008 04.53:25 Felipe Monteiro de Carvalho wrote:
> Hello,
>
> Using TSdfDataset my records are cut to fit 255 chars, even when I
> change the new MaxRecordLength property to 2048. This is a very
> elusive bug, and I am searching all over for the cause without success
> =(
>
>
On 9/8/08, Martin Schreiber <[EMAIL PROTECTED]> wrote:
> Possibly because FieldDefs[].Size is too small. Did you setup
> TSdfDataset.Schema according to your needs? The format is
> = AFAIK, MAXSTRLEN is a default value only. The new
> MaxRecordLength property is actually unnecessary and a little
In our previous episode, Felipe Monteiro de Carvalho said:
> On 9/8/08, Martin Schreiber <[EMAIL PROTECTED]> wrote:
> > Possibly because FieldDefs[].Size is too small. Did you setup
> > TSdfDataset.Schema according to your needs? The format is
> > = AFAIK, MAXSTRLEN is a default value only. The n
> Another wierd thing is that it absolutely does not work (nothing is
> read from database) if I don't set MaxRecordLength. The property has a
> default value of 250, which somehow does not work, so I removed the
> default in the property and initialized the value in the constructor,
> which works.
On 9/8/08, Marco van de Voort <[EMAIL PROTECTED]> wrote:
> That shoulds like a shortstring limit. Is everything in {$H+} or {$mode
> delphi} ?
This was my first idea, but I couldn't find anywhere a H+ missing ...
Also, as to my previous statement that it now started without without
reason, it se
If anyone wishes to take a look at the full project:
svn co https://turbocircuit.svn.sourceforge.net/svnroot/turbocircuit
turbocircuit
TurboCircuit is a circuit drawing program developed with lazarus. It
should work in any lazarus supported OS. Be careful that there is a
local copy of sdfdata to
On Monday 08 September 2008 14.42:04 Felipe Monteiro de Carvalho wrote:
> On 9/8/08, Marco van de Voort <[EMAIL PROTECTED]> wrote:
> > That shoulds like a shortstring limit. Is everything in {$H+} or {$mode
> > delphi} ?
>
> This was my first idea, but I couldn't find anywhere a H+ missing ...
>
>
On Mon, Sep 8, 2008 at 10:51 AM, Martin Schreiber <[EMAIL PROTECTED]> wrote:
> Did you open an existing datafile?
I am always working opening an existing datafile. So, you are thinking
that it calculates the size for the fields upon loading and then it
does not increase the field sizes when postin
On Monday 08 September 2008 19.34:32 Felipe Monteiro de Carvalho wrote:
> On Mon, Sep 8, 2008 at 10:51 AM, Martin Schreiber <[EMAIL PROTECTED]> wrote:
> > Did you open an existing datafile?
>
> I am always working opening an existing datafile. So, you are thinking
> that it calculates the size for
On Mon, Sep 8, 2008 at 3:14 PM, Martin Schreiber <[EMAIL PROTECTED]> wrote:
> It seems so if you don't define the field size in the TSdfDataset.Schema.
> Unlike tmsebufdataset, TSdfDataset stores the data in a record with fixed
> size which can't be changed after open. Is it possible to define the
On Mon, 8 Sep 2008, Felipe Monteiro de Carvalho wrote:
> On Mon, Sep 8, 2008 at 10:51 AM, Martin Schreiber <[EMAIL PROTECTED]> wrote:
> > Did you open an existing datafile?
>
> I am always working opening an existing datafile. So, you are thinking
> that it calculates the size for the fields up
On Mon, Sep 8, 2008 at 3:43 PM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
> 1. When opening an existing file, the longest existing line length is used as
> the max record size if firstlineasschema is True. The lengths are not
> changed
> after that.
That looks wrong. So it's basically im
On Monday 08 September 2008 20.19:27 Felipe Monteiro de Carvalho wrote:
> On Mon, Sep 8, 2008 at 3:14 PM, Martin Schreiber <[EMAIL PROTECTED]> wrote:
> > It seems so if you don't define the field size in the TSdfDataset.Schema.
> > Unlike tmsebufdataset, TSdfDataset stores the data in a record with
El Mon, 8 Sep 2008 20:14:44 +0200
Martin Schreiber <[EMAIL PROTECTED]> escribió:
> Is Sqlite3 no option for you? MSEgui and FPC sqldb both have a
> DB-connection component for SQLite3.
FWIW I had the problem of string fields limited to 255 characters with
sqlite3 and zeos.
I hadn't time to test o
On Tuesday 09 September 2008 20.28:05 Luca Olivetti wrote:
> El Mon, 8 Sep 2008 20:14:44 +0200
>
> Martin Schreiber <[EMAIL PROTECTED]> escribió:
> > Is Sqlite3 no option for you? MSEgui and FPC sqldb both have a
> > DB-connection component for SQLite3.
>
> FWIW I had the problem of string fields l
16 matches
Mail list logo