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.

Similar Messages

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

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

  • Query button in forms/portlet

    What is the rules of the automatic Query button in forms displayed as portlet in a page. Sometimes it works and sometimes not.
    Thank's in advance.

    I've found the problem. I have in my form my primary key as a hidden field with a default value generated by a sequence.nextval. What I don't now is that the default value is generated in the form show. So I always have a hidden criteria with a new primary key which never exist and block my query.
    I will generate my primary key id sequence with a trigger before insert in the database, not in the form.

  • 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 In SP runs 10x slower than straight query - NOT Parameter Sniffing Issue

    Hi Everyone,
    I have a real mystery on my hands that appears to be a parameter sniffing issue with my SP but I think is not. I have tried every parameter sniffing workaround trick in the book ( local variables, option recompile, with recompile, optimize for variables,UNKNOWN,
    table hints, query hints, MAXDOP, etc.) I have dropped indexes/recreated indexes, updated statistics, etc. I have restored a copy of the DB to 2 different servers ( one with identical HW specs as the box having the issue, one totally different ) and the SP
    runs fine on those 2, no workarounds needed. Execution plans are identical on all boxes. When I run a profiler on the 2 different boxes however, I see that on the server having issues, the Reads are around 8087859 while the other server with identical HW,
    the reads are 10608. Not quite sure how to interpret those results or where to look for answers. When the sql server service is restarted on the server having issues and the sp is run, it runs fine for a time ( not sure how long ) and then goes back to its
    snail pace speed. Here is the profile trace:
    Here is the stored procedure. The only modifications I made were the local variables to eliminate the obvious parameter sniffing issues and I added the WITH NOLOCK hints:
    /****** Object:  StoredProcedure [dbo].[EC_EMP_APPR_SIGNATURE_SEL_TEST]    Script Date: 12/03/2014 08:06:01 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    /****** Object:  StoredProcedure [dbo].[EC_EMP_APPR_SIGNATURE_SEL_TEST]    Script Date: 12/02/2014 22:24:45 ******/
    ALTER PROCEDURE [dbo].[EC_EMP_APPR_SIGNATURE_SEL_TEST]
    @EMPLOYEE_ID varchar(9) ,
    @OVERRIDE_JOB_CODE varchar(8),
    @OVERRIDE_LOCATION_CODE varchar(8),
    @OVERRIDE_EST_CODE varchar(8),
    @OVERRIDE_EMP_GROUP_CODE varchar(8)
    AS
    set NOCOUNT ON
    declare
    @EMPLOYEE_ID_LOCAL varchar(9),
    @OVERRIDE_JOB_CODE_LOCAL varchar(8),
    @OVERRIDE_LOCATION_CODE_LOCAL varchar(8),
    @OVERRIDE_EST_CODE_LOCAL varchar(8),
    @OVERRIDE_EMP_GROUP_CODE_LOCAL varchar(8)
    set @EMPLOYEE_ID_LOCAL = @EMPLOYEE_ID
    set @OVERRIDE_JOB_CODE_LOCAL = @OVERRIDE_JOB_CODE
    set @OVERRIDE_LOCATION_CODE_LOCAL = @OVERRIDE_LOCATION_CODE
    set @OVERRIDE_EST_CODE_LOCAL = @OVERRIDE_EST_CODE
    set @OVERRIDE_EMP_GROUP_CODE_LOCAL = @OVERRIDE_EMP_GROUP_CODE
    select 3 as SIGNATURE_ID
    from EC_EMPLOYEE_POSITIONS p
    where p.EMPLOYEE_ID = @EMPLOYEE_ID_LOCAL
     and DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE())) between p.POSITION_START_DATE and ISNULL(p.POSITION_END_DATE, convert(datetime, '47121231', 112))
     and (dbo.lpad(isnull(p.job_code,''), 8, ' ') + dbo.lpad(isnull(p.location_code,''), 8, ' ') + dbo.lpad(isnull(p.ESTABLISHMENT_CODE,'<N/A>'), 8, ' ') + dbo.lpad(isnull(p.EMP_GROUP_CODE,''), 8, ' '))
     in
     (select (dbo.lpad(isnull(ep.REPORTING_JOB_CODE,''), 8, ' ') + dbo.lpad(isnull(ep.REPORTING_LOCATION_CODE,''), 8, ' ') + dbo.lpad(isnull(ep.REPORTING_ESTABLISHMENT_CODE,'<N/A>'), 8, ' ') + dbo.lpad(isnull(ep.REPORTING_EMP_GROUP_CODE,''),
    8, ' '))
      from EC_POSITIONS  ep
      where DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE())) between ep.POSITION_EFFECT_DATE
       and ISNULL(ep.POSITION_TERM_DATE, convert(datetime, '47121231', 112))
       and (dbo.lpad(isnull(ep.job_code,''), 8, ' ') + dbo.lpad(isnull(ep.location_code,''), 8, ' ') + dbo.lpad(isnull(ep.ESTABLISHMENT_CODE,'<N/A>'), 8, ' ') + dbo.lpad(isnull(ep.EMP_GROUP_CODE,''), 8, ' '))
       = (dbo.lpad(isnull(@OVERRIDE_JOB_CODE_LOCAL,''), 8, ' ') + dbo.lpad(isnull(@OVERRIDE_LOCATION_CODE_LOCAL,''), 8, ' ') + dbo.lpad(isnull(@OVERRIDE_EST_CODE_LOCAL,'<N/A>'), 8, ' ') + dbo.lpad(isnull(@OVERRIDE_EMP_GROUP_CODE_LOCAL,''),
    8, ' ')))
    union
    select 4 as SIGNATURE_ID
    from EC_EMPLOYEE_POSITIONS p
    where p.EMPLOYEE_ID = @EMPLOYEE_ID_LOCAL
     and DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE())) between p.POSITION_START_DATE and ISNULL(p.POSITION_END_DATE, convert(datetime, '47121231', 112))
     and (dbo.lpad(isnull(p.job_code,''), 8, ' ') + dbo.lpad(isnull(p.location_code,''), 8, ' ') + dbo.lpad(isnull(p.ESTABLISHMENT_CODE,'<N/A>'), 8, ' ') + dbo.lpad(isnull(p.EMP_GROUP_CODE,''), 8, ' '))
     in
     (select (dbo.lpad(isnull(ep.REPORTING_JOB_CODE,''), 8, ' ') + dbo.lpad(isnull(ep.REPORTING_LOCATION_CODE,''), 8, ' ') + dbo.lpad(isnull(ep.REPORTING_ESTABLISHMENT_CODE,'<N/A>'), 8, ' ') + dbo.lpad(isnull(ep.REPORTING_EMP_GROUP_CODE,''),
    8, ' '))
      from EC_POSITIONS  ep with (NOLOCK)
      where DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE())) between ep.POSITION_EFFECT_DATE
       and ISNULL(ep.POSITION_TERM_DATE, convert(datetime, '47121231', 112))
       and (dbo.lpad(isnull(ep.job_code,''), 8, ' ') + dbo.lpad(isnull(ep.location_code,''), 8, ' ') + dbo.lpad(isnull(ep.ESTABLISHMENT_CODE,'<N/A>'), 8, ' ') + dbo.lpad(isnull(ep.EMP_GROUP_CODE,''), 8, ' '))
       in   
     (select (dbo.lpad(isnull(ep.REPORTING_JOB_CODE,''), 8, ' ') + dbo.lpad(isnull(ep.REPORTING_LOCATION_CODE,''), 8, ' ') + dbo.lpad(isnull(ep.REPORTING_ESTABLISHMENT_CODE,'<N/A>'), 8, ' ') + dbo.lpad(isnull(ep.REPORTING_EMP_GROUP_CODE,''),
    8, ' '))
      from EC_POSITIONS ep  with (NOLOCK)
      where DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE())) between ep.POSITION_EFFECT_DATE
       and ISNULL(ep.POSITION_TERM_DATE, convert(datetime, '47121231', 112))
       and (dbo.lpad(isnull(ep.job_code,''), 8, ' ') + dbo.lpad(isnull(ep.location_code,''), 8, ' ') + dbo.lpad(isnull(ep.ESTABLISHMENT_CODE,'<N/A>'), 8, ' ') + dbo.lpad(isnull(ep.EMP_GROUP_CODE,''), 8, ' '))
       = (dbo.lpad(isnull(@OVERRIDE_JOB_CODE_LOCAL,''), 8, ' ') + dbo.lpad(isnull(@OVERRIDE_LOCATION_CODE_LOCAL,''), 8, ' ') + dbo.lpad(isnull(@OVERRIDE_EST_CODE_LOCAL,'<N/A>'), 8, ' ') + dbo.lpad(isnull(@OVERRIDE_EMP_GROUP_CODE_lOCAL,''),
    8, ' '))))
    order by SIGNATURE_ID
    Any suggestions would be greatly appreciated by anyone. I have no more tricks left in my toolbox and am starting to think its either the hardware or the database engine itself that is at fault.
    Max

    fast server:
    SQL Server parse and compile time:
       CPU time = 0 ms, elapsed time = 0 ms.
    SQL Server Execution Times:
    CPU time = 0 ms, elapsed time = 0 ms.
    SQL Server Execution Times:
       CPU time = 0 ms,  elapsed time = 0 ms.
    SQL Server Execution Times:
       CPU time = 0 ms,  elapsed time = 0 ms.
    SQL Server Execution Times:
       CPU time = 0 ms,  elapsed time = 0 ms.
    SQL Server Execution Times:
       CPU time = 0 ms,  elapsed time = 0 ms.
    SQL Server Execution Times:
       CPU time = 0 ms,  elapsed time = 0 ms.
    Table 'EC_POSITIONS'. Scan count 3, logical reads 10450, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'EC_EMPLOYEE_POSITIONS'. Scan count 2, logical reads 6, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    SQL Server Execution Times:
       CPU time = 3343 ms,  elapsed time = 3460 ms.
    SQL Server Execution Times:
       CPU time = 3343 ms,  elapsed time = 3460 ms.
    Slow server:
    SQL Server parse and compile time:
       CPU time = 0 ms, elapsed time = 0 ms.
    SQL Server Execution Times:
    CPU time = 0 ms, elapsed time = 0 ms.
    SQL Server Execution Times:
       CPU time = 0 ms,  elapsed time = 0 ms.
    SQL Server Execution Times:
       CPU time = 0 ms,  elapsed time = 0 ms.
    SQL Server Execution Times:
       CPU time = 0 ms,  elapsed time = 0 ms.
    SQL Server Execution Times:
       CPU time = 0 ms,  elapsed time = 0 ms.
    SQL Server Execution Times:
       CPU time = 0 ms,  elapsed time = 0 ms.
    Table 'EC_POSITIONS'. Scan count 3, logical reads 10450, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'EC_EMPLOYEE_POSITIONS'. Scan count 2, logical reads 6, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    SQL Server Execution Times:
       CPU time = 37875 ms,  elapsed time = 38295 ms.
    SQL Server Execution Times:
       CPU time = 37875 ms,  elapsed time = 38295 ms.
    Big diff in server execution times....

  • Custom query button in form

    Hi there,
    I want to create custom query button in a Portal Application form component in 3.0.9. How do I do this? I need to perform a restricted where clause query, therefore the default doQuery option is not sufficient.
    Thanks in advance.
    John

    Hi John,
    You can add a new button from the "Formatting and Validation " section by clicking on the FORM+ at the top of all the table fields.You can not do your own where clause as the query is made which includes all the columns of the form as shown on the form .
    for your own queries what you van do is that you can leave the field blank if you do not want that field to be added in the where clause.If you want to add the field to the where clause you can use operators (against each field in there text boxes) to make your own where clause.More operators support are supported in the
    latest version.
    Hope this give you some Information regarding your doubt.
    rahul

  • 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

  • "Stale connection error" in error_log when hitting "query" button on form

    I created a simple form on a view. It has only 3 buttons:
    next, previous, and query. I hit query and get a 404 error.
    Apache's error_log file says "Stale connection due to Oracle
    error 3114". Anybody seen this?

    Carol, I treid what you said but still can't get it to work.
    Here is the code I have it the after displaying page section.
    declare
    v_myvar varchar2(30);
    v_comp varchar2(30);
    blk varchar2(10):='DEFAULT';
    begin
    if 'a_territory' is not null then
    v_comp:=p_session.get_value_as_varchar2
    (p_block_name=>blk,p_attribute_name=>'A_company_name');
    select rowid into v_myvar from cs_custinfo_view where
    company_name = v_comp;
    bico.buttons_proc(v_myvar);
    end if;
    end;
    The procedure that is called uses the rowid to call a form from
    a button that is created by the procedure. The error I get when
    I first load the form is
    An unexpected error occurred: ORA-01403: no data found
    ORA-01403: no data found (WWV-16016)
    An unexpected error occurred: ORA-01403: no data found (WWV-
    16016)
    The preference path does not exist:
    ORACLE.WEBVIEW.PARAMETERS.1257633639 (WWC-51000)
    I assume this is because there is no rowid present yet?

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

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

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

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

  • Parameter Form - formatting problems

    I am running reports from forms and the reports use a parameter form. The parameter form, however, has some nasty formatting issues and I cannot figure out how to fix them.
    1. between the Submit Query and Reset button there is a part of a badly formed html tag (width=15>). How do I get rid of that?
    2. the page title 'Report Parameters' is shown across two rows
    3. the instructions 'Enter values for the parameters' and each of the labels for the fields are wrapping and appear misaligned with the actual fields.
    4. (less important) Is it possible to move the buttons (submit Query and Reset) to the bottom of the page instead of the top?
    5. Is it possible to change the name of the 'Submit Query' button?
    Thanks for your help!!! It is desperately needed!!
    Jean.

    Hi. I resolved question 1 and 5 -- changed the html string in BeforePForm.
    PLEASE, any assistance with 2, 3, and 4 would be great!!
    Jean.

  • 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

Maybe you are looking for

  • So to use a mouse with iPad

    I Use iMovie a lot and the iPads great but would love the ease of editing with a mouse, I saw the videos for jbking and installing a mouse, so should I?

  • Disc won't play -  format wrong

    Hi I'm trying to play DVDs on my MacBook Pro however the disk doesn't play it doesn't even mount.   When I check Disk Utility it shows the format as Windows NTFS 3G. If I try the same disk on another macbook it shows as Universal Disk Format and play

  • Burn Error Revisited

    Can someone please tell me why, when I attempt to burn cd's using iTunes, all that seems to happen is this "unknown error #2131"? Any help would be appreciated. Thanks very much in advance. If no one knows the answer to this, could someone please be

  • While deleting history firefox crash with error of Script: chrome://browser/content/sanitize.js:136.So has to wait or cancel the script.

    I have upgraded Firefox to 4.0.1.But while deleting history(everything) Firefox hangs for some time and then this error appears Script: chrome://browser/content/sanitize.js:136 is unable to continue.so either wait till process complete or stop the pr

  • Instrument Driver Template VI's

    Hello, I am doing a study about labview and need to control instruments via labview in an effort to create an "database" of the instruments at the lab. In a later stage i shall use these VI's so that i can control a complete test for emc. Am i correc