oracle reports

Using ORacle forms to call the oracle reports.
the report default DESTFORMAT is pdf i changed it to spread sheet.
but i am getting error when trying to open the excel file
The file you are trying to open getjobid357.xls is in a diferent format than specified by the file extension.

report name is test1.rdf
and binary is test1.rep.

can I get the excel report from forms without the above error message. please advise.
Sarma VadlamaniprogrammeranalystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
The file really isn't a native Excel file so Microsoft is warning you.

Microsoft has ways to get around the warning message if you want to:

Check the online Oracle docs:

(Command line only) The report output is sent to an HTML file that can be directly opened with Microsoft Excel 2000. You can generate spreadsheet output from the paper layout of reports saved in any format (.rdf, .jsp, .xml). See Usage Notes.
Sarma VadlamaniprogrammeranalystAuthor Commented:
any other work around. or can i generate an excel report directly from oracle forms without using the oracle reports.
I need to generate a user audit report by passing parameters like user name
acess date from and access date to.
slightwv (䄆 Netminder) Commented:
Sorry but I'm not a Forms and Reports person.

Hopefully an Expert that is will post later.
Helena Markováprogrammer-analystCommented:
Yes, the excel output can be generated directly from Oracle Forms. You ought to use WebUtil library (Client_Text_IO.package). It is a part of Oracle Forms and is very well described in the Forms on-line help.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.