5 pts.
 How to pass parameters from Oracle Form to Oracle Report?
how we can run oracle repoert from Oracle form and passing parameters from form to oracle report by Clicking Button

Software/Hardware used:
ASKED: June 7, 2009  7:24 AM
UPDATED: July 15, 2011  1:29 PM

Answer Wiki:
You have to declare a ParamList variable and add all necessary parameters to it. Something like this: <pre>Declare l_parameters ParamList; Begin l_parameters:=Create_Parameter_List('l_parameters'); Add_parameter(l_parameters,<parameter_name>,Text_Parameter,<parameter_value>); ... ... End;</pre> Then you call the RUN_REPORT_OBJECT built-in to call the report, passing the parameter list. if you are running your forms on the web, you will need to use the "WEB.Show_Document" built-in. If you need further help, please provide more details (forms/reports version at least).
Last Wiki Answer Submitted:  June 8, 2009  1:48 pm  by  carlosdl   63,535 pts.
All Answer Wiki Contributors:  carlosdl   63,535 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Hi,

I need help in same. I have a report which I want to run from oracle forms. I have developed a report that generates a letter to be sent to previous employers of an e-mployee. The report has two parameters 1- selecting emp_name, 2-previous_employer_name. I have a form which has two columns (emp_name, previous_employer_name) values of which which I want want to use to pass parameter values to this report.

Example: I have an employee ‘A’ whose employment history I want to verify by sending letters to his ex-employers. He had been working for 3 different employers in the past 5 years ‘X’, ‘Y” and ‘Z’. Emp_name is already selected as fields from master data block. Now I want that when I press a button to run the report. The name of the ex-employers in the current field should automatically be taken as parameter while generating report.

Any help will highly be appreciated.

 10 pts.

 

You didn’t say what exactly you need help with.
How to send parameters to a report is shown above, in the answer section.

 63,535 pts.

 

how can i run report calling rtf format?

 10 pts.

 

Mirshaid, please create a new question, to make sure your problem gets the appropriate attention.

When creating your new question, please be more specific, and provide as much details as possible.

Thanks,

 63,535 pts.

 

Maojkumar, why do you need to pass 100 values ?

P.s. If you create a new question, you are probably going to get more answers.

 63,535 pts.