Pass variables between form

Hi,
I'm using oracle forms 6i.
How can i pass variables between forms?
Consider the scenarion of a login form.
After a user logged in successfully, a new form appears , where his name should be displayed
like 'Welcome <user>'
So name should be passed form login form to the home page.
Is it possible with Oracle?
Divya

Arif,
-- Your CodeTo format a number of lines, write  at the ending and to begin the code area write .
-- Line of Code
And if you want only 1 line to be formatted then use >.
Regards,
Manu.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How to pass variables between loaders

    Hi,
    I am trying to load an image, with descriptive text and a back button on the click of a thumbnail of the image. I am using a MovieClipLoader instance to do this.
    Here are my problems:
    1. I tried loading the image, with the text(which is within an external swf), using the same loader, but since I am placing them dynamically, depending on the dimensions of the image, I need to pass variables between the two. The image loader is taking longer than the text (obviously) but I need the dimensions of the image before I can place the text. How do I do that??
    2. I tried using two loaders, with separate listeners, and the problem once again is that the text loads before the image, and is hence placed with default values instead of the values derived from the image. The code is within onLoadInit(). Is it possible for me to get the dimensions of the image from onLoadStart()???
    3. There is a back button within the text.swf. I want the image and the text.swf to be unloaded when this button is clicked. How can I achieve that? Can I call loader.unloadClip(target), from within this? Will it recognize the variable?
    4. Is there a much easier way to do this, which I am sadly unaware of?
    Any help will be appreciated.

    Tried the onloadstart() function, but it gives target._width and _height as 0. So that is ruled out...any other suggestions?

  • Pass parameters between forms using a menu

    I use a menu to switch forms. However, I have problems to pass paramenters between the froms.
    Any suggestions ? Thanks.

    There are 2 means:
    1. The most simple to code is to use global vars. Still, you may get into some trouble managing them (erasing them when you no longer need them).
    2. Use parameter lists. RTM about that. It's a bit complicated, but feisable, allowing to pass params whe using open_form or run_product (run_report).
    One more thing: when referencing forms items from menu code you have to use name_in(), and for assigning values to form-items using menu code you have to use copy().
    null

  • Pass variables between skillgroups on CTIOS Agent Desktop

    We need pass variables in the next order:
    1. The agent receives the call and insert variables in the CTIOS Agent Desktop.
    2. The agent transfers the call to another skillgroup DN
    3. The call is assigned to another agent.
    4. That agent should see the variables.
    My question is "Is this possible in UCCE 9.x and how configurate that?"
    Thank you.

    Dear All,
    In order to keep the variables passed within the same call leg, you need to use something called Warm Transfer, you need to create the DNP in CCM as CTI Route point, in this case and only thing case the variables can be passed.
    I was able to do it with CVP, even i was able to save the language accross the whole script that the agent can transfer the call to IVR back and the IVR can read the Language from the original entry (before transfering to agent) and the IVR will be played according to that.
    You just need to create the dail number in the UCCE to be in the CUCM PG Routing client (not cvp or IPIVR).
    and you need to create a label for the CUCM in the UCCE.
    Amer

  • The function javascript:doSubmit not passing variables between pages

    Hi,
    I have an report that has a link to another page, and I'm trying to pass 2 variables. If I use a target URL as such the variables do not get passed, but if I use a page target and explicitly add the item name and values it works fine. Here is the call I'm using to javascript:doSubmit:
    javascript:doSubmit('f?p=&APP_ID.:32:&SESSION.::&DEBUG.:32, CIR:P32_PROJ_ID,P32_DID:#AWARD_NUMBER#,#ID_PROVIDED#');
    Does anyone have any insights?
    Thanks,
    Joe

    You can't use doSubmit to pass variables; it will only submit your page with the request you passed in.  All normal page processing and branching will be followed..  Why are you using doSubmit?  Just put the URL in the URL field.
    f?p=&APP_ID.:32:&SESSION.::&DEBUG.:32, CIR:P32_PROJ_ID,P32_DID:#AWARD_NUMBER#,#ID_PROVIDED#

  • Passing variables between data tag and Java

    Hello all,
    I have a question about using variables between data tag and java.
    Let me explain.
    I would like to populate variable "Test" with
    the information returned by jbo data tag library.
    <code>
    <% String Test = "%><jbo:ShowValue datasource="ds" dataitem="Cod" /><%";%>
    or
    <% String Test = "<jbo:ShowValue datasource="ds" dataitem="Cod" />";%>
    </code>
    This code did not work.
    Some suggestions
    Thanks
    Humberto
    null

    Humberto,
    I'm afraid I do not know the specific answer
    to your question (perhaps Juan the Data Tag
    Wizard will reply ;-). I vaguely recall
    struggling with teh same issue when I was
    playing with the tags for a demo. Here
    is a hack-around lifted from my demo
    that might help:
    <jbo:Row id="privRow" action="CURRENT" datasource="privileges" />
    <%
    String privName = (String)privRow.getAttribute("Privilegename");
    %>
    In other words, I ended up using the Row
    tag to get a local Java variable bound to the
    row instance and then used its methods
    to extract the value. I presume the class
    of the row instance is oracle.jbo.Row
    and you can lookup its supported methods
    in the reference doc.
    I'd be interested to hear if their is a more
    elegant way - the one suggested above is
    pretty tedious.
    Regards,
    Bill
    ----

  • Passing values between forms!  Help please!!!!

    I'm stuck. I don't know how to pass a value from one form to the other, and automate a task. For example, I created form1 and from that form1 I want to pass a value to form2...then I want in form2 to query the form2 so it will bring up the complete record of the new value.
    I thought if i used javascript code below it would work but I kept getting that some variable were undifined
    Form_name.Name_of_input_box.value
    that would give me the value of the inputbox. But when i tried doing this...my Form_name was undefined? How do i get the actual name of the form?(i looked that source code when the form was generated but the form name it provides is incorrect or im reading it wrong)
    Please any help or comments are greatly appreciated

    I worked out an example for you:
    Form1 is a form on scott.dept
    Form2 is a form on scott.emp
    When you enter a value for deptno and click on next, it brings up Form2 with the values.
    Follow these steps:
    1. Create a new button in Form1. Call it NEXT.
    2. Select 'Custom' for the PL/SQL button event handler and enter this code:
    declare
    l_deptno number;
    l_url varchar2(2000);
    begin
    l_deptno := p_session.get_value_as_number(p_block_name=>'DEFAULT', p_attribute_name => 'A_DEPTNO');
    l_url := '<portal_schema>.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=<module_id of form2>&p_arg_names=deptno&p_arg_values='||l_deptno||'&p_arg_names=_deptno_cond&p_arg_values='||<portal_schema>.wwv_standard_util.url_encode('=');
    <portal_schema>.wwa_app_module.set_target(l_url, 'CALL');
    end;
    Thats it!!
    Run the form, enter some value for deptno and click "next".
    You'll see the first employee in the dept 10 in Form2

  • Passing values between forms

    Hi,
    I have a scenario where Form A invokes Form B (also passes some values while invoking) and goes to the background. After the user completes the operations on Form B it closes and I need to pass some values back to Form A.
    How do I pass the values back to Form A which is already open?
    Thanks.

    Hi,
    Read about the Global Variables. You can set values from FORM B and access in FORM A.
    -Ammad

  • Pass variable value form one Operational mapping to other

    Hi,
    Can a variable value be passed form one Operational mapping to other in Interface determination?
    So that a Condition check to excute the second operational mapping depending on variable value obtained form first operational mapping.
    Can globalContainer could be used in UDF?
    Thankx
    Edited by: kevindass on Aug 25, 2011 9:13 AM

    Hi,
    You can try these two options:
    1) Create a key in Dynamic Configuration and use it to store the value and retrieve the value back in second operation from Dynamic Configuration.
    OR
    2) Use Export and send the value to BPM, then in BPM using the value decide on if to execute the second operation.
    Regards,
    Aravind

  • Passing variables from form to report.

    I have a portal form that goes to a report on submit. I need to pass a couple of variables from the form to the report for display. How do I do this?

    Hi Sharmila
    thanks for that, the thing is I've tried this and it doesn't seem to work.
    My report fields are :p_property and :p_event.
    The code in my form is:
    declare
    l_property_reference VARCHAR2(20);
    CURSOR get_event_reference IS
    SELECT max(event_reference)
    FROM eh_event
    WHERE property_reference = l_property_reference;
    event_v VARCHAR2(10);
    begin
    l_property_reference := p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'A_P_PROPERTY');
    OPEN get_event_reference;
    FETCH get_event_reference INTO event_v;
    CLOSE get_event_reference;
    go('mobileweb.rpt_prop_event_success.show?p_arg_names=p_property&p_arg_values='||l_property_reference||'&p_arg_names=p_event&p_arg_values='||event_v);
    end;
    The report gets called but the fields are blank.
    Rich

  • Passing data between forms in Release 2

    I have one large form that I need to split into several forms on different tabs in a page, so they can be displayed and updated independently.
    I have seen some talk about using wwa_api_module_session to do so in 3.0.9. Does this work in 9.0.2?
    Does anyone have a short example of the code needed to call one form from another, passing the key field?
    Thanks,
    Gary

    Hi,
    In the success procedure of the form get the value of the field and pass it to the form.
    Here is an example
    declare
    ticket_no varchar2(20);
    flight_no varchar2(20);
    blk varchar2(30) := 'DEFAULT';
    begin
    ticket_no := p_session.get_value_as_varchar2(
    p_block_name => blk,
    p_attribute_name => 'A_TICKET_NO');
    flight_no := p_session.get_value_as_varchar2(
    p_block_name => blk,
    p_attribute_name => 'A_FLIGHT_NO');
    go('<product_schema>.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1384225689&p_arg_names=_sessionid&p_arg_values=&p_arg_names=ticket_no&p_arg_values='||ticket_no||'&p_arg_names=flight_no&p_arg_values='||flight_no);
    end;
    This passes the ticket no and flight no to another form.
    Thanks,
    Sharmila

  • 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 Variables Between Programs in Background Mode

    Hello,
    Can you pls. suggest how I can pass a variable from one program to the other while in the background mode.
    The Export and Import parameters do not work while in the background.
    Thanks.
    Amit

    Hi Amit,
    EXPORT/IMPORT works in Background mode provided the export & import both are done in background.
    Refer this program: it has export/import in background
    /people/prashant.patil12/blog/2007/02/20/displaying-alv-grid-in-background-job
    <b>*----
    Before the export, fill the data fields before CLUSTR
    </b>
      wa_index-aedat = sy-datum.
      wa_index-usera = sy-uname.
      EXPORT s_matnr
           TO DATABASE indx(st) FROM wa_index ID wa_index_key.
    <b>*----
    Before the import, fill the data fields before CLUSTR.
    </b>
      wa_index1-aedat = sy-datum.
      wa_index1-usera = sy-uname.
    To Import the selection screen data from Calling Program
      IMPORT i_mara
      FROM DATABASE indx(st) ID wa_index_key1 TO wa_index1.
      FREE MEMORY ID wa_index_key1.
    Message was edited by:
            Prashant Patil

  • How to pass variable between CRM Fact sheet and BI web template

    Hello,
    I am looking for someone who has integrated a custom web template with the CRM fact sheet (I am on 2004s).
    I have created a custom web application design template for displaying on the portal for a CRM factsheet (TPL_FACT_SHEET).
    This template is based on a query which has a variable (CHOOSE_CUST, ready for input, input: optional type) on 0CUSTOMER char.
    When the sales rep queries the CRM FactSheet on the portal- based on the 0CUSTOMER he is demanding the fact sheet for,  the appropriate 0CUSTOMER value needs to be parsed to my custom web template and it should return him the report. The report is very simple with just sales for current and previous year by material group. There is a std template to do this but we are using cutom data providers and hence need to create this custom web template.
    Thus far I have created a 'filter pane' in my web template but do not know how to link this with the CRM fact sheet or even how to link it to my query variable. Currently when my template is called from the factsheet (portal) it displays results for multiple customers without any filter!
    Please advise how to proceed in linking the CRM fact sheet 0Customer number with my web template filter pane!
    Full points for useful answers!
    Thanks
    Naresh

    Hello,
    I am looking for someone who has integrated a custom web template with the CRM fact sheet (I am on 2004s).
    I have created a custom web application design template for displaying on the portal for a CRM factsheet (TPL_FACT_SHEET).
    This template is based on a query which has a variable (CHOOSE_CUST, ready for input, input: optional type) on 0CUSTOMER char.
    When the sales rep queries the CRM FactSheet on the portal- based on the 0CUSTOMER he is demanding the fact sheet for,  the appropriate 0CUSTOMER value needs to be parsed to my custom web template and it should return him the report. The report is very simple with just sales for current and previous year by material group. There is a std template to do this but we are using cutom data providers and hence need to create this custom web template.
    Thus far I have created a 'filter pane' in my web template but do not know how to link this with the CRM fact sheet or even how to link it to my query variable. Currently when my template is called from the factsheet (portal) it displays results for multiple customers without any filter!
    Please advise how to proceed in linking the CRM fact sheet 0Customer number with my web template filter pane!
    Full points for useful answers!
    Thanks
    Naresh

  • How to pass variables between 2 jsp pages-help

    Hi,
    I have a question like this.
    As an example consider I have 3 .jsp pages.
    page1.jsp - In this html form it has some textboxes to enter employee details.
    page2.jsp - In this page it has a "PRINT" button which allows the user to click.
    page3.jsp - A new popup window which having the same content as page2.jsp, but without the PRINT button.
    But my problem is this. In this page3.jsp,it should be display the entered textbox values as page2.jsp. But these values are not displaying here. They display as NULL.
    I use as follows, but it still not working.
    <%= request.getParameter("effDate")%>.
    Could you please tell me how to hold these values when I came from page2 to page3.
    I'm using JSP 1.2 with javaBeans.
    Thanks.

    Well,
    If you are popping up a new window, and you insisting on pulling the data out of the request's parameter map. Then you will need to add the values to the query string of your url.
    window.open("http:localhost/page3.jsp?itemOne=itemOneValue&itemTwo=ItemTwoValue, '', '');
    Alternative Option:
    When posting from page 1 to page two, store your information into session scope
    request.getSession().setAttribute("valeuOne", "valueOneValue");
    Then instead of pulling from the paramter map, use request.getSession().getAttribute("valueOne") in your third page.
    Hope that helps.
    Thanx
    Cardwell

Maybe you are looking for

  • Airport not working on my mac mini with snow leopard

    hello my airport on my mac mini 80 gb with snow leopard 10.5 is not working so i can not connect to the internet,i had a problem and re-installed snow leopard but i cannot to the internet now,i go to system preferences and network and i have tried to

  • Pass parameter to IFRAME

    Hi All, I have simple req. I have displayed a landing page in the portal. Its URL is as follows: http://dev32-dev2.sgcs.net/portal/page/portal/GePortal/GeLoginForm?_id7=anjelinaj&_id8=anjelina1 In this same portal page I have a IFRAME as follows: <if

  • Error: duplicate element "AddressOnParent"

    Hi, I'm trying to open an ANM OVA file: "anm-va-5.2.2.ova" on a ESXi server version 5.1 with vCenter 5.1. I'm getting the following Error -" line 79:duplicate element 'AdderssOnParent' ". Can someone help figure out how can i open this OVA file? I at

  • Last Invoice Date report

    Hello, I need a report that lists all of our customers who haven't had any sales with us in the past year.  What Tcode would I use?  Thank you.

  • Can varargs in SessionBeans be deployed in WL9.2? modifier transient

    Hello, We're trying to deploy an ear onto an AdminServer in development mode. We want to declare some local stateless session beans with vararg input parameters. e.g. public String[] getValidIDsOfType(String validOnDate, String... filterTypes); It co