Solved

displaying Oracle LONG in Delphi

Posted on 2000-05-04
4
170 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
Comment Utility
? what is displayed now
0
 

Author Comment

by:gargic
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now