Home » Developer & Programmer » Reports & Discoverer » Live Previewer via web
Live Previewer via web [message #208730] Tue, 12 December 2006 00:24
Vincentp
Messages: 1
Registered: August 2005
Junior Member
Hi

I am using reports 6i via web. In the client server environment I used run_product wuth paramform set to yes. This showed the live previewer and allowed the user to scroll thru the report and print specific pages. Reports are now being printed direct to the printer. I now use RUN_REPORT_OBJECT. If i set paramform to yes it still does not display the live previewer.

Is there anyway arounf this.

My code is as follows:

report_id := find_report_object('r2234');
f_file_name := :ifwprint.report_number||'.lis';
html_file_name := :ifwprint.report_number||'.html';
set_report_object_property (report_id,report_execution_mode,batch);
set_report_object_property (report_id,report_comm_mode,synchronous);
set_report_object_property(report_id,report_destype,file);
set_report_object_property (report_id,report_desname,:global.ifw_printer_destination);
set_report_object_property(report_id, report_other,
'p_branch='||:b1.branch||
' p_year='||:b1.year||
' p_month='||:b1.month||
' p_type='||:b1.report_selection||
' p_selection_type='||:b1.report_type||
' p_gl_code='||:b1.gl_code||
' paramform=no');
report_job_id := RUN_REPORT_OBJECT(report_id);
message ('Your Report has been run but not printed');
host('txt2htmlhpux '||:global.user_home_dir||f_file_name||' > '||:global.user_home_dir||html_file_name);
web.show_document(:global.user_home_dir||html_file_name,'_BLANK');
Previous Topic: very arrgent
Next Topic: Excel
Goto Forum:
  


Current Time: Wed Jul 03 05:20:03 CDT 2024