?
Solved

displaying Oracle LONG in Delphi

Posted on 2000-05-04
4
Medium Priority
?
199 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 200 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

Industry Leaders: 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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

839 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