After ODTUG and OOW I will also present about the Integration of Oracle Forms and APEX at the next UKOUG event, from Nov 30 to Dec 2 in Birmingham. Unlike OOW, where my session is planned at the very beginning of the event, the UKOUG organization committee kindly planned my session in the very middle of the conference: on Tuesday from 12:05 - 12:50. So for all Europeans who couldn't make it to ODTUG or OOW and are interested in this kind of integration...you know where to go!

If there is a requirement to produce output from an application into Excel, you would probably create a CSV (Comma Separated File) with the data and start Excel to show the data - at least that's what I did...until now. The drawback of this solution is that you could only produce data and no nice layout. But Excel is also capable of opening HTML-files and using this you could create Excel files with data and magnificent layout! Let me give an example: 1. Create a procedure to show the data in formatted in an HTML table. CREATE OR REPLACE PROCEDURE display_emp_list IS v_emp_count NUMBER(5); v_empno NUMBER(8); v_ename VARCHAR2(50); v_job emp.job%TYPE; v_sal emp.sal%TYPE; v_bg_color VARCHAR2(10) := ''; CURSOR c_emp IS SELECT empno, initcap(ename), job, sal FROM emp ORDER BY ename; BEGIN SELECT COUNT(*) INTO v_emp_count FROM emp; owa_util.mime_header('application/ms-excel', FALSE); htp.p('Content...
Comments