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

Similar Messages

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

  • 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

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

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

  • 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

  • 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

  • Error when inserting or changing in a sorted table

    Hi Experts,
    When i am executing a webdynpro application it says Error when inserting or changing in a sorted table. Can any one help for this.
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: GET_CATEGORY_LIST of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
    Method: IF_COMPONENTCONTROLLER~GET_CATEGORY_LIST of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
    Method: WDDOMODIFYVIEW of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
    Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
    Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
    Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: DO_MODIFY_VIEW of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    in ST22
    Object Definition
      DATA: lo_node                   TYPE REF TO if_wd_context_node,
            lo_node_info              TYPE REF TO if_wd_context_node_info,
            lo_element                TYPE REF TO if_wd_context_element.
    Additional Data declarations
      DATA: lv_key TYPE string.
    Get context node.
      lo_node = wd_context->get_child_node( name = 'DROPDOWNLISTS' ).
      lo_node_info = lo_node->get_node_info( ).
    Call method to fetch the categories.
      CALL METHOD cl_hap_wd_start_page_ui=>category_get_list
        EXPORTING
          add_on_application = add_on_application
        IMPORTING
          t_categories       = lt_categories.
    Append Default selection entry 'All'.
      lw_category-category_id = '00000000'.
      lw_category-category_name = 'All'.
      APPEND lw_category TO lt_categories.
    Sort table after appending the new entry.
      SORT lt_categories ASCENDING.
    Loop through the category list and populate key(category_id) value(category_name) pair for
      LOOP AT lt_categories INTO lw_category.
        lw_key_value-key = lw_category-category_id.
      625     lw_key_value-value = lw_category-category_name.
    >>>>>     APPEND lw_key_value TO lt_key_values.------>Here it throws an error
      627     CLEAR: lw_key_value, lw_category.
      628   ENDLOOP.
      629
      630 * Bind the category key-value pair to the context attribute.
      631   CALL METHOD lo_node_info->set_attribute_value_set
      632     EXPORTING
      633       name      = 'CATEGORY_LIST'
      634       value_set = lt_key_values.
      635
      636 * Make the entry 'All' as default selected.
      637   CALL METHOD lo_node->set_attribute
      638     EXPORTING
      639       value = '00000000'
      640       name  = 'CATEGORY_LIST'.
      641
      642 ENDMETHOD.
      643
      644 method GET_EMPLOYEES.
      645

    Hello Durga,
    from the error what I understood is lt_key_values is a sorted table and you are trying append a new line to it. Incase of sorted table you need to use the INSERT statement and not the APPEND statement.
    INSERT lw_key_value INTO table lt_key_values.
    BR, Saravanan

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

  • Horizontal scrollbar of waveform chart in tab page resets to end when tab page switched

    I've got a VI in LV 2012 with a chart in one of two pages of a tab control.  Whether compiled to an executable or not, when the waveform chart contains data that is no longer being updated and the x-axis range doesn't show the last point of data, the horizontal scroll bar auto-adjusts to show that last point if you switch pages (back to the chart) on the tab control.  I've tried turning off Autoscaling but that doesn't stop the effect. 
    Additional issues: 
    On some of these attempts at reproducing this, the X-Axis will even change scaling, zooming in on the data.
    When data is pushed left by this bug to allow displaying the furthest data point, if the leftmost area of the chart was blank before the data was pushed left, the data pushed left into the formerly blank area will not be displayed.  This happened only when the X-Axis was manually autoscaled prior to pushing the data off the right edge of the chart, and only if the x-axis scale was not changed.  If the tab pages are again switched at this point away and back to the chart, the data re-appears.
    The chart is a stacked plot if that makes a difference,  Also, the tab control is not linked to any event handlers.
    Also, the scrollbar works fine if you scroll such that the rightmost data points are on the chart along with blank area to the right, whether there is more data off the left edge of the chart or not.
    Last, the Y-Axis of each stacked plot is unaffected by any of this.
    I hope this isn't a duplicate - I didn't find it in the forums.
    Thanks,
    Erik
    Attachments:
    Flaw Demo.vi ‏120 KB

    Alex,
    Thanks for the quick response on this.  Again, the charts are awesome except for these minor fiddling details.  Sorry about the terminology confusion - I didn't find anything in the Help system naming the legend buttons, and unfortunately I can't edit the prior post.  When I said "AutoScale LocK" I meant "Scale Lock", and "AutoScale Once" I meant "Autoscale".
    Here are the issues, hopefully clarified:
    1.  If any chart elements have Scale Lock set, pressing the AutoScale button for any plot causes these other plots to autoscale as well.  Note these are not plots with multiple Y scales, they're stacked plots with separate y-scales for each plot.  Changing the "Advanced->Auto Adjust Scales" parameter had no effect on this issue.
    2.  If none of the chart elements have Scale Lock set in the scale legend, pressing the Autoscale button for the X-Axis has no effect if the x-axis was previously set to show all the data history but then panned such that some data falls of either side of the chart.
         This may have been confusing, so here's a breakdown of the steps to re-produce the problem using the VI I previously attached.
    a.  AutoScale all elements of the chart, and turn off Scale Lock on all elements
    b.  Move the data to the right in the chart, so the left half of the chart area has no data (e.g., set the X-Axis range to -5 to 6 seconds)
    c.  Press the X-Axis AutoScale button.  The X-Axis range will not change from where it was in (b).
    3.  The Y-Axis will also auto-scale when returning to the Chart tab if Scale Lock is enabled for the plot with the fix for the x-axis scale in place (restoring the Xscale.Range parameters from a local variable).  If the fix is not performed, this doesn't happen.
    4.  Pressing the Scale Lock button on one of the plots causes the X-Axis scale to be lost IF there is data past the maximum displayed X-Axis range.  It looks like it set the X-Axis to the same problem range as before the fix was in place.  I don't know how to build an event case for this, except for possibly "Mousedown?".
    One more:
    5.  Enabling Scale Lock on any plot auto-scales any other plot that has Scale Lock enabled (assuming the user changed the Y-Axis range from the previously auto-scalled range).  Obviously this is linked to #1 above, but worth noting.
    Thanks again, Alex!
    Erik

  • Tab Page - changes track

    Hi all,
    I am developing a tab form with header like
    <<header info>
    <<field1 >>
    <<field2 >>
    <<field3 >>
    etc
    <SAVE> <RESTORE> etc buttons
    TAB canvas under header..
    <pg1> <pg2 > etc
    Some of the tabs are read only and some tabs have save/restore functionalities.
    some tab pages are having tables in common and some have different.
    My doubt is
    If the user is making some changes in particular tab page and going to next page without saving the changes, I want to display "Do u want to save ur changes ?" msg. If he just viewed the page, I do not want to display this page. So, is there any way to track the changes made by the user based on tab page...?
    If I track form status msg, will it be serve my purpose?
    I thought of having temporary global variable setting to 1/0 in each item's when_validate_item trigger. But I am not satisfied with this solution.
    Any help please?
    Regards
    Priya

    Hi Priya,
    You can use the system variable :system.form_status (in my previous code example I made a mistake using :form_status) to track changes in your tab.
    declare
    l_commit boolean;
    begin
    if :system.form_status = 'CHANGED' then
    l_commit := ask_for_commit; -- your function for displaying the message, returning a
    -- boolean
    if l_commit then
    commit_form; -- by committing your form :system.form_status will have
    -- status 'QUERY'
    else
    raise form_trigger_failure;
    end if;
    end if;
    end;

  • Erratic tab page change

    Hi,
    I have 2 tab pages. When i navigate from the first page to the second, and then click on one of the 2 checkboxes, or the button, it flicks me back to the first tab page. This doesn't happen with any other items on the page.
    I can click on a text box, and then a checkbox or button without this problem. I checked a 'when-mouse-click' trigger with system.mouse_item equal to one of these items. This only shows when another item is clicked first...
    Thanks

    is it possible, that you write in your WTPC-trigger something like
    if tab-page = 'PG_1' then
    go_block ('A');
    elsif tab-page = 'PG_1' then
    go_block ('B');
    end if;
    test it. With this technique you have explicit navigation to your blocks and not implicit through the tab pages

  • Forms Personalizations- Tab Page Change

    Hello all,
    Is there a way to use Forms Personaizations to activate a specific TAB page in a block in Forms (EBS 11i10 or 12)? Sometimes a block spans across multiple tab pages and even the focus is on a specific field, the corresponding tab page does not open.
    Please let me know if you have any ideas on how to accomplsish this. If there is a different forum for Forms Personalizations, please let me know so I can repost the question there.
    Thanks,
    Nat.

    Nat,
    I did not try this myself, but did you check "Forms Personalization" documents (especially the limitation document)?
    Note: 279034.1 - Information About the Oracle Applications Form Personalization Feature in 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=279034.1
    Note: 468657.1 - How To Do Forms Personalization
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468657.1
    Note: 420518.1 - Limitations of Forms Personalization (under [6] Certain objects may not be available to user to change, or cannot be validated)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=420518.1
    Regards,
    Hussein

Maybe you are looking for

  • Problem with translate function (C++ parser v9)?

    When upgrading to v9 of the C++ parser, we notice a problem with the translate function within xsl stylesheets. Take the following snippet :- <StartDt><xsl:value-of select="translate(string(CheckInDate),'-','')"/></StartDt> Previously, this statement

  • IDOCs performance creation between SAP and SAP Java Adaptor

        Hi, We have a legacy systemt that send some IDOCs to SAP ECC through  a SAP JAVA connector.   Problem is that we send the idocs and we detected that we have some performance issues on the IDOC creation. We are using the SAP standard code and SM58

  • Undesired Root Relative Link

    Document relative link changes to root relative link in new documents created from a template. When saving changes to the template, this link changes back to document relative in the new document. The link points to the content source for an iframe.

  • Unable to connect to Internet

    I need help. I am trying to make a connection to the internet with my G4 running on OS 9.2 from my home. The phone company has come and told me that there is a fiber optic line that runs to the house and then an ethernet cable from the house to the j

  • How Do I Create A Four-sided Inside Bevel?

    When you create an inside bevel, it's only on two sides. I want to create an inside bevel that will be on all four sides to mimic the look of the beveling inside the matting of a picture. Is there a way to do this? Thanks!