Link to home
Start Free TrialLog in
Avatar of rajen_thakur
rajen_thakur

asked on

To Get Report Filename and download to userend

Hi Experts

i am using 9ids
v_rep=run_report_object(rep_id);
or through
web.show_document('/reports/rwservlet'||'? server='||vc_reportserver||'&destype='||vc_destype||'&desname='||vc_desname||'&'||con_url||'&report=c:\makess\hrpay\reports\sal_reg_dept.rdf'||'¬e1='||note1||'&FORM_WB=1001' ,'_blank');

report get generated in  reports\cache

i want to know two things.:-

1) How to get filename.

2) How to download that file to userend.(i am using webutil tool)

Actully i don't want to view in screen
bcz i am generating caharacter mode report.


thanks
Avatar of sujit_kumar
sujit_kumar
Flag of United States of America image

See, http://www.google.co.in/url?sa=U&start=4&q=http://www.oracle.com/technology/products/reports/pdf/newfeatures_60.pdf&e=8092

For new features of Forms 6i. It also includes Showing and printing of character mode reports.
I've not done it, but I think you can use RUN_REPORT_OBJECT & set REPORT_DESTYPE & REPORT_FILENAME, i.e.

SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,PREVIEW)

See here for more details:

http://www.oracle.com/technology/products/forms/pdf/277282.pdf

bg
ASKER CERTIFIED SOLUTION
Avatar of DarthMod
DarthMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial