Parameters between two forms

Forms [32 Bit] Version 10.1.2.3.0 (Production)
I have a calling form which uses parameters to pass to a second form.
the parameter is a invoice_id, when the user enters in something like '123A' in the invoice_id in the first form, the calling form correctly retrieves the records for 123A,
if the user enters in '123_' (underscore) in the first form, the calling form retrieves the records again for 123A, I have placed a message in the calling form to see what the parameter is passing and it states '123_'
does anyone know how forms is interpreting that _ (underscore) ?
thanks!

hi, thanks for your replies. i agree with both scenerios. my issue is how to convert those 'special' characters in forms when calling another form. i have selected in sqlplus select * from invoice_lines where invoice_id = '123_' and it returns no records which is correct...and i've also in sqlplus select * from invoice_lines where invoice_id = '123A' and it returned the correct records.
i think i will need a function of some description when they create an invoice not to include oracle 'special' characters.
still doesn't really answer my question about passing a '123_' and it stating that it is '123_' in the calling form when i do not have a like statement to query the records, just a master detail relationship between calling form, header/footer using that ID
have a great weekend everyone

Similar Messages

  • How to pass Parameters between two forms

    im trying to do this but i could not find any way for this.
    can any one help me how can i pass parameters between two forms
    in forms4.5. any help will be appreciated
    thanks.
    null

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

  • How to pass parameters between two xterm windows?

    Hi,
    I would like to know how to pass parameters between two xterm windows where there are two independence processes running on them respectively ? Would appreciate if any one out there can advise me . Thanks.

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

  • How to pass value between two forms.

    Hi all,
    how to pass value between two forms(using :parameter),...
    Thanks
    Rajesh

    To use parameters, create a parameterlist with the named parameters
    DECLARE
      pl_id PARAMLIST;
      pl_name VARCHAR2(10) := 'tempdata';
    BEGIN
      pl_id := Get_Parameter_List(pl_name);
      IF not Id_Null(pl_id) THEN
        DESTROY_PARAMETER_LIST(pl_id);
      END IF;
      pl_id := Create_Parameter_List(pl_name);
      ADD_PARAMETER (pl_id,'MYPARAMETER',TEXT_PARAMETER,:BLOCK.VALUE);      
      CALL_FORM('MYNEWFORM', NO_HIDE, DO_REPLACE, NO_QUERY_ONLY, pl_id);
    END;In the new form you can then just access the parameters via :PARAMETER.MYPARAMETER;
    An alternative is the usage of globals:
    :GLOBAL.MYPARAM:=:BLOCK.VALUE;
    -- call the emp-form
    CALL_FORM('MYNEWFORM', NO_HIDE, DO_REPLACE);and in the new form use:
    DEFAULT_VALUE(NULL, 'GLOBAL.MYPARAM');
    IF :GLOBAL.MYPARAM IS NOT NULL THEN
    ...The advantage of gloabls is that they can also return values back to the calling form, which is not possible using parameters

  • How can I share data between two forms on different lists

    Using a custom content type, I created two lists that I want to share the same data - one is a calendar.  Our employees complete a form from the "Out of Office Request" list that has workflow functionality that sends an email to that person's
    manager.  If the manager approves the request, the item automatically populates the "Out of Office Calendar."  The problem is that the only information from the request list that populates the calendar is the Title field and date/time fields. 
    I need the manager name in order to create a view for each manager.  
    How can I connect the other information in the request list to the calendar list.  It seems to me that if the title and date fields carry over the information, there should be a way to connect the other information.  I'm using Designer.
    I've tried to connect the two lists' webparts with the wizard, but when I get to the page that maps the two lists, there are no column names and the "Next >" button is grayed out.  This seems like the logical place to connect the two lists,
    but it isn't working.

    Hi,
    According to your post, my understanding is that you wanted share data between two forms on different lists.
    To show external  information on the calendar event, there are two methods: Calculated column, workflow. You can refer to:
    A Simple Guide to Show More Information on a Calendar Event
    I recommend to use workflow to achieve what you want. But you need to create a people column to display the manager.
    You can create a workflow associated to the "Out of Office Request" list, add action to Start Approve Process. If the manager approves the request, you can create a item in the calendar, and then update the people column and the title column.
    Then the calendar will display the Title, date/time and the manager.
    To create a view for each manager, you need to modify the Filter. You can use the people column is equal to the manager name or the Title contains the manager name.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • OBIEE 11G - Issue passing parameters between two reports

    Hi folks,
    I am struggling to pass parameters between two reports in OBIEE 11G.
    My first report contains the following columns: Rolling Year Type (VCHAR), Year(VCHAR), Month(VCHAR), Cost(Double).
    My second report contains the following columns: Rolling Year Type(VCHAR), Year(VCHAR), Month(VCHAR), Category(VCHAR), Cost(Double).
    My requirement is to pass the Rolling Year Type, Year and Month values from report 1 to report 2.
    On the Month column properties of report 1, I have created an Action Link called 'Drill to Category'. I have clicked on 'Navigate to BI Content' and selected Report 2.
    Then on Report 2, I have included three filters: Rolling Year Type is prompted, Year is prompted, Month is promted.
    When I run the report I always get the following error:
    The specified criteria didn't result in any data. This is often caused by applying filters and/or selections that are too restrictive or that contain incorrect values. Please check your Analysis Filters and try again. The filters currently being applied are shown below.
    When I check the cursor cache, the filter values are correct. Does anybody have any idea why Report 2 does not display?
    When I remove the Month filter, the report works correctly.
    I have since changed the third filter to be Month No and although Report 2 does display, it does not pick up the filter on the Month No.
    I initially thought this may have been a caching issue and so I have disabled BI Server Cache but this does not fix my problem.
    This was never an issue on OBIEE 10G as I found it very easy to navigate between two requests.
    Has anyone else experienced problems with passing parameters between two request in 11G?
    Any help appreciated.
    Thanks
    Gavin

    Hi,
    I once tried this kind of requirement(with dashboard prompts though) and hit at similar issue. I later found out that the problem is with the space in the parameter values. Can you please let me know, if the same is the case with you?
    Suppose the parameter passed is "Jan 2010", but the report on the destination takes the value as "Jan" & "2010". Yes, it kind of split the parameter value to two based on space. I think we can notice the filters the destination report got, by enabling filter view.
    In this case, since you pass only value at a time, could you try placing the parameter value anyway in double quotes? I think the Server then will understand it as one value.
    Thank you,
    Dhar

  • Passing multiple parameters between two report portlets on the same page

    Hi,
    I want to pass multiple parameters between two report portlets on the same page.
    I have been succussful passing a single parameter between two portlets. The
    following are the steps :
    (1) Created first report based on the query
    SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
    (2) Created 2nd report
    select * from EMP where DEPTNO = :dept_code
    (3) Added pl/sql code before display page on the 2nd report
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values,
    p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
    et_value('dept_code'),10)));
    (4) Created a page and added these reports as portlets.
    Sofar it works fine for one parameter (deptno) . Now I want to add one more
    parameter say empno to my first report query and would like to pass both the
    parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
    Thanks
    Asim

    Hi,
    You will have to do the same thing
    The select will be like this
    SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
    FROM EMP
    In the additional plsql code do the same for empno like this
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
    Thanks,
    Sharmila

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

  • How to get HttpServletRequest parameters from two forms in a JSP

    I have this JSP with two forms calling the same servlet. Problem is, when I use a submit button in the second form, I am unable to retrieve the request parameters from the form through the servlet. I am wondering if anybody could give me some info on how to get the request parameters from the second form. I tried to see all the parameter names in the request by calling request.getParameterNames(). But the parameters in the second form are not even seen in the request although I am clicking the submit button in this form!

    First, two forms works fine in one jsp so no need to argue about that.
    Second, did you put the form actions and type ("multipart/formdata " ?) explicit in every form header ? Did you supply different form names ?
    Try to call the submit function through javascript - document.forms[0].submit() for your first, and document.forms[1].submit() for your second form...
    Did you forget to close the form tag by chance ?

  • Differences between two form source's

    Is it possible to show the code differences between two fmb's using PVCS ? Or is there some other method of doing this?
    Using Object list report in Oracle forms 6i , you can create a txt version of the form and compare these using a diff, but this is not an accurate method.

    I am using the FormsTool V1.0 from the previously mentioned http://www.orcl-toolbox.com This is a great tool for doing diffs on Forms and Reports. It has saved me several times in the past. Never had the need for the replace functionality but I am sure it is just a matter of time.
    Also great for doing impact analysis when someone wants to change something and wants to know how many forms/reports are impacted.
    Well worth having a copy for the $200 cost. No I do not work for orcl-toolbox ;-)
    Bob.
    Message was edited by:
    Bob C

  • How to transfer parameters between two iViews?

    Hi all,
    I have two WebDynpro based iViews (StartView and SecondView). when I press the button in the StartView, the EP will navigate to the SecondView. During this process, I want send a parameter value from the StartView to the Second View. In the StartView, I use the follow method to navigator:
    WDPortalNavigation.navigateAbsolute(
                  "ROLES:portal_content/com.sap.itsamtest/com.sap.secondpage",
                     WDPortalNavigationMode.SHOW_INPLACE,
                     (String) null,
                     (String) null,
                     WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                     (String) null,
                     (String) null,
                     "value=From Start Page");
    In the SecondView, I use the WDWebContextAdapter to get parameter's value.
    String Name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("value");
    It works fine. But I found there is a warning message:
    The method getRequestParameter(String) from the type IWDWebContextAdapter is deprecated     
    So is there any other good mechanism to implement the data transfer between two iViews.
    Thanks and Best regards
    Deyang

    Hi,
      Try the following:
    <b>Subscribing to a Portal Event:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/0c/8eee31e383cd408bcb07e80b887463/frameset.htm
    <b>Code Example for Programming Portal Eventing:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/0c/8eee31e383cd408bcb07e80b887463/frameset.htm
    <b>Regards,
    Sai Krishna.
    PS: Plz do assign points if it helps. ;-)</b>

  • How do I establish a connection between two forms?

    We previously had JetForms and whilst obsolete and ugly users liked the fact that they could use them to pre-poulate common fields across different forms.
    This was achiveved by filling in a form that in turn would generate an .xls file in the users personal drive.  By clicking on a button in other forms it will populate the fields with those completed in the xls file.
    From what I've seen this should be relatively simple to replicate using Adobe LiveCycle Forms but my question is how do I start?  Presumably I can set up a Personal Details Form that generates an XML data file but how do I specify where I want the file to be saved and its file name?  How can I then extract that data from the XML file to populate a different form?

    Thanks for this Srini.
    I have tested this out on our stand alone machine and it works perfectly.
    The problem we have is that our users do not have access to Acrobat Professional on the networked machines.
    They will access the forms via Reader using Internet Explorer.
    We have experimented with a simple form and have found a kind of solution.  We set up a single field form and then generated preview data for it called test3.xml.
    The form has two buttons.
    Import
    $.host.importData("")
    Export
    $.host.exportData("")
    This achieves what we want BUT ideally it should be seamless.
    We want to minimise the amount of clicking and finding the appropriate XML file by ensuring that the generated XML file from the Update Details Form is saved to a specific location and a specific file name and that these cannot be changed by the users.
    The aim being that we can bind that file to the form so when users open them it will automatically populate the fields or at the very least they just click a button to import their data.
    We've run into difficulties when trying to specify a location either in the script window or the Submit to URL field in the Object menu.  It is not clear whether this is a syntax problem or a security problem but nothing seems to work and the user help makes no mention of saving an xml file directly to a local drive.

  • Passing values between two forms

    hi all,
    In form1, i have details of a particular contract driven from clicking the edit button of the report.
    In form1 all the fields are text box and displayed as : disable save states.
    From form1 when i click the edit button it goes to the form2 for editing that particular record.
    In form2 some of the fields are replaced by select list and radiogroups.
    problem is:
    the data's from form1 (which is in text box disabled) is not getting displayed in the form2 in form of radio groups
    Please, could any one give a solution for this?
    whether it can be done?
    thanks in advance.

    You can try to pass the parameters (go to url region of the page).
    Leo

  • Parameters between two frames, each one is a JSP

    Hi to everybody,
    I have this problem. I have 2 html frames, each one is a JSP page.
    in the left one I have some links (using the tag ) and in the other one a form to fill depending on which link I click.
    The form is always the same! but I just want to discriminates in base of the link.
    so I used this in the left frame (I write just one link as example):
    <a href="RightFrame.jsp target="rightFrame" onclick="<% allora.setCategory("Home address");%">"> Home address</A>
    I have 10 of these, each one passes a different string at the java bean.
    When the uses clicks on the link, I want the string to appear in the right frame. but just the string of the last link appears. Where is the problem?
    Can't I use Javascript and JSP in that way?
    Please help me.
    Thank you.</a>

    <A HREF="RightFrame.jsp target="rightFrame"
    onclick="<% allora.setCategory("Home address");%>">
    Home address</A>
    Where is the problem?
    Can't I use Javascript and JSP in that way?
    Please help me.
    Thank you.No you can't. The JSP scriptlet gets called when the JSP is being generated (on the server, before the page is displayed). The javascript gets called on the client, after the JSP is done, and the page is displayed to the user who can then click... The two can not interact.
    Why not just pass the string you want displayed as a parameter to the URL:
    <a href="RightFrame.jsp?text=<%= java.net.URLEncoder.encode("Home address") %>" target="rightFrame"> Home address</a>

  • Is it possible to pass Query parameters between two XLF's

    Hi,
    I have a parent dashboard (.xlf) and i'm trying to launch another .xlf (child) from the main dashboard using OpenDocURL.
    Is it possible to pass Query Parameters from parent to the child using OpenDocURL ?
    If not , how we can do it ? . I don't want to use SWF loader to load the child dashboard.
    I'm using SAP Dashboard 4.1 SP4.
    Thanks,
    Shiva.

    Hi Permisindo,
    I tried the approach suggested in the blog, but the parameters are not being passed.
    I have a master xlf and a child swf. I used swf loader to load the child and pass the paramters.
    Here is the URL -
    http://<Server>:8080/BOE/Xcelsius/opendoc/documentDownload?sIDType=CUID&iDocID=<doc id>&sKind=Flash&Fac=All Departments&RoomGroup=All Rooms
    I created the flash varibles(Fac , RoomGroup) in the child swf which i mapped to the respective query trigger cells.

Maybe you are looking for