glebovpavel / IR_to_MSExcel

Oracle Apex plugin for Interactive Grid or Interactive Report
http://glebovpavel.github.io/Description_IR_TO_XSLX/
Other
39 stars 14 forks source link

ORA-01007 when generating an excel file from IR #92

Closed ThomasCarltonInPerson closed 3 years ago

ThomasCarltonInPerson commented 3 years ago

Hi everyone,

I installed the plugin however I'm getting the error : ORA-01007 when generating the excel file.

Here is what happens :

It seems like there is an initialization issue.

Can anyone help please ?

Thank you in advance.

The error is raised in the package IR_TO_XLSX, procedure generate_from_report and fires even when there are only two rows and one columne.

log('<<define_columns>>'); FOR i IN 1..v_colls_count LOOP log('define column '||i); log('column type '||l_report.desc_tab(i).col_type); IF l_report.column_data_types(i) = 'DATE' THEN dbms_sql.define_column(v_cur, i, v_date_dummy); ELSIF l_report.column_data_types(i) = 'NUMBER' THEN dbms_sql.define_column(v_cur, i, v_number_dummy); ELSE --STRING dbms_sql.define_column(v_cur, i, v_char_dummy,32767); <<<<<< Here END IF; END LOOP define_columns;

glebovpavel commented 3 years ago

Fixed in 3.26