D2K Report not run [message #329945] |
Fri, 27 June 2008 02:13 |
jatingogoi
Messages: 4 Registered: June 2008 Location: INDIA
|
Junior Member |
|
|
Hi
I am working on d2k. When i run report from report builder, then report runs. but when calling report within FORMS using run_product then report background engine does not start so report does not run.
Earlier it was working but suddenly since last 4 days it is stop working. Please help me out
|
|
|
|
|
|
|
Re: D2K Report not run [message #337514 is a reply to message #337150] |
Thu, 31 July 2008 02:23 |
reenapatel
Messages: 11 Registered: July 2008
|
Junior Member |
|
|
Hello
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: D2K Report not run [message #337531 is a reply to message #337514] |
Thu, 31 July 2008 03:09 |
jatingogoi
Messages: 4 Registered: June 2008 Location: INDIA
|
Junior Member |
|
|
hi
To create pdf you install cutepdf writer. it will install as a printer in your machine. then print the report by selecting cutepdf writer. it will create pdf for you .
|
|
|