How trigger when-tab-page-change will fire explicitley

Hi,
When-tab-page-change trigger fires only on explicitly changeing the tab page by mouse or key board, is there any way to call this trigger implicitly.
Please do not suggest option execute_trigger.
Thanks,
Ashish

you can take a copy from this trigger and put in a procedure in the form and call it in the trigger of when tab page change and when you need.

Similar Messages

  • WHEN-TAB-PAGE-CHANGED  TRIGGER

    Hi all
    Is any way to found examples of
    WHEN-TAB-PAGE-CHANGED trigger
    in forms implementations.
    Any references will be very usefull.
    Thanks a lot,
    Gor

    In the the on-line help Forms' doc there is one :
    In case you cannot find it... here it is:
    Examples /* Use a When-Tab-Page-Changed trigger to dynamically**
    change a tab page's label from lower- to upper-case**
    (to indicate to end users if they already have** navigated to the tab page):*/
    DECLARE
         tp_nm VARCHAR2(30);
         tp_id TAB_PAGE;
         tp_lb VARCHAR2(30);
         BEGIN
              tp_nm := GET_CANVAS_PROPERTY('emp_cvs', topmost_tab_page);
              tp_id := FIND_TAB_PAGE(tp_nm);
              tp_lb := GET_TAB_PAGE_PROPERTY(tp_id, label);
              IF tp_lb LIKE 'Sa%'
                      THEN
                             SET_TAB_PAGE_PROPERTY(tp_id, label, 'SALARY');
              ELSIF tp_lb LIKE 'Va%'
                      THEN
                              SET_TAB_PAGE_PROPERTY(tp_id, label, 'VACATION');
              ELSE
                      null;
              END IF;
    END;Greetings...
    Sim

  • When-tab-page-changed trigger PL/SQL

    I have a form which Has two tabbed regions
    Can Anyone please let me know how to write the PL/SQL for the when tab page changed trigger for this scenario.
    I can do it for single tabbed region but cant understand how to do it for 2 or more tabbed regions
    thanks

    You have to check :system.tab_new_page for what tab page you ended up on as the result of the user navigation. See the help file for an example of code.

  • Help using app_standard.event(when-tab-page-changed')

    Hello ,
    I need to create a form with the following requirements . There is one content canvas which contains a tabbed canvas and on this there are two stacked canvases .
    The problem is that when I compile my form and ftp to oebs , I cannot view the tab pages on the canvas .
    I see only my the fields displayed in the first tab page without the 'tab pages'.
    How do I solve this issue please ?
    My when-page-page-trigger contains the following :
    BEGIN
         APP_STANDARD.EVENT('WHEN-TAB-PAGE-CHANGED');
    if name_in('system.cursor_block') = 'XX_ERROR_MANAGEMENT' then
    if not form_success then
    -- Revert tab to prior value and exit
    set_canvas_property('CAN_INT',topmost_tab_page,name_in('system.tab_previous_page'));
    return;
    end if;
    -- Move to first item on each tab
    if target_canvas_name = 'CAN_INT' then
         SHOW_VIEW('CAN_ONG1');
    go_item('XX_ERROR_MANAGEMENT.INTERFACE_TYPE');
    else
    show_view(target_canvas_name);
    end if;
    END IF;
    END;
    Any help will be much appreciated . Thanks .

    bump

  • WHEN-TAB-PAGE-CHANGED's navigation for 1 table

    i have 1 table e.g. Employees
    It's fields displayed in tab's pages canvas
    i want to navigate through the keyboard from the Last item in page_1 to the First Item in page_2 and so on...
    they r in the same table i want to make it programatically not distributing items manually...
    Any ideas plz.
    Regards,
    Abdetu...

    _1) If the user Select any tab randamly so i should do the following as in:_
    -- WHEN-TAB-PAGE-CHANGED
    DECLARE
         tp_nm VARCHAR2(30); -- tab's name
    BEGIN
         tp_nm := GET_CANVAS_PROPERTY('TAB_CANVAS', topmost_tab_page);
         IF tp_nm ='INFO_PERSONAL'  THEN GO_ITEM ('HR_EMPLOYEES.ID_NUMBER');  
         ELSIF tp_nm ='QUALIFICATIONS'  THEN GO_ITEM ('QUALIFICATION_ID');
         ELSIF tp_nm ='MILITARY_STATUS'  THEN GO_ITEM ('HR_EMPLOYEES.MARITAL_STATUS_ID');
         ELSE null;
         END IF;
         END;
    So, it should work as you wrote. I don't see any problem in this code.
    2) i want to navigate through the keyboard from the Last item in page_1 to the First Item in page_2 and so on...programatically ...Okay, there are three options...
    1. If you set the order of items in object navigator (which you don't want) then by pressing the enter key on last item of tab page it will move to the second tab's first item.
    2. Create KEY-NEXT-ITEM trigger and use the GO_ITEM() and send on next tab page's first item.
    3. Use the navigable property as i mentioned earlier.
    -Ammad

  • When-tab-page-changed not firing

    I have 2 seperate forms opened on a single page. One displays on left side of screen and has tabs. One display on right side. If I am currently on my right side form (no tabs) and click on a tab on the left side form, it seems the 'When-tab-page-changed; trigger is not firing the first time. I have tried this on 6i and 10g webforms. If I try it on client/server 6i it works. Any suggestions?

    I just tried this with 10gR2 in web. My form with the tabs only get focus and does not call when-tab-page-changed when you click on a tab after returning from the other form.
    A 2nd button press does then call the when-tab-page-changed.

  • When Tab Page Changed Promble with FMX

    FORM 6i
    Problem is Run Form Exits When Tab Page B is clicked but all other Tab Pages(A,C,D,E) are working fine. There is no exit_form; code in when tab page changed trigger. This particular FMX was working fine in TEST sever over a year.
    What could be the Problem? I have renamed fmx toxyz_old.fmx put new xyz.fmx in test server this one run fine. But when I xyz_old.fmx ( exits when B tab page clicked) funny.
    Did any one of you guys had similar problem? or Could any one please tell me what was the problem?

    thats a problem. First try in this situation is a complete recompile of the form
    ctrl-shift-K

  • How to avoid clear record when tab pages changes

    Hi All
    I am using oracle forms 10g and db 10g.
    I have created a form with four tab pages. Namely "EXPENSE" , "AMOUNT_DETAILS", "SUPPLIER" , "ACCOUNT".
    When i enter a data in page 1 ie Expense and move to next page page2 "AMOUNT_DETAILS", and enters data in page3 "SUPPLIER" and when i come back to page1 "EXPENSE" and also Page2 "AMOUNT" the data get cleared in Tab pages. There is no data again i need to enter the data manually.
    Can any one suggest me how to avoid this clear data.
    Thanks & Regards
    Srikkanth

    Hi,
    Thanks once again for your quick response.
    I have checked it , i was working with oracle apps.Now i have entered all the datas in the four tab and press save button in the screen at that time also the data get cleared.Can you please tell is there any work around for this.
    regards
    Srikkanth

  • Trigger for Tab page selection

    Hi all,
    I have a form with a tab canvas with 3 tab pages. I have a multi record block in an tab page and I need to refresh the data in that block when i select the tab page. I have put the execute_query in when-new-block-instance of that block but, its not working. It will get queried only after i click on any fields of that block.
    Any ideas??
    With Regards,
    Yathish

    check this sample code used in when-tab-page-changed, topmost_tab_page value is what you need to know:
    DECLARE
    tp_nm VARCHAR2(30);
    tp_id TAB_PAGE;
    tp_lb VARCHAR2(30);
    BEGIN
    tp_nm := GET_CANVAS_PROPERTY('emp_cvs', topmost_tab_page);
    tp_id := FIND_TAB_PAGE(tp_nm);
    tp_lb := GET_TAB_PAGE_PROPERTY(tp_id, label);
    IF tp_lb LIKE 'Sa%' THEN
    SET_TAB_PAGE_PROPERTY(tp_id, label, 'SALARY');
    ELSIF tp_lb LIKE 'Va%' THEN
    SET_TAB_PAGE_PROPERTY(tp_id, label, 'VACATION');
    ELSE null;
    END IF;
    END;
    Message was edited by:
    Rondelek

  • I have a I-mac that is not able to upgrade the os past 10.7.5, when I go to upgrade Pages it says i have to be running os 10.10, how can I get Pages that will run with os 10.7.5.

    I have a I-mac that is not able to upgrade the os past 10.7.5, when I go to upgrade Pages it says i have to be running os 10.10, how can I get Pages that will run with os 10.7.5.

    Click here and follow the instructions. If they’re not applicable, buy an iWork 09 DVD from a source such as Amazon or eBay.
    (116937)

  • How to create tab pages in EP

    Hi Experts,
    Can you please let me know how to create tab pages in EP. I have created one page. In this page, I have to place 2 iViews as tab pages. Can you please let me know how I can acheive this?
    Regards,

    Stuart,
    Within a SAP Portal Tabs are not used like you want them to
    By default Tabs are used inside an iView and not to "tab" between iViews on a page...
    The most straightforward solution would be creating a custom PageLayout that you can assign to your page.
    I would sugest to implement this custom PageLayout with DIV layers and trigger "tabbing" via JavaScript eventing.
    For more infor on how to create a custom PageLayout take a look at here:
    [http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm]
    Good Luck,
    Benjamin Houttuin

  • How to create tab pages in Human task Using Wizard

    hi,
    how to create tab pages in Human task Using Wizard.i need to display the personal details and the offical details in the same page with different tabs for each.it is possible to do lika this.if yes,how can we do this.
    Regards

    Stuart,
    Within a SAP Portal Tabs are not used like you want them to
    By default Tabs are used inside an iView and not to "tab" between iViews on a page...
    The most straightforward solution would be creating a custom PageLayout that you can assign to your page.
    I would sugest to implement this custom PageLayout with DIV layers and trigger "tabbing" via JavaScript eventing.
    For more infor on how to create a custom PageLayout take a look at here:
    [http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm]
    Good Luck,
    Benjamin Houttuin

  • Querying a Form/Tab Page Change/Applicaiton Items

    Hi,
    I have what I think should be a fairly simple thing to do but am struggling. I have an application item that is set when the user logs on. I have several tabs that open various reports/forms. All I want is that when the user clicks on one tab a form is opened but with a record queried back ready for update with the query being restricted with the value of the application item (application item contains primary key). I have tried setting the default value of the primary key to the application item but no luck. If I manually call the form with primary key column argument:value set in the url the record is queried fine, but you cannot set these items on a tab page change, any help greatly appreciated
    Chris

    Hello
    For each form page you could
    Define an unconditional before header page process or a before-header page computation
    Set the page-item corresponding to the PK of the form's base table to have the value contained in the application item
    Varad

  • How to create 'Tab page' portal?

    Hi,
    The 'Portal' configuration page provides 3 types 'Dashboard', 'Standalone Portal' and 'Tab Page Portal'. According to help document, to add new 'Tab Page', needs to ask customer support. Does anyone know how to use 'Tab Page Portal'?
    Regards,
    Desmond
    Edited by: user783168 on 23-Oct-2012 19:02

    Similar to Patch 8608149 for 'User Portal' tab on User Transaction in FW 2.2 (default in 2.3.1)?
    Follow How To Create A New Multi-Tab Portal Using Configuration Tools (Doc ID 1356225.1)

  • CSS Browse Tab When Refresh Page Changes Size and Jumps to Right Size

    I'm styling a site and I must have changed something I shouldn't have. 
    Issue:  When I click on the refresh page, the "Browse" tabe in the ribbon on the home page jumps smaller and then back to right size when the page loads.  Anyone have any ideas what could be the culprit?
    If I click on the tabs the size remains static, this only happens when I refresh the page.
    It's really bugging me, any help much appreciated.

    This could be related to the "caret browsing" feature, which moves the cursor through the page when you scroll with the arrow key. Or maybe in this case skips around things in the page.
    You can turn that using either:
    * F7 key
    * "3-bar" menu button (or Tools menu) > Options > Advanced > General mini-tab > ''uncheck'' the box for "Always use the cursor keys to navigate within pages"
    Any luck?

Maybe you are looking for