Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » Apex Report with BLOB content (APEX 4.0)
Apex Report with BLOB content [message #513321] Sun, 26 June 2011 19:15
Messages: 3
Registered: May 2011
Location: new zealand
Junior Member
I'm trying to display a report that sits ontop of a table with a BLOB column.

The page I display the report on, also has an "file browse" item that allows the user to upload a record to this table. The following code is the source of a "process" that is triggered by the user hitting the UPLOAD button. (Takes a copy of wwv_flow_files view and adds it to my table, then deletes the record from wwv_flow_files);


insert into SPM_REQUEST
(id, file_name, redirection_number, mimetype, load_date, document)
select SPM_REQUEST_SEQ.nextval,
from wwv_flow_files
where name = :P1_NAME;

delete wwv_flow_files where name = :P1_NAME;


This adds the record okay and displays the record in my report (I've formatted the BLOB column so it appears as a link) ok, but when I click on the link I get redirected to "webpage cannot be found" page.

This is confusing as there are records already in this table that have blob content (PDFs) that display in my report and when I click on their links, it opens the PDF document correctly??
Previous Topic: How to Create an Application with no template and custom made CSS
Next Topic: Updatable views
Goto Forum:

Current Time: Thu Jun 08 23:48:34 CDT 2023