Passing values to Forms

I created a report and a form in 9ias portal. I want to pass a value from the report to the Form (not the Rowid). Can any body let me how can I do that?
thanks,
ajay

DeltaGeek wrote:
BarryC wrote:
Thank you.
Do you happen to know of any tutorials/examples showing various methods of passing values between forms?The same way you pass values anywhere else. When you create your child form, give it a reference to the parent form or references to the data that will be changed. If you feel like making your code more modular, create a class specifically to hold the entered data and be passed anywhere you need.An application context, in effect

Similar Messages

  • Passing values to form bean string array from dynamic added textboxes

    Hi,
    I am unable to pass values to form bean string array from a jsp in which I have incorporated dynamically adding of textboxes in javascript.
    I have given add/delete row option in the jsp. If there is single row, this is working fine. But after adding a row, I am not able to either do any validations on added textboxes or pass the values to the String array form bean variable.
    code snippet:
    var cell6 = row.insertCell(4);
    var element5 = document.createElement("input");
    element5.type = "text";
    element5.className = "formtext1";
    element5.size = "5";
    element5.value = "00.00";
    element5.name= "qty"; // this is a string array of the form bean.
    element5.onchange=function() {checkNumeric(this);};
    cell6.appendChild(element5);
    <html:text styleClass="formtext1" property="qty" value="" size="5" styleId="qty" onchange="checkNumeric(this)"/></td>
    form bean declaration
    private String[] qty; Please help.
    Edited by: j2eefresher on Jan 12, 2010 11:23 PM

    Shivanand,
    There's no need to post that much code when you could create a very short test case that demonstrates only the problem you are having.
    You're using &NAME. notation on something that isn't a page or application item. You can't reference PL/SQL variables that way (or any other way) outside the PL/SQL scope. For your situation, you could create a page item named P55_DOCID and assign it a value in the PL/SQL process (:P55_DOCID := DOCID;), then reference &P55_DOCID. in HTML areas like the success message.
    Scott

  • 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 Value by Form Based on Procedure in Target Frame

    I made a form based on procedure and trying to pass all variables to a target frame called "dest2". I got the sample code on this forum and used window.location, but then I figured it can't pass values to another frame. I tried window.open, but can't seem to figure out how to code it.
    Basically on the page, it has the portal form using stored procedure, and a IFRAME named "dest2".
    The detail my stored procedure is:
    ====================
    Create or Replace Procedure WM.TEST
    p_from_date IN VARCHAR2,
    p_to_date IN VARCHAR2,
    p_desformat IN VARCHAR2,
    as
    begin
    htp.p('<script>');
    htp.p('window.location="http://domain/portal/page?_pageid=1063,801014&_dad=portal&_schema=PORTAL&p_from_date='||p_from_date||'&p_to_date='||p_to_date||'&p_p_desformat='||p_desformat||'"');
    htp.p('</script>');
    end;
    ===============
    Does anybody know how to modify this procedure to pass value to target frame = "dest2" ?
    Thanks,
    Sal

    Hi,
    For documentation purpose, you can read Oracle9iAS Portal Bible -
    they have a complete chapter on creating forms based on stored
    procedure.
    Hope this helps.
    Regards,
    Jatinder

  • BSP passing value from Form of a page to another page

    Hi experts
    I need you helps for some issue!
    I've create a bsp page with a form with an inputField and now I need to retrieve the value inserted by the user and pass it to another page.
    Can you explain me how I've to do?
    Second question is if is possible to use the inputfiled in a pop-up page and then pass the value to the first page.
    I've noticed than the first page is not refreshed when I try to pass the value of the other page.
    Tahnk's!
    alessandro

    Hi Alessandro,
    There are two approaches for doing this.
    1st approach has been mentioned below.
    2nd approach is: I am assuming you are working on Web-IC if its right then this approach is valid:
    you are using some attributes from a structure to show the input fields on the screen so what you can do is, in the IP_INBOUNDPLUG method of the new page you can create insatance of the previous page structure and then you can set these values to the new structure of the new page by saying set_attributes.
    Hope so it will help you:)
    Regards
    Sandeep

  • 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 value from Forms to another Portal Object

    Hi,
    I created a Portal form and a customised button to display another form ,but i need to send the value of one of the field in the URL. write now i call the other form in the (OnClick)Java Event Handler of the Button , but it's not recognizing the variable i declare for the filed value
    Thanks.

    Hi,
    I am doing something similar to what you have described. I have a custom login form with a hidden field(not login/password) which I need to pass to the next form. I tried calling the form like you have explained, but it's not working. The control goes to
    http://portalhost:7777/pls/portal/!PORTAL.wwa_app_module.accept
    and it gives a page not found error.
    Where do I need to place the pl-sql code? I have tried pasting it in the after processing section in the Additional PL/SQL Code tab, as well as in the Submit section of the PL/SQL Button Event Handler, for the Login button. Both don't work...
    Please help!
    Thanks,
    Somya

  • Passing value from form to form

    Hi,
    I cannot make any modifications in to an existing form at this time and i have all the informations about this form. the problem is i have to get one field value which is mouse selected by user in that particular form into a new form which i'm working on. Is there any way to do this.......... Thanks

    Is it a logical question?
    How can you make something work differently without changing something?
    Need to think about changing the form either with Global variables or parameterized Forms.
    Thanks and Regards,

  • Passing values from a FORM to another FORM

    Hi,
    I have to pass values from FORM "A" to FORM "B". What is the best way to do this?\
    Can I use a GLOBAL variable?
    Thanks,
    Marc.

    I think he meant the global namespace.
    You set a :global_your_name_here to a value and that value is available in your entire application. See the help file section on the global namespace for more information.
    Forms parameters are parameters that you form picks up from the outside when it starts. The calling entity must supply them in the URL or they will be set to null. You set them up in the object navigator in the Parameters node.

  • Passing Values to Child Forms

    I have a parent summary form. When the user presses a button, it pops up a detail form for the user to edit/fill in. How do I pass the initial values from the parent form to the child form and back? Where can I find an example of this?

    DeltaGeek wrote:
    BarryC wrote:
    Thank you.
    Do you happen to know of any tutorials/examples showing various methods of passing values between forms?The same way you pass values anywhere else. When you create your child form, give it a reference to the parent form or references to the data that will be changed. If you feel like making your code more modular, create a class specifically to hold the entered data and be passed anywhere you need.An application context, in effect

  • Passing form 1 values to form 2

    Hi All,
    I have Form 1 in which I have fields like location_id, location_code which has values assigned to it.
    On this Form 1, I have a button, and when clicked, opens a new form Form 2, on which I have location_id, location_code and other new fields.
    Now my query is when I click the button on Form 1 and when it navigates to Form 2, on that Form 2 in fields location_id and location_code, it should have the values inserted taken from Form 1 and should be in read-only mode i.e non-editable, and other fields I can enter values and can save the form.
    Any ideas how to achieve this.. Help Greatly Appreciated.
    Thanks
    Aman Khan

    user13115886 wrote:
    HI,
    This is not Oracle forms where in we call paramlist and assign it to call_form.. its oracl EBS where in we dont use call_form but we use fnd_funciton.execute function to call in other form.
    Thanks
    AMan       
    This being the case, I recommend you ask your question in the EBS General Discussions forum to ask your question.  The EBS framework has methods for setting Profile values (if I remember correctly) that you use when passing values between forms.  I don't recommend you use Globals in this instance since the EBS has a standardized way of handling this.  This also makes your Form compliant with EBS development standards.
    Craig...

  • Forms6i- how do i pass values between two forms

    Forms6i- passing values between forms
    I have two forms. FORM1 does a call_form to FORM2.
    How do i send values from FORM1 over to FORM2?
    I want the 2 values in FORM1 to be passed top FORM2 and displayed as a TEXT ITEM.
    But i don't know what is involved in passign vales between forms.

    Define Parameters in Form2, and pass parameters with the same name from Forms1 with the parameter list option of your call_form built-in.
    It is in the online help.

  • Using Form to pass value to query parameters in the selct part of query

    I created a form in Access 2007 to pass 2 values to an Access query.  I am doing this to create delimited output (very large) with the parameters included in the selected data. The select works and is something like this:
    SELECT "^"+!FORM!EXPORT2DAT!PREF_VALUE+"_"+Replace(UCase([column_1])," ","_")+"^|" AS OUTPUT_column1, "^"+!FORM!EXPORT2DAT!COMPANY_VALUE+[COLUMN_3]+"
    ([COMPANY_VALUE])"+"^|" AS OUTPUT_column2,....................
    The form has text boxes for the values I want to pass PREF_VALUE and COMPANY_VALUE to the query parameters, and an execute button to open the query when clicked.
    However when I enter the values and click the execute button, I still get the parameter boxes for the 2 parameters. 1 for this: !FORM!EXPORT2DAT!PREF_VALUE, and FORM!EXPORT2DAT!COMPANY_VALUE. I thought I was filling in with the form text box values.
    Can I use the form's text boxes to pass values to concatenated using(+) columns in the select part of the query as I'm doing above?
    Thanks in advance for your response.

    I have never seen a select statement like that! 
    For query criteria I would use this --
       [FORMS]![EXPORT2DAT]![PREF_VALUE]
                   and              [FORMS]![EXPORT2DAT]![COMPANY_VALUE]
    Build a little, test a little

  • Re: Help needed in passing values from workflow to Approve Forms

    Dear Experts,
    how do I pass values from a workflow to a step (Form) - approve form?
    I am using a customized table structure as my data source (FORMCONTAINERELEMENT) but am stuck on how to access the data when i get to to the screen painter's flow logic... What am i missing? Can you give me a step by step example. the ones i see on the net are input fields that update the screen... nothing that shows value being passed from the outside.
    I need to pass an exisitng value in the workflow into the form for approval of the the assigned agent.
    Please help!!
    Thank you.

    Hello !
             Create a method just before the form step.This method should populate the values for the fields maintained in the form.
             Pass the values populated from this method to your customized table structure (data source).In other words, you have to pass all the values to the workflow container.
            To the step, pass this workflow container by binding.In the control tab of form step, you have to do the binding.
    Regards,
    S.Suresh

  • Issue passing values to text symbols in Dynamic text PDF forms

    Hello Everyone,
    I am facing a problem related to Dynamic texts in Adobe PDF forms (Text node of type include text). I am able to pass the dynamic values to the Text node properties but i am not able to pass the values to Text symbols inside the Text node. When tested it says the field not found. I have the same structure and field in the CONTEXT as that of the text symbol. The problem i see is because in PDF the field names have $record.(fieldname) ?
    Please share your thoughts if anyone has faced similar problem or know how to handle it.
    Thanks a million in advance,
    Chandu

    Open the report up in the Designer and Click on Edit, Subreport Links. Likely what you can do is use Shared Variables to pass values from the main report to the subreport.
    You need to do this in the report first. If you are using RAS then you can at runtime. If RAS is not available to you then no way in code.
    See these samples:
    Root Page
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessIntelligence%28BusinessObjects%29+Home
    Enterprise Samples (including managed and unmanaged ras)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
    Non-Enterprise Samples
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Exporting Samples (RAS)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
    Also refer to the DSK help files for the Engine or RAS and search on the subreportcontroller.
    If you are using RAS I'll move your post to the SDK forum.
    Thank you
    Don

Maybe you are looking for

  • URGENT help required : Custom Authentication Plugin for validation of users

    Hi Experts. I'm a newbie and am stuck in middle of nowhere. I have been asked to develop a custom authentication plug-in which would validate a user using the attributes such as a userid and a shared-userid. shared-userid is just a custom id that wou

  • 10 Standard Edition One

    Hi, Where do I get this from? The 10.2.0.1 download page only includes Standard and Enterprise Editions. The 11g version has all products selectable from the dropdown on the install screen. The 10g version does not have Standard Edition One listed.

  • RecordSet problem

    Hi, Scenario: I loop through a recordset, and at each iteration I pass the data to a dataBean, that I then pass to a thread that is then started. For some reason whether it is the speed of the box, the second iteration of the loop contains data that

  • HT201342 Can I print address labels from my contacts

    I am trying to find a program so I can print home address labels into envelopes. Any help is appreciated!!

  • Is it possible to use multiple signatures in same email in Mail?

    Hi, I'm using Mail in Mac OS X 10.6.6. Previously (older system) I could chose more than one signature in an email to be used simultaneously in that email, simply by clicking on whatever signatures I wanted. Since upgrading to Snow Leopard, clicking