Communicate b/w blocks of different forms.

Hi,
I like to know how to communicate from one block in one form A to another block in another form B.
for examples.
In form A.
I have multi line block which i
like to copy all those lines into another multi line block of form B.
Early response appreciated.
Regards,
Faheem

To remove a global and free up the memory:
erase
The same for a record group:
[delete_group|http://www.oracle.com/webapps/online-help/forms/10g/topics/f1_help/builtd_f/deletegr.html?tp=true]
Permanent allocation of memory does not need to be an issue with either of these.

Similar Messages

  • How to use same DFF for two different forms with :BLOCK.field reference

    Hi,
    Can anyone suggest how to use the same dff in two different forms by using :BLOCK.field reference.
    Scenario is the same DFF is referenced by two forms, viz. Form-1 & Form-2.
    Form-1 Reference Field is :BLOCK.field name, but the same block is not available in Form-2, which throws an error while opening it.
    Any pointers please.
    Thanks,

    In the environment I currently have access to do not have similar setup.
    Let say you setup the DFF1 default value to $HEADER.customer_name, the name of the DFF is CUSTOMER_NAME, description can be anything.
    In DFF2, default value should be a SQL, where you can reference the DFF1. For example, SELECT DECODE($FLEX.CUSTOMER_NAME, 'ABC', 1, 'DEF', 2, NULL) FROM dual
    In this case, you can reference the DFF1.

  • How do you call a single block in a form from a different form ?

    Hello All,
    I'm trying to call a particular block in a form. The actual call is done via fnd_function.execute. This brings up 2 blocks:
    1) a find/search block
    2) the block I want with the correct information based on the parameters I have passed in.
    Everything so far is OK with the exception of not wanting the 'find' block to appear. I've tried to hide the associated window by using the hide_window function but this doesn't work. Anyone got any new ideas I can try ?
    Thanks in advance
    Sandy

    If you have both blocks on the same canvas they will both appear if you navigate to a field in either block.
    So, put each block on its own canvas. When you navigate to a field in one block only that block will appear.
    As far as navigating to a block from another form there is not built-in function to do that. You can only call and entire form from another form. You could however pass a parameter from the calling form to the called form. On the when-new-form-instance of the called form check for the parameter value and go_item('myblock.myitem') which will display the block you want.
    Message was edited by:
    Mark Reichman

  • Performance question on looping thrue blocks and items (forms 10.1.2.3)

    Hi all,
    I'm back again in Forms forum : ) !!! and I'm working on a new and very interesting project
    version used : Forms [32 bits] Version 10.1.2.3.0 (Production)
    A little question for gurus :
    On former projects I used to call loops on blocks and item like shown below to do various things such as displaying buttons or showing canvas or different VA depending on the user or scenarios .
    PROCEDURE FRM_BLK_ITM_LOOP IS
    v_curblk varchar2(90); -- bloc courant
    v_curitm varchar2(90); -- item courant
    BEGIN
      v_curblk := get_form_property(:SYSTEM.CURRENT_FORM,first_block); -- on récupère le 1er block de la form
      LOOP
      v_curitm := v_curblk||'.'||get_block_property(v_curblk,first_item); -- on récupère le 1er item du block
        WHILE v_curitm != v_curblk||'.'||get_block_property(v_curblk,last_item)
         LOOP -- tant que l'item n'est pas le dernier du block on loop
            v_curitm :=  v_curblk||'.'||get_item_property(v_curitm,nextitem); -- on récupère l item suivant
            if get_item_property(v_curitm,<some property>) = 'TRUE' then
              --- I can do something.... or adding more conditions if then etc...
            end if;
        END LOOP;
      EXIT WHEN v_curblk = get_form_property(:SYSTEM.CURRENT_FORM,last_block); -- on sort losrqu on arrive au dernier block
      v_curblk := get_block_property(v_curblk, nextblock); -- on passe au block suivant
      END LOOP;
    END;In my current project we work on quite huge forms which can have a consequent number of blocks and items.
    And we must be very careful regarding performance issues as these forms are accessed via LAN and WAN.
    So my question :
    This method seems to be quite efficient as it goes thrue blocks and items sequences as they are defined in the builder comparing to go_block -> go_item ->do_something which can easily turn into nightmare-programming.
    But I don't really know about network roundtrips with this kind of method.
    Is everything done in the app server and then fetched to the client?
    What triggers block-level and item-level can be fired during the execution of the loop ? and so one...
    Thanks in advance for your advices on this matter.
    Jean-Yves

    Hmmm, I have to say I never bothered if Forms is in Socket mode or not; I enabled the network statistics, counted the roundtrips and looked for ways to get them lower (my old friend wireshark did also a good job regarding this) ;). But regarding the note Forms 6i uses Socket Connections by default, this might apply to 10g too (or the enhancement request was approved, who knows).
    Frankly I am not entirely sure what Socket Mode means; I guess it's the mode the forms applet talks to the forms runtime; wheter it's stateful (via Sockets) or stateless (via HTTP / HTTPS) but this is just a wild guess, and I can't find informations on it quickly. I also enabled networkStats on my Developer Suite only, so I cannot tell if you can enable them on a full-fledged Application Server.
    Anyway; as said I just counted the roundtrips and looked where I can avoid them when I made our application ready for WAN.
    Another useful tool was Shunra VE Desktop which I used to simulate low bandwith networks with high latencys; I installed it on a virtual XP, started the application and tested how the Application performs. If something looked odd, I looked behind the scenes, built a little testform basing on the code behind and tried out various things; very often you can take advantage of the event bundling forms seems to make when you use several set_xyz calls as Francois also noted; e.g.
    set_custom_property('bean_item', 1, 'PROPERTY', prop);
    set_custom_property('bean_item', 1, 'PROPERTY', prop);
    set_custom_property('bean_item', 1, 'PROPERTY', prop);
    set_custom_property('bean_item', 1, 'PROPERTY', prop);
    set_custom_property('bean_item', 1, 'PROPERTY', prop);
    vRet := get_custom_property('bean_item', 1, 'PROPERTY);most certainly will cause just 1 roundtrip; but if you use get_custom_property in the middle of the set_custom_property calls you will encounter 2 roundtrips as forms needs to synchronize (you get a value from the bean so the forms runtime needs a response) with the forms applet whereas set_custom_property is a one-way-street which can be fired off simultaneous. The same applies to fbean.invoke and fbean.invoke_bool, fbean.invoke_char and the like. Of course if you are using more then one get_custom_property in this case the roundtrips will increase accordingly.
    If you want to make use of event bundling make sure you fire off as much set_xyz as you can before forcing forms to synchronize (e.g. with get_xyz, or synchronize, create_timer,...)
    cheers

  • Querying a multi-record block within my form

    I have a form where I perform validations of items entered on my main block. I compare the item value entered to an expected value and if they are different then an exception record must be created in a separate, multi-record block within my application. One record on my main block may end up with multiple different exception records in the multi-record block. As a result, part of my validation must include determining whether the user has already created an exception record for the item that I'm validating in the multi-record block.
    Is there a way for me to query and uncomitted, multi-record block in my form? Help would be greatly appreciated!

    Andreas' method is good.
    Only several changes:
      LOOP... EXIT WHEN :SYSTEM.RECORD_STATUS='NEW';
    (Use NEW, not TRUE)
    And just before the Raise Form_Trigger_Failure, I would Go_Item to either the item in error, or to a new line in the exceptions block. And also issue an error message.
    ....By the way...
    If your exceptions block has more rows than will fit on the screen, then your search loop function will may cause the rows to jump up or down when the user tries to commit. There is a way to reset the view after the function completes its search -- you just need to store the value of the block's Top_Record property before the First_Record command, and then Go_Record(Top_Rec_value); after the function completes its loop.
    Also, there is a way to prompt the user to enter the exception record when you first validate the item in a when-validate-item trigger. But the user might ignore the prompt, so you still need to re-check everything from the key-commit process. To use the WVI prompting, in the WVI trigger you check if an exception is required. If it is, store the item name in a package variable, then start a non-repeating timer. When the timer expires, save the :System.cursor_item value (so you can go_item back to it after calling the function), and then call the function to check for the exception for the item named in the package variable. If not found, prompt the user. If found, go_item back to the cursor_item_value.

  • Print 2 different forms to 2 different printers 1 ABAP program

    Is it possible to print 2 different forms to 2 different printers from one program?
    Example: a Shipping invoice and a Shipping Label (mailing sticky label)
    Could they be a combination for form types? SAP Script and SMARTFORMS, SAP Script and PDF, SMARTFORMS and PDF
    I have a need to print a Shipping Invoice and Label from a single program. I need to beable to print multiple copies of the label at the same time for multiple shipping packages. i.e. 1 of 4, 2 of 4 etc.
    The users want to select print a single invoice and the neccessary labels from a single transaction request.
    Ken

    Hi,
    Could you please see the program RLVSDR40.
    Thanks,
    Abhijit

  • Manipulating data from a ref cursor in the data block of a form

    I am using Oracle Forms 10g. I have a ref cursor which returns columns A, B, C, D, E where B, C, D, E are values. The "Query Data Source Name" attribute in the datablock contains "CCTR_Extract_pkg.cctr_refcur". The "Column Name" attribute of item A contains "A", item B contains "B", etc. All of these columns are displayed on the form and it all works perfectly.
    I have a new request, the users would like a 6th column displayed - column F - where it equals D - B.
    Is there any way of doing this in the form only or do I need to change the ref cursor to accomodate the new column and then the form?
    If it can be achieved in the Form (only) - then how do I reference the 2 columns?
    Thanks in anticipation
    Michael
    Edited by: user8897365 on 24-Aug-2011 10:32

    Is there any way of doing this in the form only or do I need to change the ref cursor to accomodate the new column and then the form? The REF_CURSOR is the data source of your block so you will have to modify the CCTR_Extract_pkg package and cctr_refcur REF_CURSOR.
    If it can be achieved in the Form (only) - then how do I reference the 2 columns?After you have modified your database package, I recommend you run the Data Block Wizard on your block and let Forms detect the 2 new columns. You can do this manually, but it is safer to let Forms do it for you. If you want to do it manually, open the Query Data Source Columns property and add your new columns.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • For the same table in the same page, how to use 2 different forms (simple and tabular)?

    Hello! How I can be on the same page with the same table insert and update operations using 2 different forms (single form and tabular form)
    I have little knowledge of Apex, but I know PLSQL
    Thanks
    Ginger
    Ecuador

    Thank you Gramps.  It took some time, but I've got it working now.  I had to re-do all the user authentication actions from scratch for one of the databases, but it's finally behaving itself now.  I appreciate you pointing me in the right direction.

  • How to include a signature block in a form

    how to include a signature block in a form.
    Please advise...

    duplicate thread????
    which user password you want to change..... and refer to your old thread... dont keep creating new threads for the same problem....

  • How to communicate with another applet in different frame?

    Hello,evryone
    How to communicate with another applet in different frame?
    Can you give some advices?
    thank you!
    zhongboqing

    i faced this problem one year ago.It would be something like that:
    first you have to get the applet context 'getAppletContext()' (which is the current frame).
    Then get parent of that context 'getParent()' (which is the browser context).
    Then u can access the desired frame by its name. Finally you can access the desired applet located within this frame by

  • Is it possible to make a fillable form have variable fields - so if you select a radio button it triggers a different form field to be seen depending on which radio button is selected??

    Is it possible to make a fillable form have variable fields - so if you select a radio button it triggers a different form field to be seen depending on which radio button is selected??

    Yes, one needs to use some custom JavaScript code to control the other fields' properties.
    Disabling (graying-out) Form Fields by Thom Parker

  • Set a different form for a different e-commerce product?

    Hi,
    I'm new to Business Catalyst, so sorry if this is an obvious question
    My client wants to set up registration for a conference on their website. This would be set up as if it was a product on the site (using PayPal standard). The site currently is used for customers to purchase a physical product, and so once they have added it to the cart they are taken to a registration form which asks for their shipping and billing addresses, etc.
    This is the same form that customers would currently be directed to after adding the conference registration to their cart. The thing is, my client would like to be able to ask different questions for those registering for the conference- such as dietry needs, etc, which would ideally not be asked when a customer was purchasing a physical product, rather than conference registration.
    So my question is, is it possible to redirect users to a different web form, dpending on which product they buy?
    Currently the only two solutions I see are first setting up a web form with the questions about dietry requirements, etc, and then redirecting them to the conference 'registration' product (but this would make it more complicated for the user), or else purchasing a seamless gateway such as PayPal Pro, and setting up the conference as different web form
    Is there a way to still set up the conference registration as a product, but ask the customer different questions/ have a different form?
    Thanks
    Sam

    I'm pretty sure that there's no way you can change just the Game Center password, but once iOS 8 comes out, you may be able to add him to the Family Sharing App that they're rolling out with iOS 8 and he'll be able to enjoy the game, but it'll prompt you if he goes to buy an in-app purchase.  They haven't released a date for iOS 8 but besides the "Coming this Fall" date. That is the only thing i can think of. I put the link at the bottom of my post for the Family Sharing App for iOS 8.
    Hope it helps,
    broken
    https://www.apple.com/ios/ios8/family-sharing/

  • T-code HRBEN0005 calling different form for open enrollment

    Hi,
    I have to create two different forms for different adjustment reasons for open enrollment(t-code HRBEN0005).
    But in the config table T74HL we can call only one form so I am looking for an enhancement where i can  pass the form name according to the adjustment reason.
    I am not able to find any such enhancement, please let me know if anyone has done this scenario.
    Regards,
    Manu

    Hi,
    As I understand, you have a custom edit form, you would like to click a button and jump to another edit form. Correct me if there is any misunderstanding.
    If that is the case, you could create different view for a list edit form. Then use a button to switch among views to show different view. For more information:
    http://office.microsoft.com/en-in/infopath-help/add-delete-and-switch-views-pages-in-a-form-HA101732801.aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Rerendering a component in different form

    I have a form and it contains one a4j command button. On click of this button, a rich modal panel gets opened. This modal panel contains a table and an a4j command button both enclosed in a form tag. So now I have 2 forms - one in the base page and another in the modal panel. When a4j button on modal panel is clicked, I am rerendering a component on the base page which belong to different form. But it doesnt get rerendered. Can we trigger rerendering of a component in one form by a component in another form? Alternative solutions also welcome. Thanks ...

    You cannot nest forms. You can have multiple of them parallel, but certainly not nested. This is a limitation by HTML specification.

  • Dynamic link to different form and parameters

    Have a few problems i would like some help on.
    First i will describe what I’m planning to do.
    And I'm sorry if it's a little of the normal way of doing it, but I'm new to the Portal
    Have a list over different trip people shall have possibility to join,
    Some of those trips can are for the person only and others for the whole family.
    So my plan is to show a list of all the trips and then a status saying if
    they already has join it or not.
    Then the person can press the trip (link) and depending on some data,
    they would be transferred to 2 different forms. One for 1 person trip and another for a x person trip.
    Like:
    Trip     | Status | Personal/family
    Golf     | New     | Personal - if pressed open form1
    Boat     | New     | Personal - if pressed open form1
    Dinner     | New      | Family - if pressed open form2
    Soccer     | Accepted |Personal - if pressed open form1
    Tennis | Declined | Personal - if pressed open form1
    I made a report, showing all trip, but i can only make it use 1 link to form1, how do i make the link dynamic
    The next problem is when i open form1, i would like to do some stuff in PL/SQL (Before Page).
    But I have tried to get the parameters from the URL and I cannot get it to work.
    I use something like, but the l_names.count is 0
    ....portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1380125721&p_arg_names=_sessionid&p_arg_values=&p_arg_names=ENROLL_ID&p_arg_values=5677&p_arg_names=_enroll_id_cond&p_arg_values=%3D
    DECLARE
    l_names owa.vc_arr;
    l_values owa.vc_arr;
    l_lang varchar2(100) := PORTAL.wwctx_api.get_nls_language;
    l_enroll_id NUMBER;
    BEGIN
    PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
    FOR i in 1..l_names.count
    LOOP
    IF l_names(i) = 'enroll_id' THEN
         l_enroll_id:= l_values(i);
    END IF;
    END LOOP;
    END;
    What i also want to do is in some cases. Is create a row in a table and populate the form1 with it in the "before page", instead of using query from parameters.
    Like:
    Trip     | Status | Personal/family
    Golf     | New     | Personal - if pressed open form1 and insert data and populate the form with the inserted data
    Soccer     | Accepted |Personal - if pressed open form1 and do the standard query
    How do I do that?

    One way to do this would be to hold the urls for the pages you need to display in a table. You could then build the links as one of the columns of a report using some fancy SQL.<br>
    <br>
    Or you could make a simple function to return the correct link based on the relevant parameters:<br>
    <br>
    create or replace function get_url (p_criteria in varchar2) return varchar2<br>
    is<br>
    lv_url varchar2(500);<br>
    begin<br>
    if p_criteria = 'Personal' then<br>
    lv_url := 'http://host:port/pls/portal/etc...';<br>
    end if;<br>
    etc...<br>
    return '&LT;a href="' || lv_url || '"&GT;' || p_criteria || '&LT;/a&GT;';<br>
    end;<br>
    <br>
    Your report could then include the function as one of the columns in your report.<br>
    Not very elegant but it should do the job.
    Patrick.

Maybe you are looking for

  • How can I use different presets on the same instrument?

    I use Session Horns Pro with Kontakt Played in Mainstage 3. You can choose different presets within Session Horns without having to load additional samples and take up more memory. How can I create different patches that use the changes of Session Ho

  • How do I select part of a song?

    I am creating some voice overs using songs from iTunes as background, and am using the Podcast part of Garageband for that. When I drag the song into Garageband, I have the whole song showing as a track. If I only want to use part of it, how can I se

  • Lion 10.7.4 with hp4050n

    I am trying to get my Mac running lion 10.7.4 to see my old LaserJet HP-4050N. The 4050 is hardwared to a pour port wireless router using Ethernet. When I try to "add a printer" (+) there is no IP tab or anyting to input anything but what was "found"

  • Authorization to change BOM without history requirements

    Hi Techies, We are checking the design and validation of few scenarios in the testing server. During the testing we found that we are able to change the BOM which we have already changed with Change number without change number. Instead of an error m

  • SLD Transport

    I would like to transport all the Product, Software Component , Technical System and Business System Information from DEV to Production SLD. The plan is to make the Production SLD, the only SLD in future. I am thinkin of going to SLD Administration ,