Home » Developer & Programmer » Reports & Discoverer » error in oracle report...PDF
error in oracle report...PDF [message #245838] Tue, 19 June 2007 00:09 Go to next message
Dream
Messages: 11
Registered: June 2007
Location: UAE
Junior Member
hi there, i wish if anyone can help me or at least give me a hint!!!

in my application i do send report automattically by outlook... when i try 2 open the attachmen, report in pdf format, i got this error...hope i fond an answer!!!

http://www.s77.com/up/up9/3085a480ca.jpg


thanks alot in adnvace

Dream:)
Re: error in oracle report...PDF [message #245875 is a reply to message #245838] Tue, 19 June 2007 02:41 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
If a file has a PDF extension doesn't make it a PDF (Portable Document Format) file.

Are you sure you created a PDF file? Or, did you just change its extension from (for example) XLS to PDF?
Re: error in oracle report...PDF [message #245900 is a reply to message #245838] Tue, 19 June 2007 03:40 Go to previous messageGo to next message
Dream
Messages: 11
Registered: June 2007
Location: UAE
Junior Member
thanks 4 ur replay dear

and the answer 2 ur question is i did change the extanstion from rpt to pdf

like this

lFileName := 'S:\Tara\report-System\rpts\doc2.pdf'||:block76.doc_num||'.pdf';

Re: error in oracle report...PDF [message #245909 is a reply to message #245900] Tue, 19 June 2007 04:03 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Well, don't do that. It was just as if you labeled your Mini Cooper a Ferrari. If you want to open a file using Acrobat Reader, it MUST be a PDF file.
Re: error in oracle report...PDF [message #246107 is a reply to message #245838] Tue, 19 June 2007 23:55 Go to previous messageGo to next message
Dream
Messages: 11
Registered: June 2007
Location: UAE
Junior Member
thanks alot dear... the idea clear 2 me... but how 2 make pdf file????

when i create report in oracle report 6i it saved as .rpt, how can i make it as PDF???

thanks alot:)

Re: error in oracle report...PDF [message #246129 is a reply to message #246107] Wed, 20 June 2007 01:15 Go to previous message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
One way is to install a virtual PDF printer. It is a software which allows you to print the output into a PDF file - you'll see it as if it was a real printer. So, instead of printing onto your HP2200 printer, you'd use that "PDF printer". One of free PDF writers is CutePDF.
Previous Topic: REP-300 Table or view does not exist
Next Topic: add calendar to report runtime parameter form
Goto Forum:
  


Current Time: Fri Dec 09 19:24:40 CST 2016

Total time taken to generate the page: 0.11529 seconds