Solved

displaying Oracle LONG in Delphi

Posted on 2000-05-04
4
180 Views
Last Modified: 2010-04-04
I need to diplay an Oracle LONG value in
DBGrid. How can this be done ?

Thanks
0
Comment
Question by:gargic
  • 2
4 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2778044
? what is displayed now
0
 

Author Comment

by:gargic
ID: 2778625
at design time the tag [Memo] appears where the data should have been and at run-time it is empty.
0
 
LVL 17

Expert Comment

by:inthe
ID: 2779028
you might want to try something like this component :

http://www.torry.webnorth.com/vcl/database/dbgrdpls.zip
0
 
LVL 27

Accepted Solution

by:
kretzschmar earned 50 total points
ID: 2779827
hi gargic,

make persitance fields to your table/query
- doubleclick on the table/query-component->fieldeditor pops up
- rightclick on fieldeditor
- add all fields
--
add an aditional field
- rightclick on fieldeditor
- New Field
- define as string with length, give a name and select it as calculated


in table/query-event oncalculate do
table1.FieldByName('TheNewFieldName').AsString := TBlobField(Table1.FieldByName('YourLongFieldName')).AsString;

meikl

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question