Submit query button on parameter form

Hello.
I have a problem with runing reports with parameter form.
When i start report from form, parameter form is opened. When i check on AS, which report is running i see reportName.rdf.
When i then press submit query button, report appears. But when i check it again on AS, i see reportName1.rdf (from another directory)is running.
Why is that? How can i solve that? Why does submit query button on parameter form run another report (from another directory), then report i start from form?
I can run two report from form (list item), but i have this problem only on one report.
Thanks.

Sorry. I just found the problem - in BEFOREPFORM trigger.

Similar Messages

  • Submit query  button  parameter form issue

    hi
    im facing problem submit query button . im working in as 10g r2. Every thing is working fine but when i click on submit query button of parameter form. it gives error and and page cant find. its reason that it takes localhost name in url and localhost(asserver.dht.com) is not recognized on internet. To resolve this issue i designed my own parameter form in html and in post method i use my domain name( www.ddgi.com) which is registered on internet. please give me solution so that i can use default parameter form. where from it picks machine name so that i can change it accoding to my domain name.
    My localhost name is asserver.dht.com
    my registered domain on internet is www.ddgi.com

    To help you see what is happening, temporarily add DESNAME to your parameter screen. Make sure that DESNAME on the parameter screen has a value before you click the Submit Query button.
    If you are running the report with a local report service (running on your workstation), the value of desname should be the name of your default printer.
    If you are running the report on a network application server based report service you need to specify the name of a printer that is accessible to the server on which the report service is running. Make sure that it is specified in a way that the server can recognize it, e.g. \\printserver_01\HPLaserJ4210.
    Maybe this will help some.
    James K.

  • Submit query button

    I am working in oracle 10g with developer 2000 as front end (forms and reports 9i) which was developed by software professional. unfortunately i don't have any source code or user manual of the project done by them.
    I have a small problem for which i need help / guidance to solve it.
    There are around 300 reports in the package and in all the reports the submit query and reset button is placed on the top of the page . It makes me uncomfortable to go to the top of the page after entering all the parameters for the report.
    I did check from the source of that page and i found out where the submit query and reset button is and placed it at the bottom as per my requirement. But i don't know where the changed source should be saved. since if i run from the changed htm file the sumit query button is at the bottom, but if i run the report from the front end it is at the top without the changes.
    i would be thankful if i could get some suggestion as to where this htm file will be in the package and how to make the changes.
    thanks in advance

    HTML-pages are not really related to forms. anyway, if they are static html-files, i would look somewhere on the application-server. But they may also be creeated by a servlet or contained in a deployment on the application-server.

  • Query button on Tabular form?

    The standard buttons are Cancel/Delete/Submit/Add Row.
    If I want a form to be used for queries as well, how can it be done? ie similar to the Query function on a Form on a Table with Report where you can query the rows you want, and then do updates.

    Hello Zahid,
    I don't know if this is causing your problem, but there is a javascript error on your page:
    region is null
    hideColumn("#REGION_ID#", 3)f?p=9396...5351::::: (line 22)
    (?)()f?p=9396...5351::::: (line 170)
    var report = region.getElementsByTagName("TABLE")[1];And if I click on the radio I get another error:
    missing ) after argument list
    [Break on this error] javascript:updateItem('f03, 1, 'N');And when I fix that ... it works...
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to make javascript submit a button instead a form

    Hi ,
    I plan to do a popup box using javascript
    when user click on Yes , it will actually submit a button which actually submit a form because i want the action behind / binding to that button to be invoked.
    if i submit a form only.. i think the method that bind to particular button wont be invoked.
    How do i do that?
    Thanks

    Something like this should do you…
    #target illustrator
    var doc = app.activeDocument;
    var sel = doc.selection;
    for ( var i = sel.length-1; i >= 0; i-- ) {
        if ( sel[i].typename == 'GroupItem' ) { sel[i].selected = false }

  • Cannot submit chinese character in Parameter Form

    Hi all report professionals, when I tried to submit chinese character as an input parameter via the Online Report Parameter Form, the report server cannot recognise it as a chinese character. This scenario does not happened when I use Oracle Report Developer to run the report.
    I have already set paramform=yes in the URL. Any other setting or configuration is needed to be set to solve the problem ? Thanks

    I have the same problem. For my case, I have a parameter form which require the user to key in some Chinese. After generated the report, those Chinese parameters displays as some symbols in the report. I have tried to change the code page of the parameter form as Chinese Big5. It is the same.
    Can anyone give me a hand on this?
    Thanks.

  • Submitt query button issue still pending  please give sulotion

    hi
    im facing problem submit query button . im working in as 10g r2. Every thing is working fine but when i click on submit query button of parameter form. it gives error and and page cant find. its reason that it takes localhost name in url and localhost(asserver.dht.com) is not recognized on internet. To resolve this issue i designed my own parameter form in html and in post method i use my domain name( www.ddgi.com) which is registered on internet. please give me solution so that i can use default parameter form. where from it picks machine name so that i can change it accoding to my domain name.
    My localhost name is asserver.dht.com
    my registered domain on internet is www.ddgi.com

    Hi,
    I'm facing almost the same problem. I'm working in AS 10G r2 as well. Our application is working with port:7779 and when I point on submit query button it refers to http://server_name/reports/rwservlet? but without :port option. When I run the same report on the server it works just fine but can't run on another station. I've already google it but can't find any suitable information.
    Thanks in advance!

  • Report not show after submit query in parameter form

    Hi, anubody can help me with this
    report not show after click submit query button in parameter form

    To help you see what is happening, temporarily add DESNAME to your parameter screen. Make sure that DESNAME on the parameter screen has a value before you click the Submit Query button.
    If you are running the report with a local report service (running on your workstation), the value of desname should be the name of your default printer.
    If you are running the report on a network application server based report service you need to specify the name of a printer that is accessible to the server on which the report service is running. Make sure that it is specified in a way that the server can recognize it, e.g. \\printserver_01\HPLaserJ4210.
    Maybe this will help some.
    James K.

  • Parameter Forms - Web Reports

    I've managed to do it with PARAMFORM=HTML .... but when i press "submit query" on the parameter form, a database user authentication form appears.
    I have already specified the userid in the URL but as a precaution i enter the details again. Then I click submit and i get the error:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Key "dummy" is unrecognized. Possible causes: bad URL syntax; key in URL was not found in the key map file.
    The above was for the cgi version, but for the cartridge version, everytime i push "submit query" on the parameter form, it would loop to the parameter form again.
    Can anyone help me with this?
    Some info:
    Windows NT 4 with SP3
    Oracle Apps Server 4.0.7.1
    Internet Explorer 5
    Developer 6 with Patchset 3
    -William Ho

    It looks like you're using Reports 6.0
    You need to either delete the 'dummy' entry in the cgicmd.dat file (fyi, no longer needed in 6i) or correct it.
    Please check out the whitepaper "Reports Server Configuration" available for download on OTN (under Reports 6.0 collateral) for information on this.
    Regards
    The Oracle Reports Team http://technet.oracle.com

  • Web Reports --- How submit button on the parameter form works ?

    Hi all,
    I understand that when we deploy the rdf and run the report through web it opens up with 'Submit query' and 'Reset' buttons. And this is from the html code that we see in BEFORE FORM VALUE (Report Escapes).
    <html>
    <body dir=&Direction bgcolor="#ffffff">
    <form method=post action="_action_">
    <input name="hidden_run_parameters" type=hidden value="_hidden_">
    <font color=red><!--error--></font>
    <center>
    <p><table border=0 cellspacing=0 cellpadding=0>
    <tr>
    <td><input type=submit></td>
    <td width=15>
    <td><input type=reset></td>
    </tr>
    </table>
    <p><hr><p>
    I'm just wondering how form action "_action_" is being taken care of when we click on 'Submit Query' button. Which file will it look for to get these values (action and hidden params ) ?
    I would like to add a new button 'Schedule' on this parameter form which behaves exactly as it does with 'Submit' but I would like to add 'schedule' command in the URL. I could create a 'Schedule' button but was not able to build the functionality on what happens if someone clicks on it.
    For this I need to understand how "Submit Query" works.
    Please give me some inputs on this,
    Thank you
    ML.

    These values are not stored in any file. Reports server will replace action and hidden with the actual values while generating parameter form. You can see the source of html parameter form generated to understand these.
    For your scheduling requirement one very simple solution would be to create a user parameter with name 'SCHEDULE' and map a field in the pform to the 'SCHEDULE' user parameter.
    You can also use a hidden field by name 'SCHEDULE' and set the value using javascript when button is clicked.

  • Query  button in Master/Detail form

    Hello All,
    I created a Master / detail form...looks good for a blind query and for a specific column value...
    The problem is When the user selects query button ,how do I show records that the logged in user has created.
    Am already storing username in the table when the user inserts new record.
    Appreciate if you could send code ..if that's the choice to fix my issue..
    Thanks in advance
    Babu

    Hi,
    Write the following code in 'Query' event of the 'Query' button in your form ..
    p_session.set_shadow_value(p_block_name => 'DEFAULT',
    p_attribute_name => 'A_USER_ID',
    p_value => portal30.wwctx_api.get_user,
    p_language => PORTAL30.wwctx_api.get_nls_language);
    doQuery;
    Replace 'A_USER_ID' with name of your user id field . I hope you have selected this field in your form and if not select this field & hide it in the form to make this code to work.
    -Krishnamurthy

  • Which trigger fires when i press cancel query button in oracle d2k forms.

    hi all,
    i have simply press then enter query but didn't enter anything in form and then press the cancel query. so i just want to know that what trigger will fire when i press the cancel query button in d2k form.
    Regards,
    kam.

    Why not ask into Forms<br>
    <br>
    Nicolas.

  • Report 9i parameter form problem, is it a bug?

    Hi all,
    I am using Dev 9i IDS, rel. 9.0.2, running in windows 2000. I've been converting my forms and reports from previous versions to 9i, and I came across an issue with the report's parameter form.
    First, I thought it could be a problem during the conversion , but to make sure I developed a new form and a new report straight in the 9i IDS suite, using Scott's DEPT table. The new form is simple having a button to call the new report which is based on the DEPT table and accepts an user's input for a dept. no.
    The same problem occurs:
    - in the form, if I set PARAMFORM=HTML then it could not open the report parameter form, hence the report could not run.
    - if I set PARAMFORM=YES, then the report parameter form is displayed, then I can enter a value for the department number. BUT, when I clicked the Submit Query button the report failed, and I received the following error:
    REP-52007: Parameter form format error.
    java.lang.IllegalStateException: Response is already committed!
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse.setContentType(EvermindHttpServletResponse.java:973)
         at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:27)
         at oracle.reports.rwclient.RWReportRunner.setContentType(RWReportRunner.java:261)
         at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:135)
         at oracle.reports.rwclient.CommandManager.handleCmdGetjob(CommandManager.java:1219)
         at oracle.reports.rwclient.CommandManager.handleWebCommand(CommandManager.java:369)
         at oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:651)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1053)
         at oracle.reports.rwclient.RWClient.doPost(RWClient.java:318)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    I have no problem integrating others reports that don't have parameter form using run_report_object. And, I've checked and tried different ways of manipulating the parameter value using to_number in the report's where clause etc., it never worked.
    I guess the only workaround is to create the parameter form in Forms builder. Is there other ways of doing it , or is it a bug of the 9i IDS suites that needs to be fixed?
    - Thanks

    Hi Frank,
    There's a note published on Metalink, note 139546.1, showing a workaround to thi problem. but
    - it is rather lengthy and confusing, may not be practical .
    - it only applies to Forms and Reports 6i.
    However, it shows that the problem comes from 2 items in the source code of the parameter form which is produced by the RUN_REPORT_OBJECT built-in:
    1. <form method=post action=""> where action contains an empty string, it needs to have a valid entry, e.g.
    <form method=post action="http://hostname:port/cgi/rwci60.exe?">
    2. <input name="hidden_run_parameters" type=hidden value=""> where hidden value is also empty. It should contains all parameter values passed to the report parameter form, e.g.
    <input name="hidden_run_parameters" type=hidden value="report%3test+destype%3Dcache+userid%Dscott.....">
    And that is what I found, but I am reluctant to try it in 9i IDS, hoping Oracle has a better solution than that.
    Tho.

  • Rep-52005 error when running a report from form with parameter form

    I am trying to run a report from a web deployed form and this report has a parameter form. I am getting a Rep-52005: The specified key report does not exist in key map file.
    I am using Oracle Forms/Reports 10.1.2.0.2. My code is below. The first part works fine where I run a report with no parameter form, but the second part when I have a parameter form gets the about error.
    PROCEDURE call_report (
    p_report_name VARCHAR2,
    p_reportobj_name VARCHAR2 DEFAULT NULL,
    p_parameter_list paramlist DEFAULT NULL,
    p_parameter_string VARCHAR2 DEFAULT NULL
    IS
    repid report_object;
    v_rep VARCHAR2 (100);
    rep_status VARCHAR2 (100);
    v_report_url VARCHAR2 (240);
    v_interface VARCHAR2 (50);
    v_report_parameter VARCHAR2 (1);
    vc_user_name VARCHAR2 (100);
    vc_user_password VARCHAR2 (100);
    vc_user_connect VARCHAR2 (100);
    vc_connect VARCHAR2 (300);
    v_reportserv VARCHAR2 (30);
    v_job_number number;
    BEGIN
    /* Get the database to run the report against and
    find out if the report has any parameters */
    SELECT report_parameter_flag
    INTO v_report_parameter
    FROM program_list
    WHERE program_type = 'REPORTS'
    AND UPPER (screen_id) = UPPER (p_report_name);
    vc_user_name := get_application_property (username);
    vc_user_password := get_application_property (password);
    vc_user_connect := get_application_property (connect_string);
    v_reportserv := 'rep_xxxx_ias10g_home';
    v_report_url := 'http://xxxx.state.il.us';
    v_job_number := length(v_reportserv) +2;
    vc_connect :=
    vc_user_name
    || '/'
    || vc_user_password
    || '@'
    || vc_user_connect;
    v_interface := get_application_property (user_interface);
    IF ( v_interface = 'WEB'
    AND v_report_parameter = 'N'
    THEN
    repid := find_report_object(p_reportobj_name);
    set_report_object_property (repid, report_comm_mode, synchronous);
    set_report_object_property (repid, report_destype, cache);
    set_report_object_property (repid, report_desformat, 'pdf');
    -- v_reportserv := get_report_object_property (repid,report_server);
    set_report_object_property (repid, report_server, v_reportserv);
    set_report_object_property (repid, report_other, p_parameter_string);
    v_rep := run_report_object (repid);
    rep_status := report_object_status (v_rep);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document (
    v_report_url
    || '/reports/rwservlet/getjobid='
    || substr(v_rep,v_job_number)
    || '?server='
    || v_reportserv
    ,'_blank'
    ELSE
    message ( rep_status
    || 'Report output aborted');
    END IF;
    ELSIF ( v_interface = 'WEB'
    AND v_report_parameter = 'Y'
    THEN
    repid := find_report_object (p_reportobj_name);
    set_report_object_property (repid, report_comm_mode, synchronous);
    set_report_object_property (repid, report_destype, cache);
    set_report_object_property (repid, report_desformat, 'pdf');
    set_report_object_property (repid, report_server, v_reportserv);
    set_report_object_property (
    repid,
    report_other,
    'paramform=yes P_USER_CONNECT='
    || vc_connect
    || ' P_SERVERNAME='
    || v_reportserv
    || ' P_ACTION='
    || v_report_url
    || '/reports/rwservlet'
    v_rep := run_report_object (repid);
    rep_status := report_object_status (v_rep);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document (
    v_report_url
    || '/reports/rwservlet/getjobid='
    || substr(v_rep,v_job_number)
    || '?server='
    || v_reportserv
    ,'_blank'
    ELSE
    message ( rep_status
    || 'Report output aborted');
    END IF;
    ELSE
    run_product (
    reports,
    p_report_name,
    synchronous,
    runtime,
    filesystem,
    p_parameter_list,
    NULL
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    message (SQLERRM);
    END;
    My parameter form comes up and I enter the necessary information and hit submit query button. Then I get the Rep-52005: The specified key report does not exist in key map file.
    Any help will be greatly appreciated!!
    Shellie Bricker

    Your code seems to be implementing metalink note 139546.1 - Using Reports parameter forms with RUN_REPORT_OBJECT on the web.
    For what I can see, the P_ACTION parameter should end in ?...
    i.e.
    P_ACTION=http://<hostname.domain:port>/reports/rwservlet?'
    set_report_object_property (
    repid,
    report_other,
    'paramform=yes P_USER_CONNECT='
    || vc_connect
    || ' P_SERVERNAME='
    || v_reportserv
    || ' P_ACTION='
    || v_report_url
    || '/reports/rwservlet?'
    );If this does not fix your problem, then to troubleshoot further you would have to post the code in your Before Parameter Form trigger of your report.
    Hope this helps,
    UPDATE:
    If the above does not fix your problem, my guess is that report name is not being generated in the hidden runtime values build by the code in the Before Parameter Form trigger.
    i.e.
    http://localhost:8889/reports/rwservlet?report=&destype=cache&desformat=PDF
    The above code will throw error REP-52005: The specified key report does not exist in key map file.
    Edited by: Rodolfo Ferrari on Jul 8, 2009 9:43 PM

  • Showing Parameter form in web browser

    I have created a parameter form which contains some restricted List of values need to be choosed by the user before printing the report.
    I done this by putting the keyword ParamForm=Yes in the URL. The parameter form shows with all the parameter fields and the list of values in HTML format together with two buttons : SUBMIT QUERY and RESET which is generated by the report. After all the values has been entered, the SUBMIT QUERY button was press the the report server return an error:
    Oracle Reports Server CGI - Key "" is unrecognized. Possible causes: bad URL syntax; key in URL was not found in the key map file
    Why this will happen?

    Hi,
    No, I don't think is the problem with the cgicmd file. This problem will only occured when I calling the report paramater form by putting the key PARAMFORM=YES IN in the URL.
    But if I by-pass the parameter form by puttinh the key PARAFORM=NO and include all the parameters needed in the URL, the report server can map the key and run the report successfully!
    I think the problem is the submit Query button which was generated automatically by the report. How does the submit Query button works?
    For eg. I type the report URL with the key that I have created in the cgicmd file :
    http://webHost:webPort/cgi-bin/RWcgi60?Key1
    and inside the cgicmd.dat file is like this:
    Key1: report=Report.rdf userid=eb/eb@eagledb server=Rep60_EAGLEW2K PARAMFORM=YES destype=cache desformat=htmlcss
    then, the report server will automactically generate a parameter form in HTML format together with the SUBMIT QUERY button and RESET button to allow user to enter the parameters. Once the parameters has been entered, and the button SUBMIT QUERY button being pressed, the report will return this error.
    Any idea?
    Thanks.

Maybe you are looking for

  • ITunes simply wont launch, no error message or anything...

    Hi, when I click on iTunes--whether from the shortcut, start menu, or the actual location it was saved in--it won't open. Nothing comes up at all, it's as if I never double clicked it. I've tried right clicking >> open. Still nothing. What is going o

  • Download error - Stole a Motorcycle, Earl series 3

    Hi: I purchased this originally on my AppleTV, the whole series downloaded but this episode failed. When I check for downloads in iTunes on my Windows Vista PC the download starts but then failes in the last 0.1Mb with an 8008 error. I have tried; *

  • Trying To Re-Install OS X on MBP C2D 2.4-17"

    I'm using a MBP 2.16-15" Core 2 Duo with 3Gb Ram, OS X 10.4.10 I am trying to re-install OS X on my friends MBP C2D 2.4-17"  OS X 10.4.10 using MY Install DVD's as he forgot  his! (My DVD OS V 10.4.8, AHT V 3A116, Disc V 1.0) His MBP keeps coming up

  • Multiple submit button on jsp

    Hello, Can I have multiple submit button on single JSP page? if its possible then tell me how? And how to call multiple functions in JSP? reply me urgent

  • Missing MDS Entry

    Hi, This is the cenario: I have created an MDS plan and have entered, manually, two entries for two different items (finished goods). These items have no on hand quantities. A MRP plan, based on this MDS, was created too. After having executed the MR