Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display BLOB image in oracle forms 6

Status
Not open for further replies.

codeee

Programmer
Dec 6, 2002
6
0
0
ZA
Hi,

Can anyone please help me display a BLOB image in forms 6.
We are running a 9i server and an 8i client.

I have created a data block on forms but when I execute the query I get the following error...

ORA-00904: "DOC_IAMGE": invalid identifier

Please help...pretty new at this...
 
Is DOC_IAMGE correct field name?

Regards, Dima
 
And of course, if you use Forms, your client version is not newer than 8.0.6 :)

Regards, Dima
 
Oooopss...my bad... I just created a quick form to get the error... seems like I got the wrong one...

Here is the propper error...

ORA-00932: inconsistent datatypes: expected got
 
I have also created a report, and the image is visible in the report
 
What kind of item do you use to display it? And what version (exactly) do you use? I didn't try it against 9i, but with 8/8i it works.

Regards, Dima
 
Hi Dima...

We have just upgraded the database to 9i and we are using forms 6.0.
I have loaded the images using dbms_lob.loadfromfile.
When I create a report the image is visible but the form does not work.

Hope this information is sufficient. Thanks for the help.

Regards, Me
 
Try to look for latest patches. I can reproduce it on 6, though currently don't work with it.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top