Help needed passing parameters to forms

Hi guys a quick run down of my issues and what i am struggling to achieve.
I have a tree based form with a list of values in the tree. When you double click one of the values it opens a new form and passes in a parameter list containing the value in the tree. On one of the triggers i then check the parameter and query the form based on that parameter. This works perfectly at present.
The problem comes when you double click the value in the tree but the form is already open.
I currently check if already open and if the form is already open use GO_FORM rather than OPEN_FORM.
The problem comes that i can then not pass in my parameter list using GO_FORM and therefore the form does not have the parameter in place to query the records.
Any idea how i can get this to work?
I thought about globals but multiple people maybe accessing the form at the same time and this could cause problems if two people using this at the same time. Any other ideas?

I thought about globals but multiple people maybe accessing the form at the same time and this could cause problems if two people using this at the same time. Any other ideas?You mean that if many peoples/sessions will use the same form from there side then GLOBAL values will be replaced are you sure for this or did u try? I don't think because GLOBAL variable will contain separate value in the separate session.
-Ammad

Similar Messages

  • Immediate help needed - passing parameters from jnlp to standard java app

    hello guys,
    i am new to the java world. i need some help from you immediately please.
    i want to pass information stored in the session varibles to the standard java application through jnlp.
    for example i want to pass customerid having customer information through the jnlp file to the standard java application. how to do it.
    i am creating the jnlp file dynamically and saving the session variables of a client as arguments in it(such as customerid described above). i generated the jnlp something like this...
    <application-desc>
    <argument>21</argument>
    <argument>cltds21.txt</argument>
    </application-desc>
    is this the way i am supposed to pass arguments through the jnlp file to the standard java application . if yes how to get these arguments from the jnlp file in standard java application using code. please help me.
    your help will be appreciated,
    thanks.

    Yes - you can pass args in this way,.
    with these settings, the args will be available to the programs main:
    public static main(String [] arg) {
    then arg[0] will be "21", arg[1] will be "cltds21.txt".
    /Dietz (aka Andy)

  • Need help in passing parameters from one page to another!

    Hi,
    I need to pass values that are retrieved from database from one page to another.
    But even when I use pageContext.putParameter(), I am not able to view the value in the 2nd page.
    Any pointers on how to pass parameters would be helpful..
    Thanks in advance!

    The requirement is on the main page there are 6 fields out of which 4 are read-only and are taken from the database and 1 is taken from database, but can be edited, and the 6th one is completly editable for the user. I am trying to pass these parameters using setForwardURL, and on the second page (Preview page, where all these fields are read-only), I am able to retrieve these parameters using pageContext.getParameters() and am able to display it as an exception but I am not able to set these into the fields using pageContext.putParameters().

  • Need help for passing parameters to Flash

    Hi,
    I am fairly new to Flash, and has been trying to solve this over past few hours.
    What I want to do is to pass parameters from the browser to flash.  I searched and seems like the best way is FlashVars.
    However, I have tried different codes and can't get Flash to detect the parameters.
    I decided to follow the example here and just copy and paste the whole thing (just changing the "main.swf" to my swf name):
    http://www.kirupa.com/forum/showthread.php?t=334923
    The flash loads, but it only shows "param:" without anything else.
    I gathered that it probably is a more foundamental problem.  (e.g. the way I am debugging, or some settings, etc.)  Any clues?
    (I am using CS4 trial version AS3.)
    Thanks!

    oh, which 3 locations are there?
    I only know 2, one in <param name="FlashVars" value="one=1&two=2" /> and the other in embed.  Where is the 3rd one?
    Thanks!
    edit:
    oh...ha...haha...found the answer...it's in AC_FL_RunContent...
    http://twelvestone.com/forum_thread/view/37553 <--apparently I'm not the only one with this problem...^^"""
    Anyway, thanks a lot for the direction! 

  • Passing parameters from FORM to REPORT

    Hello All,
    How to pass parameters from a FORM to a REPORT in Oracle Application Server Portal.

    Vamsi, Are u capturing the imputs for these parameters in the form??
    If u are capturing them in the form, then u need to add them to a parameter list (TEXT_PARAMETER) and while calling the report u can send it as a parameter in the RUN_PRODUCT call.
    Pls check the syntax for adding parameters and calling report from form in the form builder help.

  • Passing Parameters from Forms to package

    I want to pass parameters to a package .The package inserts records into 10 tables.on click of a button in my form it should insert the record.it should display a conformation message. I need a solution.
    Kaimal Prasad.T

    Hi,
    I don't have 10g right now, so can't test it...
    Isn't it possible to just put the params you won't show to your users 'behind' other objects on the param form?
    Strange behaviour anyway, in 6i Reports does not seem to care wether the params are on the form or not.
    Rgds,
    Guido

  • Passing parameters between form portlets on two different pages ...

    Here is a brief summary of our problem.
    We have one master form and a detail form which are published as portlets and placed in two different pages.
    Now i want to pass parameters from master form portlet resides on one page to detail form portlet resides on another page.
    Say for example, when i invoke master form (created based on demo DEPT table), enter values on fields then invoke another page
    on which the second form portlet (say form based on EMP demo table) resides. Now i want to pass deptno to second form and
    get displayed in deptno field of second form.
    I was looking at the following posting, but how to do this when forms are published as portlets and placed on two different pages ?
    http://forums.oracle.com/forums/message.jsp?id=997683
    Customer actually want to pass a parameter from master form to 5 detail form portlets resides on different pages.
    This is bit urgent as it is the only problem stopping the customer go live.
    Thanks in advance.

    Please refer to post Re: session state security
    It tells you how to populate a form portlet in a page by clicking on a link in a report portlet.
    You can use the wwsto_api_session objects to store data submitted by the master and let the detail form pick it up and proceed with the query.

  • Passing Parameters to Form Component

    Can I pass parameters to a form component through the URL...like PORTAL30.wwa_app_module.new_instance?p_moduleid=1098075940 is the link to get the form ..I want to pass a parameter along with this.This is to pass the parameter to a stored procedure on which the form is based.
    null

    Yes you can pass parameters.. here's a quick tutorial..
    There are 2 ways to link to a 3.0 form from another component:
    1. "Query links", in this mode user can specify any conditions for the form and when the form
    gets these values it will execute the query using passed conditions and if a record found we will bring the form in the update mode so that record can be updated, if multiple records found all set of the records will be returned, and user can use "Next" and "Previous" buttons to navigate in the set.
    If none of the records in the table satisfy the criteria, the form will be shown in insert mode with all fields empty.
    Parameter | Condition | Static Value | or | Column Name
    EMPNO &#0124; &#0124; >= &#0124; &#0124; 7900 &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    ENAME &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    JOB &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    MGR &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    HIREDATE &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    SAL &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    COMM &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    DEPTNO &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    showheader &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    _rowid &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    Resulting Link Example:
    portal30.wwa_app_module.link?
    p_arg_names=_moduleid&p_arg_values=1060253649
    &p_arg_names=_sessionid&p_arg_values=
    &p_arg_names=EMPNO&p_arg_values=7900
    &p_arg_names=_empno_cond&p_arg_values=%3E%3D
    2. "Link-to-fill-the-defaults"
    This type of link is similar to WebDB 2.x forms link.
    Take the link above and remove all the conditions and you will get the "defaults" link, we just take whatever you put in the value field and put it in the form field as a default value, no query performed. This type of link should be used in case if the users want to create a new record based on some of existing table data. For example to create another employee record in a department with the same job title and reporting to the same manager.
    Parameter | Condition | Static Value | or | Column Name
    EMPNO &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    ENAME &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    JOB &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; JOB &#0124; &#0124;
    MGR &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; MGR &#0124; &#0124;
    HIREDATE &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    SAL &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    COMM &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    DEPTNO &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; DEPTNO &#0124; &#0124;
    showheader &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    _rowid &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    Resulting Link Example:
    portal30.wwa_app_module.link?
    p_arg_names=_moduleid&p_arg_values=1060253649
    &p_arg_names=_sessionid&p_arg_values=
    &p_arg_names=JOB&p_arg_values=CLERK
    &p_arg_names=MGR&p_arg_values=7902
    &p_arg_names=DEPTNO&p_arg_values=20
    null

  • Help in passing parameters along with  URL

    Hi All,
    I have a small web application in which I am passing some details to a servlet along with url.
    http://localhost:8080/Test/orderDetails.do?OID-67856
    When I am checking req.getParameterNames(),I am able to see paramname 'OID-67856'
    in Jboss .But not able to see the same in WAS .What is the exact pattern we need to follow when we pass parameters?
    Do we strictly need to follow paramName=paramValue pattern in order to work this on all application servers?
    It will be great if someone share me any specification documents regarding this .
    Thanks in advance.

    798185 wrote:
    Hi All,
    I have a small web application in which I am passing some details to a servlet along with url.
    http://localhost:8080/Test/orderDetails.do?OID-67856
    When I am checking req.getParameterNames(),I am able to see paramname 'OID-67856'
    in Jboss .But not able to see the same in WAS .What is the exact pattern we need to follow when we pass parameters?
    Do we strictly need to follow paramName=paramValue pattern in order to work this on all application servers?
    It will be great if someone share me any specification documents regarding this .
    Thanks in advance.Well, try turning it into ?OID-67856= (so an empty value) and see if it starts to work on WAS. Would have been a test of a few seconds, posting this question took you at least a minute.
    If even after trying it out you want hard proof, you should check the HTTP specifications (google for 'rfc http').

  • Passing Parameters from Forms to Discoverer

    Hello Everybody,
    Is there a way to pass parameters from Oracle Forms to discoverer 4??
    I want to call Discoverer from a Form and pass parameters to a sheet.
    Thanks

    Hi,
    I don't have 10g right now, so can't test it...
    Isn't it possible to just put the params you won't show to your users 'behind' other objects on the param form?
    Strange behaviour anyway, in 6i Reports does not seem to care wether the params are on the form or not.
    Rgds,
    Guido

  • Passing parameters from Forms to Reports - Unhandled exception error

    Hi there,
    I am passing parammeters to my Reports through Forms. I am using the built-in RUN_REPORT_OBJECT to invoke and run my report.
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    BEGIN
    repid := FIND_REPORT_OBJECT('MY_REPORT');
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_OTHER,
    'p1='&#0124; &#0124;to_char(:block.p1_field)&#0124; &#0124;
    ' p2='&#0124; &#0124;to_char(:block.p2_field)&#0124; &#0124;
    ' p3='&#0124; &#0124;to_char(:block.p3_field)&#0124; &#0124;
    ' paramfrom=no');
    v_rep := RUN_REPORT_OBJECT(repid);
    EXIT_FORM;
    END;
    In one of my reports, after the report was invoked on the previewer window and I closed it, an unhandled exception error message appears.
    Are there any restrictions on the length of REPORT_OTHER parameters/value, as in this form, there are quite a number of parameters set to passed into the reports?
    I did not encounter this problem when running the report using the default REPORTS PARAMETER FORM to pass in the parameter. It is only when I pass in through FORMS using SET_REPORT_OBJECT_PROPERTY, then the error appears.
    I did not encounter this error with other reports which have little parameters.
    Regards,
    Hon Koat

    Pang,
    Not sure it this will make the problem go away, but you could try to send the parameters in a parameter list, instead of setting the REPORT_OTHER values.
    The syntax is the same you use to pass parameter list from one form to another:
    declare
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    v_list paramlist;
    c_listname constant varchar2(30) := 'my_list';
    begin
    repid := FIND_REPORT_OBJECT('MY_REPORT');
    v_list := get_parameter_list(c_listname);
    if not id_null(v_list) then
    destroy_parameter_list(v_list);
    end if;
    v_list := create_parameter_list(c_listname);
    add_parameter(v_list, 'P1', text_parameter, to_char(:block.p1_field));
    add_parameter(v_list, 'P2', text_parameter, to_char(:block.p2_field));
    v_rep := RUN_REPORT_OBJECT(repid, v_list);
    end;Hope this solves your problem,
    Pedro

  • How to pass parameters from Forms to Reports

    dear all,
    i'm running a report from a form using run_product(), now i want
    to pass a parameter from a form to report, say i want to display
    all the employees of deptno=10, so what parameter should i give
    in run_product() and what modifications should i make in the
    report???
    thanks and regards
    Tariq.

    Yeah,
    You can pass parameters to from form to report using
    Parameter list. E.g. You want to display all employees of Dept
    10.
    1. Create report with one user paramter say p_dept
    2. Now Using Parameter list and Run Product you can call report,
    see following procedure.
    /* This Procedure passes department number as a paramter to
    Report and displays Report.
    Author - Mr. Adinath R. Kamode
    Parameter - Deptname (p_dept)
    PROCEDURE CALL_REPORT (V_DEPT IN NUMBER)
              V_PLIST          PARAMLIST;               -
    - Parameter List and Name
              V_PLISTNAME           VARCHAR2
    (30) := 'RPTLIST';
    BEGIN
    -- Check existance of Parameter List
              V_PLIST := GET_PARAMETER_LIST(V_PLISTNAME);
              IF ID_NULL (V_PLIST) THEN
                   V_PLIST := CREATE_PARAMETER_LIST
    (V_PLISTNAME);
                   IF ID_NULL (V_PLIST) THEN
                             MESSAGE('Error in
    creating parameter list.');
                             MESSAGE('.');
                             RAISE
    FORM_TRIGGER_FAILURE;
                   END IF;
    -- Add parameter data , name must be same as in Report
         ADD_PARAMETER(V_PLIST,'P_DEPT',TEXT_PARAMETER,TO_CHAR
    (V_DEPT));     
    -- Don't display parameter Form
         ADD_PARAMETER(V_PLIST,'PARAMFORM',TEXT_PARAMETER,'NO');
    RUN_PRODUCT
    (REPORTS,'DEPT.RDF',ASYNCHRONOUS,RUNTIME,FILESYSTEM,V_PLIST,NULL)
    ELSE
              DESTROY_PARAMETER_LIST(V_PLIST);
    END IF;
    END;
    Adi

  • Help with passing parameters to Aspell from C [SOLVED ENOUGH]

    I found this really cool utility called aspellstdout that will allow for rudimentary spell check in Scite:
    http://www.distasis.com/cpp/scitetip.htm#spell
    What I can't figure out (and the author didn't either) is how to pass parameters beyond language to Aspell. What I want to be able to do is pass mode switches. For instance, if I have a LaTeX document I want to be able to pass the -t switch (--mode=tex). I looked through aspell.h and couldn't see what I'm looking for.
    --EDIT--
    The output to xterm option is far easier and it makes quite a bit more sense now that I'm use to it. From my .SciTEUser.properties:
    # Rudimentary LaTeX Spell Checker
    command.name.2.$(file.patterns.tex)=Spell Check
    command.2.$(file.patterns.tex)=xterm -e aspell -t -c $(FileNameExt)
    command.subsystem.2.$(file.patterns.tex)=0
    Last edited by skottish (2008-09-08 01:58:57)

    Hi,
    I see you're using System.Data.OracleClient (which has been deprecated by MS) rather than Oracle.DataAccess.Client, but this works for me with Oracle's ODP, maybe it will help.
    Cheers,
    Greg
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    public class dataadapterfill
        public static void Main()
            using(OracleConnection con = new OracleConnection("user id=scott;password=tiger;data source=orcl"))
                con.Open();
                using(OracleCommand cmd = new OracleCommand("select ename from emp where ename = :1", con))
                    cmd.Parameters.Add(new OracleParameter("myename", OracleDbType.Varchar2, 50)).Value = "KING";
                    OracleDataAdapter da = new OracleDataAdapter(cmd);
                    DataSet ds = new DataSet();
                    da.Fill(ds);
                    foreach (DataRow row in ds.Tables[0].Rows)
                        Console.WriteLine("ename: {0}", row["ename"]);
    }

  • Error in passing parameters from Form to Report

    Hi All
    I am using 9ids
    I want to run report from a form
    From one procedure as
    vc_runformat:= 'htmlcss'; vc_reportserver:=:Global.repsrv;
    set_report_object_property(rep_id,REPORT_EXECUTION_MODE,BATCH);
    set_report_object_property(rep_id,REPORT_COMM_MODE,SYNCHRONOUS);
    set_report_object_property(rep_id,REPORT_DESTYPE,CACHE);
    set_report_object_property(rep_id,REPORT_DESFORMAT,vc_runformat);
    set_report_object_property(rep_id,REPORT_SERVER,vc_reportserver);
    set_report_object_property(rep_id,REPORT_OTHER,'comp_code='||:global.vc_comp_code||' vc_name='||cust_name||' inv='||inv||' invoice_no='||inv_no||' invoice_date='||inv_dt||' Paramform=no');
    vc_reportserverjob:=RUN_Report_Object(rep_id);
    vjob_id:=substr(vc_reportserverjob,length(vc_reportserver)+2,length(vc_reportserverjob));
    vc_rep_status :=REPORT_OBJECT_STATUS(vc_reportserverjob);
    if vc_rep_status='FINISHED' then
    web.show_document('/reports/rwservlet/getjobid'||vjob_id||'?
    server='||vc_reportserver,'_blank');
    else
    set_alert_property('alert_ok',alert_message_text,'Report failed with error message '||vc_rep_status||' !');
    al:=show_alert('alert_ok');
    end if;
    END;
    Report does not run
    now what i have found while rnd that
    when i pass a lot of userdefined argument
    it gives error.
    and if passed one,two,three userdefined argument than it works.
    in this example only
    when i passed
    inv='10016'
    dt='06-09-2003'
    inv_no='010016'
    comp_code='01'
    vc_name='PRODIMPEX'
    with these reports run fines but
    when i increase name data with one caharacter also it gives error
    say
    vc_name='PRODIMPEXR'
    report does not run.
    vc_name in report has character type with length 100
    but a lot of argument is to be passed more.
    I have also checked variable length. its fine
    i think there would be some setting in some report system file having the length of parameters
    which can be passed.
    please help me if u know this.
    thanks in advance

    Hi,
    this sounds familiar. Didn't you post exactly the same question a couple of weeks ago ? Don't remember what I replied to you, possibly to use varchar2 instead of character and give it a try. If this doesn't work, I remember that there is a way to use serverside command files for common parameters that needs to be passed. At least I can not find any bug filed against this. If the behavior doesn't change to teh better I therefore suggest to talk to customer support and file a bug.
    Frank

  • Passing Parameters from Forms to Reports

    I created a report and a form. Create a param list. I'm trying to pass the parameters to the report when I'm doing run_product. The report comes up with the parameter screen.
    My problem is, as I am passing all the values what I need from the form, my report query should automatically query against these parameters and bring me the result.
    For example form is passing dept 49. My report should not display a parameter form asking me to type the dept number. It should take dept 49 in it's where clause for the query and return the result set.
    Can any one give me some suggestions ASAP. Very urgent.
    Thanks in advance.
    Asha

    ugandhar,
    please start looking at Run_Report_Object as using Run_Product to run Reports is desupported in Forms9i
    Frank

Maybe you are looking for

  • Creating Activities in CRM using Word Templates and Web Services??

    Hi, This functionality can be achieved through Adobe Interactive Forms from what I have learnt through demos etc. We are checking the feasibility of using with Word Templates instead. This thread has multiple questions: We are trying to set up the ac

  • Iphone 4S buggy with phone calls-is it Apple or the carrier?

    I have a carrier that has bad signal, and will be switching carriers later this week. However, this issue is new-I'm not sure if it's connected to the iphone or if it's somehow tied in with the carrier's lack of signal strength. It has only been occu

  • Hang on Install of Mountain Lion

    Hi; I have two machines with Lion installed. I'm moving to Mountain Lion. I successfully installed ML on my Air but I'm having problems on my MBPro. It's an Intel Pro with enough space and RAM. I've backed up and turned off virus and malware programs

  • How to debug swc files in Flash CS5

    Hi, to coin a familiar phrase "I'm new to Flash developement". My question is very simple. How do I debug .swc files (that I've created in Flash Builder 4) in Flash Professional CS5. I've incorporated the .swc file in the Publish Settings->Flash tab.

  • REGARDING MAINTAINING CODITION TAB IN SERVICE PUR. ORDER

    Dear cons          In service p.o I entered service item in service tab . I didnot maintain condition tab in service P.o.But I saw condition type is available in condition tab automatically. what is the setting for this or it is happen by default in