🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4769

ADO - display Oracle CLOBs in a TDBgrid

#4769
From: Michael Frost
Date: Thu, 18 Oct 2001 09:52
15 lines
1307 bytes
Using Oracle server & client ver. 8.0.6, C++ Builder 5 Enterprise , OS NT4 :

How do I display Oracle CLOBs in a DBgrid? or just the 20 first characters
of the CLOB in the field?
I have tried using onGetText :

Text = Sender->AsString.SubString(0,20);
DisplayText = True;

However, the CLOB fields in the grid shows up blank.

(this works with BDE, Builder 4!)

Thanks,
Michael Frost
Technical Details
Message-ID: <3bcea721_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!sfo2-feed1.news.digex.net!intermedia!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,5216174db5cb01f9,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-10-18 03:02:21 PST
From: "Michael Frost" <mik@lejerbo.dk>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADO - display Oracle CLOBs in a TDBgrid 
Date: Thu, 18 Oct 2001 11:52:47 +0200
Lines: 17
Organization: Lejerbo
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 195.184.42.74
Message-ID: <3bcea721_2@dnews>
X-Trace: dnews 1003398945 195.184.42.74 (18 Oct 2001 02:55:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!sfo2-feed1.news.digex.net!intermedia!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews