Article View: borland.public.cppbuilder.database.ado
Article #2498Re: Number datatype being shown as a ftBCD
From: John Z Fields
Date: Mon, 02 Jun 2003 17:11
Date: Mon, 02 Jun 2003 17:11
68 lines
3093 bytes
3093 bytes
it is a property of TDataset. I corrected my problem by setting the value in the object inspector. -- JOHN FIELDS "Tharun Pillay" <tharun@webmail.co.za> wrote in message news:3ed62474@newsgroups.borland.com... > Where do you do that? > > "John Z Fields" <jfields@wrsystems.com> wrote in message > news:3ed606b5$3@newsgroups.borland.com... > > A-HA! Egg on my face. I don't get this behavior if I set EnableBCD = > false. > > > > -- > > JOHN FIELDS > > "John Z Fields" <jfields@wrsystems.com> wrote in message > > news:3ed5f4fc$1@newsgroups.borland.com... > > > I don't think so. I just now saw the same problem with a Sybase server. > > > Oddly, I am now also getting ftBCD returned for floats as well. > > > > > > -- > > > JOHN FIELDS > > > "Tharun Pillay" <tharun@webmail.co.za> wrote in message > > > news:3ed45ba6@newsgroups.borland.com... > > > > I've noticed somthing similar with MSSQL returning a datetime from a > > > view - > > > > unfortunatly, I have no solution for you as I to am working on it. It > > > > wondering whether it's a driver related issue...? > > > > > > > > Tharun. > > > > > > > > > > > > "John Z Fields" <jfields@wrsystems.com> wrote in message > > > > news:3ed37f8c$1@newsgroups.borland.com... > > > > > Hi all. I have a column defined as Number(10) in an Oracle 9i table. > > > After > > > > > retrieving a dataset from this table, the Oracle ADO provider > > identifies > > > > the > > > > > column as ftBCD with size 0, which is correct cause it is a whole > > > number, > > > > > but datasize 33, which is incorrect. Please advise if you have > > > encountered > > > > a > > > > > similar situation. I need to know that it is a number 10 column so > > that > > > I > > > > > can set maxlength on the control to 10. > > > > > > > > > > thanks much. > > > > > > > > > > -- > > > > > JOHN FIELDS > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Technical Details
Message-ID:
<3edb8531$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ed37f8c$1@newsgroups.borland.com> <3ed45ba6@newsgroups.borland.com> <3ed5f4fc$1@newsgroups.borland.com> <3ed606b5$3@newsgroups.borland.com> <3ed62474@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,7918b403313ee00a X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-06-02 10:17:16 PST Reply-To: "John Z Fields" <jfields@wrsystems.com> From: "John Z Fields" <jfields@wrsystems.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3ed37f8c$1@newsgroups.borland.com> <3ed45ba6@newsgroups.borland.com> <3ed5f4fc$1@newsgroups.borland.com> <3ed606b5$3@newsgroups.borland.com> <3ed62474@newsgroups.borland.com> Subject: Re: Number datatype being shown as a ftBCD Date: Mon, 2 Jun 2003 13:11:14 -0400 Lines: 70 Organization: WR Systems X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 63.90.140.53 Message-ID: <3edb8531$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054573873 63.90.140.53 (2 Jun 2003 10:11:13 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail