Report 10g: Runtime Parameter Form

Is there any way in Reports 10g to trigger Parameter Validation just after
user enters a Parameter?
I would like to have dynamic LOV in Reports Parameter Form....
So contents of LOV list items in Report Parameter #3 would depend on the user selection from LOV in Report Parameter #1

It is not as simple as just adding this parameter to the URL. You have to do some coding too.
The basic problem is that the paramform code contains a HTML FORM without any action. So, you have to create an action yourself.
See Metalink note 139546.1 on how to modify your reports (there should be a white paper on OTN too, but I can't find the link anymore).
Bottom line is: yes, it is much simpler to use Forms as your parameter form.

Similar Messages

  • Invoking runtime parameter form from Oracle forms 10g.

    Hi all,
    I am using Oracle 10g DS.
    I have cretaed a form containing a button. when i pressed that button
    the rdf has to be called and runtime parameter form has to be invoked. In that i will give parameters. In that button the path is already is there.
    so the problem is I am unable to invoke the runtime parameter form of Reports builder when i pressed the button.
    can anybody helpout....
    thanks in adv.
    Venkat.

    copy the question to the report forum as well :
    Reports

  • Reports-Runtime Parameter Form

    hi!
    I made a report which contains quite a lot of data; so I
    also created a user parameter for the runtime parameter form, so
    the user can select one value so that the amount of data is
    minimized; the user parameter is based on a select statement;
    now my question: the way it is now the user can only make one
    selection, how can he see all records and is not forced to select
    a single value?
    thx, michaela
    null

    Michaela (guest) wrote:
    : hi!
    : I made a report which contains quite a lot of data; so I
    : also created a user parameter for the runtime parameter form,
    so
    : the user can select one value so that the amount of data is
    : minimized; the user parameter is based on a select statement;
    : now my question: the way it is now the user can only make one
    : selection, how can he see all records and is not forced to
    select
    : a single value?
    : thx, michaela
    Hi Michaela,
    I Understood that you have created user parameter based on
    select statement which will display list of values in List item
    in the Runtime Parameter form. User can select any one value
    from the list & display the records for selected value in the
    parameter form. But your question looks like user should have
    facility to select all the value in the list from the runtime
    parameter form.
    Example : Display list of deptno in the Runtime parameter form.
    If user selects any one deptno, display employee
    details for the selected deptno. Also user should
    have option of selecting records for all the dept.
    1. Create user parameter P_DEPTNO based on following select
    statement.
    Select deptno from dept
    Union
    Select 'ALL' from Dual
    2. Create the Query for the report as
    Select *
    from Emp
    Where deptno = Decode(:P_DEPTNO, 'ALL', deptno, :P_DEPTNO)
    So user will have option of specifying condition to
    select all the records for all the deptno as well as user
    can specify particular deptno.
    I hope this may help you to solve your problem. Pls let me
    know whether this helps you or not.
    Mani/-
    null

  • Reports-Runtime Parameter Form; another question

    hi!
    I would like to implement 2 user parameters in the runtime
    parameter form which depend on each other: with the first one you
    can select a special ressort and depending on the selection you
    made here you can select some keyword groups with the second one;
    but I don't know how the select statement for the second user
    parameter should look like, because it is not allowed to use
    'Bindevariablen' (sorry, don't know what they are called in
    english; this are the ones with the : in front of them):
    here is what I tried to do:
    parameter: P_1
    select rs_id, rs_name from tb_ressort union select 99999, 'alle
    Ressorts' from dual order by 1
    parameter: P_2
    select kwg_id, kwg_group from tb_keyword_group union select
    99999, 'ALL' from dual
    and here I wanted to add a where clause: where rs_id = :P_1
    but this doesn't work
    Any other ideas?
    thx in advance
    null

    Michaela (guest) wrote:
    : hi!
    : I would like to implement 2 user parameters in the runtime
    : parameter form which depend on each other: with the first one
    you
    : can select a special ressort and depending on the selection you
    : made here you can select some keyword groups with the second
    one;
    : but I don't know how the select statement for the second user
    : parameter should look like, because it is not allowed to use
    : 'Bindevariablen' (sorry, don't know what they are called in
    : english; this are the ones with the : in front of them):
    : here is what I tried to do:
    : parameter: P_1
    : select rs_id, rs_name from tb_ressort union select 99999, 'alle
    : Ressorts' from dual order by 1
    : parameter: P_2
    : select kwg_id, kwg_group from tb_keyword_group union select
    : 99999, 'ALL' from dual
    : and here I wanted to add a where clause: where rs_id = :P_1
    : but this doesn't work
    : Any other ideas?
    : thx in advance
    Hi Michaela,
    I think this will generally not work in reports parameter form;
    the parameter values are available first when the report is
    started, and the first point to reference them is in the
    after-parameter-form trigger. I think you get the message
    from the report builder 'REP-0781: Bind variables not allowed in
    the Select statement'.
    The only idea I have is to write a parameter form with Forms,
    with two LOV's attached to two items wich CAN reference each
    other. Then use add_parameter and run_product to start your
    report. This seems to be more complicated then using only
    Reports, but it isn't and it works.
    peter
    null

  • How to hide the window of Runtime Parameter Form?

    I have a form and I call a report from this form.I have passed some parameters to this report.Before the browser of reports appear the window of Runtime Parameter Form.I want to hide this window of Runtime Parameter Form but I don't know how.
    Please help me!

    When calling the report, set the property PARAMFORM to NO. IF you using parameter list to pass values to report you can do as follows:
    ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');

  • Customizing Runtime Parameter Form

    Hi
    I'm using Portal Release2. Here is my problem I want the customize the Runtime Parameter Form but I can't seem to do it. A simple test case is needed:
    1) I've created a report definition file access through portal and successfully run the report.
    2) I've copied the run link which is something like -
    PORTAL_DEMO.TEST_REPORT.show_tabpage
    3) I've created a dynamic link such as -
    http://abc.def.com:7778/pls/portal/PORTAL_DEMO.TEST_REPORT.show_tabpage
    4) when a user clicks that link the page shown is a default Oracle Report Portlet parameter form even though I've changed the parameter form template.
    could someone provide a solution to this issue. By the way I've been reading an old version of portal and you can do it in release1 but no reference is available in release2.
    see section 5.14.1 Deploying a Report to an Oracle Portal Content Area
    http://otn.oracle.com/docs/products/ias/doc_library/1021doc_otn/busint.102/a86784/pbr_sec.htm#1033196

    Hi George
    After you register a RDF component, at the end of registration wizard, you need to go to Customize link and check out the fields you wish to display in Parameter form. After this, you need to click on Save Paramater button, which would save your changes.
    Now you can put this RDf component to the content area /page and publish the link to this content area / page to users and they would be able to see your customize param form.
    Thanks
    the Oracle Reports team

  • Building a JSP-based Web Report with a Parameter Form

    Hi,
    I tried in building a report as shown in the example in OTN under reports in the url
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/ParameterFormJSP/index.html
    i.e for Building a JSP-based Web Report with a Parameter Form. The directions in this document were not clear and if any one document which is clear with instruction will be useful to me. In this example it is shown with search criteria with sigle text box and if any one had idea & code to place an combo box and population of the record group in the combo box.
    Thank you in advance.

    hi,
    we will be releasing a new example w.r.t creating a parameter form using the reports JSP within the next month.
    as for your request for a combo box. this widget is not available via regular HTML form elements. you can either have a select list or dropdown list.
    for a regular select list you would use the following (only pseudo-code)
    <select ...>
    <rw:foreach>
    <option value="<rw:field .../>">
    </rw:foreach>
    </select>
    to populate a select list.
    regards,
    philipp

  • Reports 10g calling from forms 10g

    try reports 10g calling from forms 10g ,but I not do.
    Programme have frm-41213 unable repserver.. error and I am not start up oracle reports server from services. please help me.

    Dear Lida;
    i use this code
    rwserver -install repsername
    but in release 3 it is not work and i had to write it like this
    rwserver server=repservname
    the first code make the report server work as service could u tell me how the first code work with realease 2 but in realeas 3 not working ?
    and thkx alot in advance
    regards
    Reda El Mitwally

  • Using Run_Report_Object() To Call Reports with a Parameter Form

    Hi
    I have successfully migrated a version 5 application to 10g but, I'm having a particular issue with reports run from a menu.
    The report has 3 user parameters and they previously worked with a client server parameter form.
    How do I pass the parameters from the report to the RUN_REPORT_OBJECT in the pl/sql editor in the menu ?
    In my other reports I have used a :block.item bind variables but in this case there is no datablock involved.
    Any help with the correct syntax will help.
    Message was edited by:
    4dyomi
    Message was edited by:
    4dyomi

    Dear Friend,
    You can use following code to run a report from "Forms10g" using RUN_REPORT_OBJECT. Directly copy below code to your forms10g and make appropriate changes. In the code, "Manish" is the name of report server running on your application server. To start report server u can run this command on command prompt on your application server.
    rwserver server=<server_name>
    This command will start report server. In below code i have a text box called "ADDRESS_CODE" which i am passing as a parameter to report which conatains a parameter called "SUBCODE". This is a tested code and works fine in Forms10g DS.
    declare
         cnt number(3);
         report_id report_object;
         REPORTSERVERJOB VARCHAR2(100);
         VJOBID VARCHAR2(100);
         REPORTSERVER VARCHAR2(50) := 'MANISH';
         V_URL2 VARCHAR2(500);
         V_URL VARCHAR2(100);
         PARA PARAMLIST ;
    begin
         PARA := CREATE_PARAMETER_LIST('INPUT1');
         --'ADDRESS_BOOK' IS A REPORT OBJECT DEFINED
         REPORT_ID := FIND_REPORT_OBJECT('ADDRESS_BOOK');
         --FOLLOWING PARAMETERS ARE MANDATORY PARAMETERS TO SET REPORT OBJECT
         SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, FILE);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'HTMLCSS');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, REPORTSERVER);
    --TO SEND PARAMETERS TO REPORT ADD FOLLOWING CODE, (:ADDRESS_CODE IS A TEXT ITEM)
    ADD_PARAMETER(PARA,'SUBCODE',TEXT_PARAMETER,:ADDRESS_CODE);
    --RUN REPORT OBJECT TO FETCH JOBID
    REPORTSERVERJOB := RUN_REPORT_OBJECT(REPORT_ID,PARA);
    --VJOBID IS JOBID THAT IS SET AT RUNTIME BY REPORT SERVER
    vjobID := substr(ReportServerJob,length(reportserver)+2,length(ReportServerJob));
    v_url := '/reports/rwservlet/getjobid'||vjobID||'?server='||reportserver;
         Web.Show_Document(v_url,'_blank');
         DESTROY_PARAMETER_LIST(PARA);
    end;
    Regards,
    Manish Trivedi
    Software Developer
    Ambuja Cement,
    India.

  • Calling a JSP Report From HTML parameter form

    Hi,
    I m trying to run a JSP Report from a HTML parameter Form. The JSP reports requires a parameter named userid in the URL with a valid value for database connection.
    eg. URL "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?userid=sysapps/system@trt1". We have created a variable on the server named "parmformjsp" with a value "sysapps/system@trt1". Now i use this variable in the URL as follows, eg. "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?parmformjsp".
    When i use this URL to call another JSP report from a JSP report it works fine, but the same does not work when calling a JSP report from a HTML form.
    the code for HTML parameter form calling a report is as follows,
    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Parameter Form</title>
    </head>
    <body>
    <p>Parameter Form</p>
    <form name="form1" method="GET"
    action="http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_custrns.jsp?parmformjsp">
    <p>From Date<input type="text" name="p_fmdate" size="20"></p>
    <p>To Date<input type="text" name="p_todate" size="20"></p>
    <p> </p>
    <p><input type="submit" ><input type="reset" value="Reset" name="B2"></p>
    </form>
    <p> </p>
    </body>
    </html>
    If i create an input parameter named "userid" with a valid database connection value, remove the ?parmformjsp part from the action URL then it works fine. How can i call the JSP report using the parmformjsp variable name instead of using the "userid" clause in the URL.Can anyone suggest any workaround....
    Thanks & Best Regards,
    Unmesh

    do it like this...
    DECLARE
    pl_id ParamList := Get_Parameter_List('tmpdata');
    BEGIN
    IF NOT Id_Null(pl_id) THEN
      Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'ROUTE_CARD_CONTROL', TEXT_PARAMETER, :ROUTE_CARD.ROUTE_CARD_CONTROL);
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Run_Product(REPORTS, 'D:\STL_FINAL\CHPREPORTS_FINAL\ROUTE_CARD.REP', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    END; what exactly happens when you call the report. if its showing the blank page... may be you are not passing the right parameter name. cross-check that your parameter name in the report is 'ROUTE_CARD_CONTROL'.

  • How to display a Report 9i from Forms if the Report has a Parameter Form?

    Hi,
    could some one please post me a code sample to show how to call a (paper layout, RDF) Report from Forms if I would like it to display the Report's parameter form first?
    Thank you in advance.
    Tamas Szecsy
    I used the following code segment do achieve the job, but I get "REP-546: Warning: The value of restricted LOV parameter P_ALAL is not among the selectable values" message, even though I would like to specify the P_ALAL value on the report's parameter Form.
    declare
    paramlist_id ParamList;
    tmp_riport_name varchar2(200);
    report_id          report_object;
    report_job_id varchar2(200);
    tmp_id number;
    begin
    -- init
    tmp_riport_name := null;
              -- parameter list
    paramlist_id := get_parameter_list('mytmp_params');
    if not id_null(paramlist_id) then
    destroy_parameter_list(paramlist_id);
    end if;
    paramlist_id := Create_Parameter_List('mytmp_params');
    add_parameter( paramlist_id, 'PARAMFORM', TEXT_PARAMETER, 'YES' );
              -- call report
    report_id := find_report_object( 'DUMMY' );
    if report_id.id is null then
         return;
    end if;
    -- display
    set_report_object_property( report_id, report_execution_mode, runtime );
    set_report_object_property( report_id, report_comm_mode, synchronous );
    set_report_object_property( report_id, report_destype, 'preview' );
    set_report_object_property( report_id, report_desformat, 'PDF' );
    set_report_object_property( report_id, report_server, 'rep_geoias' );
         set_report_object_property( report_id, report_filename, :ALAP_REPORTS_NAME||'.rep' );
    report_job_id := run_report_object( report_id, paramlist_id );
    tmp_id := to_number(substr( report_job_id, length(name_in('rep_geoias'))+2 ));
    web.show_document( '/reports/rwservlet/getjobid'||tmp_id||'?server=rep_geoias', '_blank' );
    END;

    I think you specified report object name incorrect.
    in command line:
    repid := FIND_REPORT_OBJECT('REPORT1');
    Report1 must be name of report object in Form Builder.
    However to call report from Oracle Form you must do more work. For example:
    - Create report server name
    - Adding some code to set property for report object base on report server you created.
    Cheer!

  • XML Publisher report in EBS - Parameter Form Problem

    Hi,
    XML Publisher is a very powerful tool for report developing.
    In EBS, we have some efficient issue for showing the parameter form when submit a concurrent program.
    If the report is D2K Report or PL/SQL script, when submit a request, it almost shows the parameter form immediately after entering the name of the concurrent program.
    But if the report output is XML and generate report using XML Publisher, it takes about 1 minutes to show the parameter form.
    Is there any setting should be tuning in our environment or some patches should be applied??
    Thanks in advance.
    Best regards,
    Zhxiang.

    Hi All,
    Is there any suggestion, for the issue that t takes long time to show the parameter form?
    Thanks in advance,
    Zhxiang

  • Calling a report from another report in after parameter form

    hi,
    I'm calling Emp.rdf report with deptno as parameter and if the parameter is '10' then i have to call dept.rdf
    function AfterPForm return boolean is
    begin
    if :p_deptno =10 then
         srw.run_report('report=c:\reports\dept.rdf destype=screen p_deptno='||:p_deptno);
         end if;
    return (TRUE);
    end;
    But, now i'm getting an error as
    REP-1428: afterpform': Error while running SRW.RUN_REPORT
    Could you please help on this. thanks Bcj

    Hi , I have tried destype=file , didn't work for me. same time i tried with background=yes , that time report crashed.
    Actualy what i'm trying to do is,
    whenever the main report received an incorrect user input , i have to run a different report based on that particular input value and to show the users the actual input values.
    so the coding would be like this in the after parameter form,
    BEGIN
    IF :P_ID between 1000 and 5000 then
    --here i'm only changing the paramter value ,
    ELSE
    --here i'm calling the new report
    srw.run_report('report=c:\reports\emp.rdf batch=yes destype=file desname c:\reports\id.txt background=yes p_new_id='|| :p_id);
    return(true);
    END;
    Any help....

  • Oracle report 10g vs Oracle Forms 11g

    Hi,
    My application run on Oracle 10g with Oracle Forms&Report 10g
    I have to modify a report file which was saved by oracle report 11g.
    When I open the file with Oracle Report 10, I have the following warning : "Avertissement ! Ouverture d'un rapport enregistré avec une version plus récente. Risque de perte de fonctionnalité. Continuer ?" (translation : "The file opened was saved with a more recent version of Oracle Report. You may lose some information. Continue ?").
    What kind of information I may lose ?
    Can I modify my file on Oracle Report 11g and compile it in Oracle Report 10g ?
    Or
    Can I modify my file on Oracle Report 11g and compile it in Oracle Report 11g and run it on Oracle Report 10g ?
    Thanks a lot.
    Michel

    36368ccd-1921-478d-9716-f90da72c8ed6 wrote:
    What kind of information I may lose ?
    Can I modify my file on Oracle Report 11g and compile it in Oracle Report 10g ?
    Or
    Can I modify my file on Oracle Report 11g and compile it in Oracle Report 11g and run it on Oracle Report 10g ?
    Michel,
    Question 1 - the file will no longer be useable with Reports 10g - you will loose everything.
    Question 2 - No, newer versions of Oracle Forms and Reports are not backward compatible with older versions.
    Question 3 - No, see answer to question 2.
    Craig...

  • Runtime parameter form

    i also had the same problem, but when i changed the %p , my parameter form still did not appear.
    Using reports 9i.
    Thanks

    Thank You, that solved the problem.
    You can either use paramform=yes on the url, or in cgicmd.dat file, append %P on to the command line.
    Thanks,
    -Shaun

Maybe you are looking for

  • Recovery without DVD Drive

    Recently purchased a HP ProBook 430 G1.  I attempted to request HP Support online but when I clicked on the link for this model no page was found.  Hope someone here can help.    The device was installed  with Windows 7 (at my request).   It came wit

  • Safari 4 wont open a local *.hta file as html

    I have a local html file (a tiddlywiki) that I use on windows and mac. To use it on windows it needs the extension .hta - Safari 3 opened this file OK as a web page. Safari 4 just kicks it up in Finder. Can I force Safari to open local files like 'fi

  • View all objects of a user in Oracle

    Hi, As I can see in sqlplus all objects that correspond to a user in a schema x. Thanks

  • JSP TagLib Bug

    I took my taglib's and tried to move them           over to get them working on 6.0.           I now get an error:           Parsing of JSP File '/showdate.jsp' failed:           /showdate.jsp(1): Error in using tag library uri='date' prefix='/date.t

  • ISR FORM how to get Employee Name based on Login User From R3

    hi,, I am working on ISR Adobe Forms.In the form I have to display the Employee Name,according to the portal logged in user.I have written a Function Module which fetches the Employee Name, based on Employee Code(PERNR) .I will be viewing the form in