I am trying to store a PDF file in the DB and then allow users to click on a link to download it. However, I can't get this to work properly. The report region definition does not allow me to alter the source. What I did was create a master detail form and report. Then, I changed the format mask of the field that will be the PDF download link to BLOB and I got this error: ORA-06502: PL/SQL: numeric or value error: character to number conversion error
To fix this I need to alter the source code and add the following dbms_lob.getlength("BLOB_CONTENT") as "BLOB_CONTENT"
. How can I do this if the report region definition is not allowing me to edit it? Is there any other way to do this?