I have a form that has to put data to excel. The excel file is being created but my problem is the data is failing to insert from oracle to excel. I am using forms 6i. My machine is running Windows 7 Enterprise and office 2010. I have tried it on one with Excel 2007 and it works fine.
I am using the DDE package e.g
DOC_ID := DDE.INITIATE('EXCEL', V_PATH||V_FILE);
BEGIN
R := 2;
DDE.POKE(DOC_ID, 'R1C1', 'X', DDE.CF_TEXT, 40000);
DDE.POKE(DOC_ID, 'R1C2', 'Item', DDE.CF_TEXT, 40000);
DDE.POKE(DOC_ID, 'R1C3', 'Description', DDE.CF_TEXT, 40000);
EXCEPTION WHEN OTHERS THEN
:USER_message := '20000 - Error Inserting Data From Oracle To Excel '||sqlerrm;
END;
Software/Hardware used:
Oracle Forms 6i
ASKED:
March 2, 2011 8:46 AM
UPDATED:
March 2, 2011 2:11 PM
Try ITKE Search
Are you getting errors ?
Is your when-others exception handler being called ?