Subject | Re: [IBO] Requested change to IBODataset unit |
---|---|
Author | Hans Hoogstraat |
Post date | 2003-10-18T22:51:18Z |
Jason,
that code was already changed. In stead og SQLLen, we used a global
variable )
Best regards
Hans
that code was already changed. In stead og SQLLen, we used a global
variable )
Best regards
Hans
----- Original Message -----
From: "Jason Wharton" <jwharton@...>
To: <IBObjects@yahoogroups.com>
Sent: Saturday, October 18, 2003 12:19 PM
Subject: Re: [IBO] Requested change to IBODataset unit
| Thanks for this fix, it will be in the next sub-release.
|
| Jason Wharton
|
| ----- Original Message -----
| From: "Matt Nielsen" <mnielsen@...>
| To: <IBObjects@yahoogroups.com>
| Sent: Friday, September 05, 2003 3:41 PM
| Subject: [IBO] Requested change to IBODataset unit
|
|
| > In the GetDataTypeAndSize procedure the system just ignores putting
| > the datasize for varchar fields that are larger than 255 long. It
| > has the data why doesn't it just put it in the size property like
| > other varchars, instead it just sets the type to ftMemo which is fine
| > but I really nead the size if it is a varchar and not a Blob.
| >
| > Here is the piece of code I'm talking about:
| >
| > begin
| > NewDataType := ftBytes;
| > NewDataSize := SQLLen;
| > end
| > else
| > >>>>>>>>>>>> HERE <<<<<<<<<<<<<<<<<<<
| > if SQLLen >= 256 then
| > NewDataType := ftMemo
| > >>>>>>>>> JUST ADD <<<<<<<<<<<<<<<<<<<<
| > NewDataSize := SQLLen;
| > else
| > begin
| > NewDataType := ftString;
| > NewDataSize := SQLLen;
| > // The vcl complains about zero length strings...
| > if NewDataSize = 0 then
| > NewDataSize := 1;
| > end;
|
|
|
|
___________________________________________________________________________
| IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
| without the need for BDE, ODBC or any other layer.
|
___________________________________________________________________________
| http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
| keyword-searchable FAQ, community code contributions and more !
|
| Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|
|
|