How to call report 6i from forms6i defining the username/password

5 pts.
Tags:
Oracle
Oracle Forms
Oracle Forms 6i
Oracle Reports
Oracle Reports 6i
Oracle User Profiles
I am using forms6i and Report6i, Now I am trying to connect to another user to run the report. How to call report 6i from forms6i defining the username/password

Answer Wiki

Thanks. We'll let you know when a new response is added.

report call from form6i

declare
pl_id parameter;
n number;
begin
pl_id:=get_parameter_list(‘parameter_list’);

if id_null(pl_id) then
pl_id:=create_parameter_list(‘parameter_list’);
——————parameter add form to report—————————————————–
add_parameter(pl_id,’Emp_code’,tex_parameter,:block_name.employee_code);
————————————————————————————————————–
–‘emp_code’ is a report parameter..
–employee code is form text column name , taki form k through report me value jaye.
—————–run report——————————————————————————–
run_produc(reports,’c:\report_name.rdf’,syncronous,runtime,filesystem,pl_id,null);
end;

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following