Dynamic Parameter form

On parameter form, User should have the option of entering either (start date & End date) fields together or just a stop date field only (there are a total of 3 fields). Is it possible (e.g.) to have option button(s) that would activate one of the 2 options. Could you suggest a way of implementing this on parameter form.
Thank You

Why dont you just give the user the option of inputting either, and handle their action in the code? I know its not as pretty, but usually the user will know which data needs to be entered to get the correct report.

Similar Messages

  • Report parameter form in ADF/JHS

    I am looking for the best way to develop a ADF page (with or without JHS) similiar to the Headstart report parameter form in Oracle Forms. I found a dynamic parameter form example on Steve Meunch's "Not Yet documented ADF Sample Applications", #93 that seems ideal. Has anyone implemented this approach using the existing Headstart tables? How were the LOV queries handled?
    Any feedback would be appreciated.

    Hi Carl,
    Include PARAMFORM=YES in the URL to display the parameter form in RDF to be displayed in the web.But it is showing a submit and reset button at the top.I am not sure how to get rid of it.Hope this will help
    Gracelin

  • 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

  • Dynamic lov on a apex page parameter form

    I'm trying to create a dynamic lov on a apex page parameter form. I read another post to look at metalink note. 292521. I asked our DBA to review the note but he claims he can't find the article. he's also been unable to find the last 2 metalink requests i've made. can someone verify metalink note 292521 exists so i can inform the DBA?
    Thanks,
    Brian

    Brian, I cannot find that note either, try posting your question in the APEX forum, this forum is for Oracle Portal questions.
    Cheers,
    Mick.

  • Can you dynamically change an LOV on the parameter form based on other params?

    Can you dynamically change an LOV on the parameter form based on other parameters? For example, based on a entered purchase order number, create an LOV of the purchase order lines that belong to the entered PO #.

    Hi
    Accouding to my knoledge you can't do it.
    If you want to build lov for that particular
    value, you can do it in Forms.
    Vijay

  • Dynamically generated parameter form

    We are dynamically generating the parameter form using a jave compiler.
    It takes a lot of time to come up for some reports and is quite quick on others. Has any folowed this approach and encountered the same issue.

    dear prabhakar99
    Can I be in touch with you? Do you have any contact details?
    please reply soon

  • Null values not displaying in the LOV on the parameter form.

    My report works perfect while in Oracle Reports 10g, however when I move it to our menu (Oracle Forms 10g) it does not display the null in the LOV on the parameter form.
    This report allows the the user to select by inspector or district or everyone for certain dates.
    Ex: I have 4 parameter fields. The user must enter the start & end dates and either the Inspector or the district or leave the inspector or district null to run for everyone.
    The district LOV is :
    select dnr_section_code, description from dnr_section_code where dnr_section_code in ('29', '38','52')
    UNION
    select null, 'All' from dual
    order by 2 asc ;
    The inspector LOV is:
    select null , 'All' from dual
    UNION
    select person_seq, first_name||' '||last_name inspector from vw_eng_inspectors
    order by 2 asc
    In my Data Model query I use the :
    My select
    from tables
    where clause
    +
    ----by inspector
    and (prod_fac_inspections.person_seq_inspector =
    nvl(:inspector,prod_fac_inspections.person_seq_inspector))
    ---by district
    and
    (d.dnr_section_code = nvl(:district,d.dnr_section_code)
    and d.person_seq = prod_fac_inspections.person_seq_inspector)
    Again, it works perfect in Reports! It eliminates having 3 reports on the menu. This one report gives the user the option of selecting dynamic parameters.
    Also, I got so frustrated, that I went a different route of using a default where.
    I am stuck with the error of ORA:00933 SQL command not ended properly
    1=1
    I set the initial value to 1=1 and it does not like it.
    I am stuck!
    DB = Oracle Database 10g Enterprise Edition Release 10.2.0.2.0

    Hi Krishna,
    I'm not sure I understand the probelm.
    A progress bar control only displays numeric values. When do you mean by "unassigned values"? What would you expect to be presented?
    Best regards,
    Udi

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to create a dynamic parameter off a universe field

    Post Author: Summer Frend
    CA Forum: General
    Hello,
    I am trying to create a dynamic parameter in Crystal Reports off my universe field. However the fields appear to all come in as STRING with length 65534 (memo field?). Therefore the fields are not available to choose in my parameter creation box. NOTE: In the universe designer, the field is set as CHARACTER type. I am just trying to make it work with the sample universes that are shipped with BobJ.
    Is there a way in the Universe Designer to make the fields come into Crystal Reports as string fields so that I can choose them as the value for the dynamic parameter in Crystal Reports?
    Thanks,
    Summer Frend

    I'll try again,
    My problem is that I want a dynamic paramater for my Master flow (on START1 activity, so it is something like that : start1.param = select seq.nextval form dual; or from a function GET_PROCESS_ID) but it seems that I must give a permanent parameter it can not be set dynamicaly. I want my flow to be independant of any human intervention. So if it is the first load it does one thing if not the first load it does something else. I can not understand the point of having a parameter (in) that can not be set dynamicaly (looks more like a constant to me, or I'm missing something here). Hope your getting my point.
    Thanks again
    Jacques

  • Want to Create View as per Condition Fires After Parameter Form.

    Hi ..
    I want to create a report from a view,and that view would create after parameter form of that
    report.
    Example..
    I want to select max(sal) of each Dept.where employee hired between 1-jan-2007 and 31-jul-2007'
    I want when i Passes dates in Parameter FOrm
    a view i.e select empno,deptno,sal, from emp created.
    that means that view contains only data about that certain period
    SO in Report Query i can write
    select deptno,max(sal) from vw_employee
    group by deptno.
    This is just an example....my real problem is very hard and only can be done by doing create a view as per given dates in Report Parameter Form.
    Waiting for Reply
    Regards
    Danish Hayder

    Wrong ideea.
    You should have the parameters in the report's query:
    select empno,deptno,sal, from emp where hired between :p_start_date and :p_end_date
    Why do you want to create a view in the report, seeing that it's best to use parameters.
    Moreover, think that the oracle user running the report would have to have the priviledges to create views, which may not be good security policy.
    Still, if you insist on creating the view when running the report, then you'd better create the view from a stored procedure, that would receive as parameter the SQL select for creating the view.
    So, you'd have the stored procedure:
    proc_view(p_select in varchar2, p_view_name in varchar2) is
    begin
    execute immediate 'create or replace view '||p)view_name||' as '||p_select;
    end;
    You then would compose the select in the afterpform trigger and call the proc_view procedure.
    Note that I did not allow proc_view to execute immediate any SQL one would pass, for that would be really dangerous. What if one would pass to the procedure executing dynamic SQL the following: 'drop table my_table cascade constraints'?

  • Dynamic Parameter LOV Select Statement

    I have a parameter form with a value for the fiscal year and equipment ID. I want to populate the equipment ID list of values based on the fiscal year that is selected.
    My query for the equipment ID list of values would be SELECT EQPID,NAME FROM EQPLIST WHERE FY = :FY.
    When I tried to add this query to the list of values of the equipment ID parameter I get REP-0781: Bind variables are not allowed in the Select statement.
    Is there a way to dynamically generate the list of values select statement in a reports trigger?

    Hi,
    What version of Oracle Reports are you using?
    Unfortunately, it is a limitation of Oracle Reports to not restrict values based on other parameters - for sure until Reports 6i and I believe until the recent new versions.
    The other way to do what you want to do is to do it outside of Reports, if you have an Oracle Forms application. For example, you can create a simple Oracle Form that captures the Report parameters and then submits the report from the Forms. In Forms, you can implement the solution you are looking for - restricting values based on values of other parameters. In reports, you can't do that.
    If you have a few other reports that have similar requirements, then you can create a form to launch reports and submit all your reports from there after capturing all your parameters there.
    Venkat

  • How to have a Dynamic PARAMETER in SMARFORMS

    Hi,
    I need a dynamic Parameter which will change its value for each copy. What I mean is I have a SmartForm with 1 Page. When number of copies is increased the dynamic Parameter should change in each copy.
    The following System Field will be used to display the copy number. Cant I do a arithmetic operation to this field.
    &SFSY-COPYCOUNT(CIZ)& + 1
    Thanks
    Kishan

    Hi,
    If you mark Identical Copies SAP Smart Forms buffers the output to increase performance. Within such a window, any queries of the system fields SFSY-COPYCOUNT or SFSY-COPYCOUNT0 have no effects.
    If you mark Different Copies SAP Smart Forms generates the contents again for each copy. You use this option if, for example, you want to number your copies consecutively (Copy 1, Copy 2, Copy 3, and so on).
    For more information,Check this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/b1/243fe0beee11d4b633006094192fe3/content.htm

  • Parameter Form-How to use a user parameter to retrieve list of values for another par

    I am developing a report in Reports 6i. There are 2 parameters on parameter form namely year and month.
    LOV for Year is retrieved from database. After user selects a value from LOV for year, I want to retrieve another LOV for month parameter based on selected year. That is how can we use a user parameter's value to dynamically retrieve an LOV for another parameter on the same parameter form.
    Pl. guide.
    Thanks in anticipation.

    You can't restrict the "List of Values" of one parameter based on the value of another parameter within the Reports Builder/Runtime parameter form.
    The SQL select statements within LOV's are only executed once. They aren't re-calculated when you enter, leave or change other field values in the parameter form. This is mainly because there is no event model in the Reports parameter form and it only supports basic form functionality.
    To do what you're after in a client-server environment you need to create an Oracle Forms "parameter form" and use that to execute the Report using the run_product() call. Actually, you should probably use Oracle Forms for any more generic "form" functionality such as radio buttons or check boxes.
    If you're in a Web rather than Client-Server environment, it may be easier to create a JSP based parameter form. You can then use Reports 9i since it has JSP support to assist here.

  • Not getting the Parameter Form in Multi-tier Enviroment.

    Hi all,
    I am using Forms 6i and Reports 6i.
    The reports run fine in Client Server mode. It asks for the desired
    parameters based on which I am building the dynamic query.
    But in 3-tier env., it just skips parameter form.
    What is happening I don't know. It is not displaying the errors either.
    Any help is appriciated.
    Thanks.
    SKPani

    Hi,
    Thanks Geeta & Jbaker for your help. But the problem is the user may run it in Client/Server mode as well as in browser. Is there any way to find out whether the application is running in Client/Server or web, so that accordingly i can call run_product or web.show_document().
    Where can i find the file cgicmd.dat and what entry should i add to that file.
    Thanks for your help
    SKPani

  • Using Bind Variables in Parameter Form's Query

    I want to use bind variables in the query of Parameter form. But
    it does not allows. What is the other way out. The structure of
    my Parameter form is as under:
    State:
    Customer:
    Now I want that I want to list only those customer in the
    Customer LOV which belongs to the selected state.
    Thanks.
    Muhammad Nadeem

    Can we just link to an oracle form using a url still as we can with reports? I've built a report that requires the user to select from a dynamic list as well, and I know how to do this through forms, but can I simply call the form from a webpage?

Maybe you are looking for