Solved

displaying Oracle LONG in Delphi

Posted on 2000-05-04
4
174 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

25 Experts available now in Live!

Get 1:1 Help Now