Parameter Form in Oracle Report!!

Dear Oracle Users' Group:
I have problem with "Parameter Form" in Oracle Report.
The Report that I created has the SQL:
"SELECT A.FIELD1, A.FIELD2
FROM MYDATABASE.MYTABLE A
WHERE
A.FIELD1 = :P_1";
When the report is run, it asks for the parameter
and generates the report based on the runtime
parameter. Works perfect on Oracle8i database's
Report front end.
The PROPERTY PALETTE for the FIELD (Field that
takes the runtime parameter) is:
====================
General Information
Name: PF_P_1
Comments:
Parameter Form Field
Source: P_1
Parameter
Datatype: Character
Width: 40
Initial Value:
Validation Trigger:
List of Values:
(For the list of values, I have put the SQL:
"SELECT DISTINCT A.FIELD1 from
MYDATABASE.MYTABLE A", Also I had
tried with list of fixed values like A, B, C)
Web Setting
Additional Attributes (HTML):
================
But the report does NOT work when called from the Web.
(This is only because of the problem with this Parameter
Form in my report. If I get rid of the parameter form by
changing the last line of my SQL to: "A.FIELD1 = 'Chicago'",
it works fine from the Web).
When accessed the report from the Web, the error I get
is:
Oracle Reports Server CGI - Report Job has terminated with this error.
Reports Server Replies:
REP-0788: Warning: The value of restricted LOV parameter P_1 is not among the selectable values.
I do not know what is the error with this simplest Parameter Form based Report!!
In the Property Palette (above) of the Field, there was a field named "Additional Attributes (HTML)"
under "Web Setting" heading.
Do I need to write something there!!
Please help!!
thanks.
kimmy

Hi, Kimmy
Try: &paramform=yes]http://webserver.com:80/dev60cgi/rwcgi60.exe?server=repserver&report=rep1&userid=scott/tiger@orcl&destype=cache&desformat=htmlcss&paramform=yes
I've also sent you an email about key maps.
Enjoy! Web Reporting is a great feature.
Pedro.

Similar Messages

  • After Parameter Form issue - Oracle Reports 10g

    Hi All,
    I have compiled an .rdf report to an .rep file and when
    I run this file I get the "REP-1247: Report contains uncompiled PL/SQL" message.
    The issue is I have built the report with dynamic XML customizations in the after parameter form trigger. When I remove this piece of code from the trigger both files .rdf and .rep works fine.
    Notice that the .rdf file works fine with the after parameter form XML customization.
    Please, can enyone advice me how can I have a .rep file that contains dynamic XML customization (using the srw.add_definition).
    Thank you in advance.

    In Your code there is a line:
    add_parameter(pl_id,'PARAMFORM',text_PARAMETER,'NO');
    which actually disables the report parameter form.
    The line:
    WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id||
    '?server=rep_mohahubkpcomp_ORaHOme_IAS'||'&userid=
    bedman/bedman@bedman'||'&paramform=yes','_blank');
    displays the report to which vjob_id refers. At this point the report is competed so the parameters userid and paramform are useless.
    Hope this helps.
    Regards
    Bekcic Aleksandar

  • Parameter form for web report

    Hello,
    Using rwservlet on the web I can specify paramform=yes and I'll get a parameter form for my reports, which is really handy as it saves me from having to build my own forms. However when I run JSPs directly I cannot seem to get the automated form. Am I missing something obvious or is the parameter form just not available when you run JSPs directly?
    Cheerio,
    Robert

    Hi Robert,
    The description of the command line keyword PARAMFORM in Publishing Reports manual says:
    Use PARAMFORM to specify whether to display the Runtime Parameter Form when you execute a report via CGI or a servlet. PARAMFORM is used only to supply parameters to paper layout reports, not Web source reports.
    For JSP reports you need to create an HTML parameter form which calls the JSP and submits the parameters selected.
    You can find Reports documentation (incl Publishing Reports here):
    http://www.oracle.com/technology/documentation/reports.html
    Navneet.

  • Difference between AFTER PARAMETER FORM and BEFORE REPORT in Reports 6i

    Hi Aii,
    What is the difference between AFTER PARAMETER FORM and BEFORE REPORT in Reports 6i.
    Thanks in Advance,
    Balu

    Hi Balu.,
    As per my findings the After Parameter is fired after the Parameters are given to the report and Before Report fires when the queries are parsed and data is fetched.
    Regards.,
    Vijay G

  • Oracle Forms and Oracle Reports interation  without Oracle Portal

    Hi to all
    Can I integrate the application developed in Oracle Forms and Oracle Reports without Oracle Portal with Single Sign On.
    and if yes then how?
    and if no then why?
    I use 9iAS relese 2 installed on machine 1
    Oracle Database installed on machine 2
    Oracle Forms and Oracle Reports on machine 3
    all with win 2000
    thanks
    samir

    Is there a document on how to do this? Also, can this be done with Forms 6.0 or must i upgrade?

  • Oracle Forms and Oracle Reports as portlets

    Please, where can I get the documentation to publish Oracle Forms and Oracle Reports as portlets. I found some information about it in metalink but the URLs are invalid.

    Hi,
    Here are the steps you need to follow while building Portlets .
    1) After creating a Application,in the last step click on the Checkbox 'EXPOSE AS PROVIDER'.
    If the application has already been created ,click on the same checkbox in the grant access section.
    2) When creating a component within the application ,select the checkbox 'PUBLISH TO PORTAL'.
    Incase ,you have already created the component then just click on the same option in the grant access section.
    Now when you want to add these portlets to be part of a page .Just select the provider(Application) and the portlets under it.
    Hope this helps.
    Anu

  • Oracle forms and Oracle reports for Oracle 9i

    Hello,
    I'm searching for Oracle forms and Oracle reports that works with Oracle 9i.
    Does someone know where I can find them?
    Thanks in advance...

    When we talk about Oracle9i, we often mean the database version 9i.
    Apparently you want to use Forms and Reports 9i, which included in the obsolete (and very unhappy) Application Server 9i. ... Or the also obsolete Application Server 10g Release 1 (aka App Server 9.0.4.
    You are encouraged to look at Forms and Reports 10g (part of the improved Application Server 10g) which does connect to Oracle Database 9i as well as Oracle Database 10g. Look for App Server 10g Release 2, version 10.1.2.0.2 and 10.1.2.2)

  • How to display  Reports parameter form in Oracle Forms 10g.

    hello,
    am migrating from Forms 6i applications to Forms 10g.
    one of my application contain report, that report display parameter form
    I wrote below code for WHEN-BUTTON-PRESSED Trigger
    DECLARE
    pl_id      ParamList;
    v_report_id report_object;
    v_report varchar2(100);
    vjob_id varchar2(100);
    vc_rep_status varchar2(100);
    BEGIN
    pl_id := create_parameter_list('my_list');
    add_parameter (pl_id,'P_HOSPITAL_ID',text_PARAMETER,
    :bm_hospitals.hospital_id);
    add_parameter(pl_id,'PARAMFORM',text_PARAMETER,'NO');
    v_report_id := FIND_REPORT_OBJECT('bm_r001');
    v_report := RUN_REPORT_OBJECT ( v_report_id,pl_id );
    vjob_id := substr ( v_report, length(<reportservername>)+2,
    length( v_report) );
    vc_rep_status := REPORT_OBJECT_STATUS (v_report);
    IF vc_rep_status = 'FINISHED' THEN
         WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id||
    '?server=rep_mohahubkpcomp_ORaHOme_IAS'||'&userid=
    bedman/bedman@bedman'||'&paramform=yes','_blank');
    ELSE
         message ('Report failed with error message '||vc_rep_status);
    END IF;
    Destroy_Parameter_List(pl_id);
    END;
    The Above code is running report and displaying Output perfect but cannot
    display the Parameter Form at runtime.
    any help in this very thankful.
    Regards
    Gagan.

    In Your code there is a line:
    add_parameter(pl_id,'PARAMFORM',text_PARAMETER,'NO');
    which actually disables the report parameter form.
    The line:
    WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id||
    '?server=rep_mohahubkpcomp_ORaHOme_IAS'||'&userid=
    bedman/bedman@bedman'||'&paramform=yes','_blank');
    displays the report to which vjob_id refers. At this point the report is competed so the parameters userid and paramform are useless.
    Hope this helps.
    Regards
    Bekcic Aleksandar

  • 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

  • Parameter form problems w/reports server

    I'm in the process of trying to make some reports from a forms-
    based application available on an intranet via reports server.
    If I call the reports without a parameter form (just take the
    default parameter values) they work fine, but as soon as I put
    in a 'Paramform=YES' I start running into problems.
    The entries in cgicmd.dat are in this form:
    reptname: server=servername report=reptname.rdf
    userid=user/pw@db_name destype=cache desformat=PDF paramform=YES
    When I submit the parameter form, no matter what set of values,
    I get this error:
    Oracle Reports Server CGI - Key "" is unrecognized. Possible
    causes: bad URL syntax; key in URL was not found in the key map
    file.
    Also, on some forms that should have drop-down list boxes, it's
    instead displaying a blank text field followed by a long string
    of values as plain text below it.

    hello,
    sounds like an issue we had in the early versions of 6i. i would suggest you upgrade to the latest patch.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                               

  • No Parameter form when calling report from Forms 6i webpage

    I have my Forms 6i fmx files and Reports rep files runnung off of HP Unix
    within the same directory and yet when I call the report with RUN_PRODUCT,
    I don't get the Parameter Form popup. I left it as default at first, and then I even tried using ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'HTML') to my parameter pl_id in my RUN_PRODUCT call. Can anyone tell me why I don't get a Parameter form?

    Actually if you are on the Web then you don't have much control over the format the parameter form is in, so specifying it as HTML doesn't help.
    Try paramform=yes when calling teh Report and this "temporarily" should help. The problem that you run into the is that there is nothing happening when you click the parameter form submit button. The reason is that when using Run_Product you are talking to a static HTML file generated into teh Reports temp directory with no services assigned to it.
    Check the Whitepaper under http://otn.oracle.com/products/reports/pdf/277282.pdf for the options that you have.
    Frank

  • 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

  • Pass parameter value from oracle reports to HTML

    Hi,
    Can anybody tell me if i can pass oracle reports6i parameter value to HTML.
    Any ideas/suggestions would be helpful
    Thanks
    KAvitha

    Kavitha,
    I didnt quite understand your question. Do you mean you want to use the report parameter form and pass the values entered there to an html form where you will display the output based on the parameters entered by the user ?
    If so, No. Not to the best of my knowledge. You can pass parameters from an html form to reports though, if this is what you are looking for.
    Regards,
    Al

  • Returning to the parameter form in a report after closing the report page

    hi all,
    tell me a way to get the following solution
    how can we return back to the parameter form of a "parameterised
    report" after closing to the report window.
    i ve tried a little bit with "srw_run_report"
    reply me as quick as possible
    prabhakaran

    Try using menu options
    Tools\Parameter Form Builder
    you can either select/deselect any parameter from the list

  • Web.show_document in calling parameter form of a report(solved)

    Hi,
    Can you please write which is the syntax of calling a report in Dev10g which has a parameter form.....????
    something like ....but i don't know how exactly....
    param_form_var:='yes';
    URL_VAR:='/reports/rwservlet?server='||rep_server_name_var||'&report=c:\erga\app\odoiporika_mono\sigk_katast_selected_months_.rdf'||'&desformat='||desformat_var||'&destype='||destype_var||'&userid='||username_var||'/'||password_var||'@'||tns_var||' param_form='||param_form_var;
    WEB.SHOW_DOCUMENT(URL_VAR,'_blank');
    NOT param_form='||param_form_var....
    but
    paramform='||param_form_var....
    Thanks ,
    Simon
    Message was edited by:
    sgalaxy

    Eventually , the report run... when the active thread got the value 1. How is it done...(i mean the value of 1 , instead of 2 when the report started...????) How to secure that the active thread would be 1 if this is the problem...????
    However , because the report is 2 page accross.... the report displays the first page and down the other page.... Is it possible to display both pages accross as i see them in report builder env....?????
    Thanks , a lot
    Simon

Maybe you are looking for

  • Ipod mail

    Does anyone Know what the new update does. 4.3.3 I just got my ipod. So im compleatly new at what to do, what to look for, and well just simply how to use it. Is there a site for tips and tricks. Please help. Im lost. I need to set up my mail. But do

  • My apps keep crashing. Is this an iOS problem and what can I do?

    Every time I open an app, regardless of whether or not it comes built into iOS, it opens and will work for a little bit, but then crashes. The main apps I use are Safari, the Contacts app that comes standard in iOS, and Textfree + VM. Do I need to re

  • Nokia lumia 520 wallet

    I just forgot the wallet password,what should i do now? Solved! Go to Solution.

  • SRM interview questions

    Hi Friends, Can anybody send me the sample interview questions for SRM functional interview on [email protected] Thanks in advance Diwakar

  • WPF style in resource - exception

    I try to declare resource style in order to apply same template on all my buttons. but when the window loaded in the designer, I get an Error of "DependencyProperty.UnsetValue" , I dont know whay . at runtime I got another exception, like  : 'Initial