Link to home
Start Free TrialLog in
Avatar of Jayme
Jayme

asked on

Oracle Forms 4.5 + OLE2 + Excel2000

How can someone export data from Oracle forms 4.5 to MS-Excel2000?  

PS: Not Excel5, but Excel2000
ASKER CERTIFIED SOLUTION
Avatar of schwertner
schwertner
Flag of Antarctica image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jeffrey
jeffrey

 step1  establishing a ODBC DSN(e2000) connection to excel2000
  step2  get data you need from the ORACLE database.
  step3  you can connect to e2000 using the ststement of form_dll().
  step4  using 'insert into your_table@ODBC:e2000 your_value',you can realize the data_transfering.
There are several ways to do this.  As noted above, an ODBC connection can provide you with a direct link to data residing in an Oracle database.

However, if you are really looking for an export you have a few other options.
1) Use a formatted query to select into a spool file from SQL*PLUS
2) Write a procedure that writes to a text file (using TEXT_IO from forms or UTL_FILE from the server-side)...similar to 1) above, you will provide the formatting in the queries.
3) use other export utility

Regards,
JT
Please update and finalize this old, open question. Please:

1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.

EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.

Thanks,

** Mindphaser - Community Support Moderator **

P.S.  Click your Member Profile, choose View Question History to go through all your open and locked questions to update them.
points split b/w all
JT
Recommended disposition:

    Accept schwertner's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
Force accepted

** Mindphaser - Community Support Moderator **