displaying Oracle LONG in Delphi

I need to diplay an Oracle LONG value in
DBGrid. How can this be done ?

Thanks
gargicAsked:
Who is Participating?
 
kretzschmarConnect With a Mentor Commented:
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
 
kretzschmarCommented:
? what is displayed now
0
 
gargicAuthor Commented:
at design time the tag [Memo] appears where the data should have been and at run-time it is empty.
0
 
intheCommented:
you might want to try something like this component :

http://www.torry.webnorth.com/vcl/database/dbgrdpls.zip
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.