Parameter form help

Hi everyone,
i have a table TEST with data as below:
WITH TEST AS
     (SELECT 'A' AS CODE, '1' AS ID  FROM DUAL
      UNION ALL
      SELECT 'A', '2'      FROM DUAL
      UNION ALL
      SELECT 'A', '3'      FROM DUAL
      UNION ALL
      SELECT 'A', '4'      FROM DUAL
      UNION ALL
      SELECT 'B', '5'      FROM DUAL
      UNION ALL
      SELECT 'B', '6'      FROM DUAL
      UNION ALL
      SELECT 'C', '7'      FROM DUAL
      UNION ALL
      SELECT 'C', '8'      FROM DUAL
      UNION ALL
      SELECT 'C', '1'      FROM DUAL     )
SELECT *  FROM TEST;
OUTPUT:
C I
A 1
A 2
A 3
A 4
B 5
B 6
C 7
C 8
C 1so in my report i have parameter form with 2 fields as "CODE" and "ID",so the data in "CODE" is displayed through SELECT statement in LIST OF VALUES parameter.
so when i select the data in "CODE" field,i want to display only the corresponding ID's with respect to "CODE" in "ID" field
for example:
if i select CODE ='A' then "ID" field should populate with values 1,2,3,4 automatically with respect to "CODE"
My request is this possible in report builder parameter form ??
if yes then plzzz guide to the solution
Regards,
Santosh.Minupurey

Hi santosh,
you can use list of values for report parameter.
under user parameters select your parameter. Go to property pallete.
There is a property called list of values. There you can write your query for LOV.
But i dont know it is possible to populate paramter item at run time based on another parameter item selection.
Regards
Sankar MN

Similar Messages

  • Help with Parameter Form

    Hello, I have a somewhat complicated Report and I am hoping that I can create the Parameter Form in Reports (I would rather not use Forms because I don't know it as well)
    Here's my problem:
    Right now I have 2 fields that I need help with.
    The first one is called "Report Name" and I have it coded to a bind variable that will search for a series of "work units" such as 02% or 03%
    This works as coded, the problem comes with the other "Work Unit" field. What I have right now is a LOV that queries for work units that start in either 02 or 03. This variable will narrow down the report findings to the specific work unit selected. What I want is for this list to be dependant on what the user choses for report name.
    For example if the user choses ReportName1 the report query finds work units with 02%, but the "work unit" field still displays the list of work units 02% and 03% and the user must know to only chose the certain work units for the specific "Report Name" selected.
    If there is a way to somehow have the "Work Unit" field be dependant on the "Report Name" field please give me soem ideas of how to do it.

    Thats what I was worried about.
    Well I have been trying to learn forms for some time now but I can't quite get the hang of it yet.
    I don't really have anyone who knows it here, so I'm kind of learning on my own.
    Thanks for the response.
    Arin

  • Help: Parameter form related

    Hi,
    I am working a set of FORM LETTER reports. I'd like to include a parameter form so when user enter multiple ID numbers separated by comma ',', the REPORT will print multiple letters. In my query, I included a line of constraint as:
    where ID IN (:P_ID)
    It did not work. It works if I put it as:
    where ID = :P_ID
    But this would only print one letter at a time.
    Thank you in advance
    Jimmy

    Will you be more specific on this?
    The problem I have is in SQL, doing this:
    SELECT ID FROM TABLE_ID
    WHERE ID IN (&P_ID);
    is perfectly OK.
    However, if P_ID is passed as parameter in the REPORTS query, it does not work. In the REPORTS that I am working on having a where clause as:
    WHERE ID IN (:P_ID)
    the parameter is passed as: :P_ID: 267, 365 etc.
    Thank you in advance.
    Jimmy

  • Help with 10g Reports Parameter form Fonts

    Hi
    We are trying to upgrade to 10g from 6i developer, when we try to run a report, the parameter form fonts comes out ugly.., on a Linux plat form , the fonts we have on the parameter form are Ariel 8, 10 and 12. Any idea what to do to fix these?.

    Please try this question on the Reports forum. I know that there is a way to handle this.
    Frank

  • Parameters that do not show up on default parameter form

    Reports upgraded to 6/6i from SQL*ReportWriter/Oracle Reports 2.5 contain parameters that both do and do not show up on the default parameter form.
    Is there any property that can be set in the Object Navigator to disable or enable a parameter on the default parameter form. I know I can create a parameter form and specify which parameters are on it, but user created parameter forms look a bit different from the default parameter form in character mode.
    null

    You can read "Selecting parameters to include in the Runtime Parameter Form" topic in the Reports on-line help.
    I hope this will help you.
    Helena

  • Parameter form using LOV based on SQL  to pass param to Discoverer portlet

    Hi all
    I have a design issue:-
    I want to create a parameter form in Oracle Portal to allow users to select the department using searchable LOV (like the torch that is there in various oracle products) and pass the selected parameter to the Oracle Discoverer worksheet portlet. The LOV values is required to come from a SQL query which in turn is dependent on User_name varia ble from the session.
    I am looking for any out of the box portlet which can be configured to achieve the same. Any help or pointers in this regard would be greatly appreciated.
    Thanks
    Puneet

    Hi,
    Please refer to the answer in this question Re: OC4J Memory question
    It is similar to your requirement.
    Thanks,
    Sharmila

  • Report Builder 6i returns ORA-01483 in after parameter form trigger ?

    Can anybody help me ?
    I've been working on a report with report builder 6.0.8.11.3,
    and whenever i run the report the after parameter form trigger
    returns REP-1401 and following ORA-01483.
    I've been trying to change the values of some user parameters
    from within the trigger code, none of them is a date or a number
    parameter, these are character variables who would be referenced
    lexically to change a table name dynamically when the trigger
    fires. Aditionally I'm using a cursor to obtain data and then
    modify the parameters.
    How can i get this thing to work ?
    Thanks in advance for your reply...

    hello,
    this might be related to the usage of number(1) as type/length
    of your parameter. this is a known problem. it should be solved
    by using e.g. number(2) as the type/length of your parameter.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Report Parameter form not showing list of values in Report svr

    I was using reports 6i where I used to have list box in report parameter form. I now converted recompiled my reports in 10g and when I run I am not geting the list of values. I get the values as a list below the field
    ex.
    ITEM :___________
    box,book,pencil,rubber,
    dvd,floppy...
    previously it was coming as a list in the item field
    thanks
    MG

    Hello,
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/howto/params/pmp_creating_list_of_values.htm?tp=true
    If you run the report from a Web browser and the list of values is unrestricted, the HTML Parameter Form will display a text field instead of a combo box, and a list of static values that you can copy and paste into the text field.
    Regards

  • JSP HTML parameter form to call report - Dependent  drop down list

    I have a report parameter form developed using HTML & JSP to call oracle reports6i.
    First parameter "STATES", Second Parameter "CITY"
    I have a master-detail relation betwen STATE & CITY table.
    I want the parameter form drop down lists dependant. ie if the user chang STATE value in the first drop down, the second drop down list CITY shoud
    change automatically.
    Please help
    Thanks
    Vimal

    Vimal,
    This is not functionality that's available in the Reports generated parameter form. In order to do this you'll need to build the parameter form yourself as a true HTML form and code the javascript to link the fields.
    Hope this helps,
    Danny

  • How to run .JSP 9iReport from web with Parameter Form

    Hi,
    I m trying to run a .JSP 9ireport from the web. now i have two problems.
    1. how do i display a parameter form from the web, meaning when the user clicks on the link to the report a parameter form should be displayed and the report should give the output for those parameters.
    2. how do i format the report output which i get in the web in pages, with a link called "NEXT" which upon clicking will take the user to the next page.
    Any help will be appreciated. Thanks in advance.
    Unmesh

    1. Take a look "Building a reports with a Parameter Form" in "Getting Started with Oracle9i Reports" in otn (URL: http://otn.oracle.com/products/reports/htdocs/getstart/examples/index.html)
    2. Normally web page doesn't have page concept. If you want to define the page for web, you need to do it yourself in the jsp. However, we do support paper based report that supports page and can be deployed on the web. Use pagestream=yes in the URL request.
    Thanks,
    -Shaun

  • How can I change LOV Font in a parameter form?

    Dear friends
    I made a report with reports 6i and in it's parameter form I placed an LOV based on a query and I want to change it's font, but it doesn't change anyway. I think it's default font is System.
    The problem is getting more serious when I use arabic windows, because it shows arabic characters as english extended characters and make the LOV unreadable. I would be so glad if someone could help me.
    Thanx.
    B. sadati

    Hi,
    I think changing the font in the Paramater form for the LOV is not possible. Long back there was
    an enhancement request filed for this , i don't think that is implemented yet.
    Prabably you have to have as a workaround is make a pramform out of Oracle Forms.
    cheers :-))
    Arun.

  • 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');

  • Problem in reports6i parameter form customization

    I am calling report developed under reports6i using rwservlet from j2ee web application. I was able to successfully customize the parameter form internal to report using Report Escapes properties, Before Form value and After Form value. I am using header.htm and footer.htm to render header and footer related html. I am able to use style sheet file also. Everything is working fine with this file. But when I try to repeat the same changes to another report (rdf), it is not taking the changes. No matter what I do, report is taking the settings from parameter form builder tool. When I run the report outside of web ie., from report builder, it is showing the parameter fields and labels I have made changes to, but when I run as web report it is taking the parameter fields and labels that report builder tool has. I am frustrated and do not understand, everything working fine with one report is not working with the other. Is that a bug? or am I missing something? Please help. I really appreciate your help.
    Thanks in advance,
    Raju

    Thanks Philipp for the response. Yes I verified whether server picking the changes. That's how I found its only picking from the parameter form builder. Whatever changes I made to the actual parameter form I was not seeing. But I was seeing whatever changes I made in the parameter form builder. I do not want to use parameter form builder wizard. It's kind of weird and that's why I do not see logic behind what's going on? I am wondering is it a bug in the reports developer tool. I am using oracle reports6i (Report Builder 6.0.8.11.3).
    Thanks,
    Raju

  • Dynamic lovs in parameter forms ... Is this possible?

    Hi
    I am using report developer 10g on windows xp.
    I need a cascading prompt style dynamic LOVs in my report parameter form.
    The first LOV displays a set of values (say for eg. dept list). The second LOV will display another list, based on the value chosen by the user in the first LOV (Eg. List of employee names in that dept).
    My first LOV select statement may look like below for the user parameter say P_DEPT
    select deptno from dept;
    My sencod LOV select stmnt may look like below for the user parameter P_EMP
    select ename from emp where deptno = :P_DEPT
    Each time I try to set the second LOV, report developer complains "Bind variables not allowed in select statement"
    Same error msg comes if I reference the first user parameter(P_DEPT) as a lexical parmaeter.
    How do I acheive the above in report parameter form? Any help is appreciated greatly...
    Thanks
    Suma
    Message was edited by: suma
    user519129

    Hi Brad,
    Thanks for the reply. I had almost given up hope on receiving replies to this message.
    I do agree that it is simpler (and a lot striaght forward) to just use forms to develop dynamic LOVs of cascading prompt style, that is required in my app. But in our shop, we have integrated forms and reports in such a way, that all the report parameters are handled by report developer's own parameter form, rather than coding a separate logic on the forms side to handle the report parameters(as this has to be done on the forms side for every report that we generate, We thought it would be better to use the reports developer to handle the parameter input and then pass the .rdf to forms app). Currently in all our app, the parameter form generated by the report developer is rendered as HTML form on the browser (when the concerned rdf file is called within the forms app) and by submitting this we get the report output)
    Hence I am very keen to get this done somehow on the report developer side.
    I do hope I get some input on this. Also, its a little surprising that such a simple feature is not readily avalibale in the report parameter form. I hope oracle report developer team is reading this message...:)
    Thanks
    Suma

  • 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....

Maybe you are looking for

  • Not able to run the Java Program from jre for the ARM processor

    Hi , I am try to run the jre1.4.2 for the arm core (linux 2.6kernel) which i downloaded from the sun site. I am created the class file from the J2SE1.4 development kit. I created the simple HelloWorld Program and complied with J2Se then i copied that

  • CHECK PRINTING SET UP

    Hi , Please let me know how to setup check printing in oracle appsR12 ..it is urgent please help us its very greatful to ... Thanks, User13100220. Edited by: user13100220 on Oct 19, 2012 11:04 AM

  • How to create new .dat file and its contents?

    Hi There Can anybody let me know the procedure of how to create new .ctl or .dat file to load data to tables. i working on 2day dba chapter 8. it shows me how to creat table and use .dat file to load data. but doesnot giv any clue how new .dat file a

  • Date Format in SAP chart customizing - Gantt

    Hello Everybody, I have problems with date format in Gantt chart coding in ABAP using xml concatenate, when i am customizing the xml from chart designer. I want Time(X) axis  in Days but its showing in quarters or weeks. I also tried with LineFormat

  • Print orientation error when customizing paper size or default A4 size.

    Hi, I had set my report print with landscape orientation, it works well in print preview and export to pdf file. but when I do print to printer, the page orientation was changed. I got the change rule about the issue, when you customizing page size,