Home » Developer & Programmer » Forms » how to create pdf file from d2k report 6i
how to create pdf file from d2k report 6i [message #337516] Thu, 31 July 2008 02:24 Go to next message
Messages: 11
Registered: July 2008
Junior Member

we have requirement to create or convert report data into pdf file ,excel file and
we have made it for excel and word using ole2 package but not able to create pdf file
i.e we dont know how to create obj of ole2 package for pdf file

like for excel we have

Application := OLE2.create_obj('Excel.Application');
OLE2.set_property(Application, 'Visible', 1);
Workbooks := OLE2.get_obj_property(Application, 'Workbooks');
Workbook := OLE2.invoke_obj(WorkBooks, 'Add');
Worksheets := OLE2.get_obj_property(Workbook, 'Worksheets');
Worksheet := OLE2.get_obj_property(Application, 'ActiveSheet');

for word

application := OLE2.CREATE_OBJ('Word.Basic');
OLE2.INVOKE(application, 'Appshow');

but dont know for pdf

even we dont have any idea is thr any better way apart from this to create pdf file

actually we have form on which we have radiobuttons related to excel,pdf,direct view and html .and if user select radiobutton of excel and click on report button then he get excel file of related report ,if he pressed only view then we have to show only report.

Re: how to create pdf file from d2k report 6i [message #339580 is a reply to message #337516] Thu, 07 August 2008 20:58 Go to previous message
Messages: 10180
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Then output the pdf via Report Writer.

Previous Topic: Standard.commit
Next Topic: OLE MS Word formatting
Goto Forum:

Current Time: Fri Aug 18 04:02:06 CDT 2017

Total time taken to generate the page: 0.05467 seconds