TOPMOST_TAB_PAGE

Hi,
Very new yo this so please be gentle..
I have a fomr which is based on many tables of employees, machanic,cleaner etc.
I have a tabbed canvas on top of the main EMPLOYEE canvas with 4 tabs.
I am trying to make the tab which is relevant to the empno become promenant,,ie TOPMOST_TAB_PAGE but I cannot get the code right.
Can someone please help
I know it is something with set_canvas_property and topmost_tab_page but I have tried lots and searched everywhere.
The deifferentemployee number are 1000 -2000 cleaner,,,,2000-3000 mechanic and so on
I need to display the tab IF empno <1000 ---------- elseif <2000-----
(i think :/)
please help
Many thanks for any help
Simon

Hi Simon
Pls Try the following code in the WHEN-TAB-PAGE-CHANGED trigger Form-Level
IF EMPNO < 1000 THEN
GET_CANVAS_PROPERTY('<tab_canvas_name>', TOPMOST_TAB_PAGE) = '<first_tab_name>' ;
   ELSIF  EMPNO < 2000 THEN
GET_CANVAS_PROPERTY('<tab_canvas_name>', TOPMOST_TAB_PAGE) = '<fsecond_tab_name>' ;
   END IF; Hope this helps...
Regards,
Amatu Allah

Similar Messages

  • Re: TOPMOST_TAB_PAGE

    Hello Amuta
    All the posts that you made yesterday trying to help me have dissapeared.
    Were there any last minute revelations for me.
    Many thanks
    Simon

    HI Amuta
    Thank you very much for helping, I didnt put the error because I didnt want to kep pestering you, sorry about that.
    ok here goes...this is my code
    DECLARE
    v_tab NUMBER;
    cn_id CANVAS;
    BEGIN
    cn_id := FIND_CANVAS('TAB_EMP');
    IF E_NO < 1000 THEN
    v_tab := GET_CANVAS_PROPERTY( cn_id , TOPMOST_TAB_PAGE) = '<DRIVER>' ;
    GO_BLOCK ('DRIVER');
    ELSIF E_NO < 2000 THEN
    v_tab := GET_CANVAS_PROPERTY( cn_id , TOPMOST_TAB_PAGE) = '<CLEANER>' ;
    GO_BLOCK ('CLEANER');
    END IF;
    END;
    I take it the GO_BLOCK part is correct, because I wasnt sure but the error have now changed,,the error now is
    error 201 at line 11 column 1 identifier 'E_NO' must be declared
    I have tried changing this to EMPLOYEE.E_NO but this doesnt help
    Many thanks

  • How: Stacked Canvas on Tab Canvas ?

    Hi All,
    I have content canvas in which I have placed tab canvas with 5 tabs, and on one of the tab I want to place stacked canvas because I have to display multiple blocks on this stacked canvas with vertical scroll bar (This I can specify by saying Vertical scroll bar as Yes for Stacked canvas).
    There is a restriction that, it is not possible to place stacked canvas on tab canvas (Possible only on content canvas), so is there any other workaround.
    Please let me know if anyone has worked on similar type of screen development. Appreciate if anyone can provide some sample code.
    Advance thanks for your time and help.
    Regards
    CJ

    Hi All,
    I found the solution and successfully implemented the desired functionality
    DECLARE
         v_Tab VARCHAR2(1000);
    BEGIN
         v_Tab := GET_CANVAS_PROPERTY('CAN_TABS', TOPMOST_TAB_PAGE);
         IF v_Tab = 'a1' THEN
         GO_BLOCK('BLK1');
              EXECUTE_QUERY;
         ELSIF v_Tab = 'a2' THEN
              GO_BLOCK('BLK2');
              EXECUTE_QUERY;
         ELSIF v_Tab = 'a3' THEN
    *          Set_View_Property('CAN_STK_FIS_NET',HEIGHT,280);*
    *          Set_View_Property('CAN_STK_FIS_NET',WIDTH,630);*
    *          Set_View_Property('CAN_STK_FIS_NET',DISPLAY_POSITION,6,135);*
    *          SHOW_VIEW('CAN_STK_FIS_NET');     *     
              GO_BLOCK('BLK_FIS1_GRID');
              EXECUTE_QUERY;
    END IF;
    END ;
    I have seperately created stacked canvas 'CAN_STK_FIS_NET' and placed multiple blocks as per requirement and able to achieve the functionality.
    Please let me know if any one need any detail explanation.
    regards
    cj

  • 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

  • Problem with Two tab canvases in a form

    Hi Experts,
    I am working on Oracle forms 10g (OS: Windows7) from last 1 year. I have got a requirement to create a form with one tab canvas CAN_TAB (with 2 tab pages) in main page and a pop up tab canvas ASN_SPLIT_TAB(with 2 tab pages). Now the problem is whenever we click on tabs it will fire WHEN-TAB-PAGE-CHANGED trigger and executes the complete code. As a result even if i click a tab page in CAN_TAB canvas it will fire for ASN_SPLIT_CANVAS as well. Check the below code (WHEN-TAB-PAGE-CHANGED). Now i have to differentiate between two tab canvases so that i can use IF-ELSE statement to overcome this problem. Please share your useful comments.
    BEGIN
    Lv_Toppage := Upper(Get_canvas_property('CAN_TAB',Topmost_Tab_page));
      if Lv_Toppage = 'LINES' THEN 
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_LINES');
      show_view('CAN_SCROLL');
      elsif Lv_Toppage = 'ATTRIBUTES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_ATT' );
      elsif Lv_Toppage = 'AUDIT' THEN
      go_item('shipment_summary.confirmedby');
      show_view('AUDIT');
      end if;
    Lv_Toppage := Upper(Get_canvas_property('ASN_SPLIT_TAB',Topmost_Tab_page));
      IF Lv_Toppage = 'INVOICE_SPLIT' THEN
      show_view('ASN_SPLIT_STACK');
      go_item('ASN_INBOUND_CATEGORY_SUMMARY.brand_representitive');
      ELSIF Lv_Toppage = 'SUPPLIER' THEN
      go_item('CONTROL.cancel_but');
      END IF;
      hide_view('ASN_SPLIT_STACK');
    END;

    Thanks Craig. You made it happen..!! Below code is working fine for me.
    IF :SYSTEM.tab_new_page = 'LINES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_LINES');
      show_view('CAN_SCROLL');
    ELSIF :SYSTEM.tab_new_page = 'ATTRIBUTES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_ATT' );
    ELSIF :SYSTEM.tab_new_page = 'INVOICE_SPLIT' THEN
    END IF;

  • Get the tab page that the mouse clicked on using PLSQL

    Another canvas related question ...
    Is it possible to detect the tab page that the mouse clicked on
    from within a WHEN-MOUSE-DOUBLECLICKED trigger,
    SYSTEM.MOUSE_CANVAS returns the name of the tab canvas.
    However, I need the name of the tab page within the tab canvas
    thanks
    Scott

    resolved - thanks
    resolution notes follow:
    ========================
    I forgot to mention that I dont know the type of canvas at runtime,
    so the code needs to work for tab and non-tab canvases
    Unfortunately, calling TOPMOST_TAB_PAGE for a non-tab canvas results in an
    error that can only be suppressed using an ON-ERROR trigger
    (SYSTEM.MESSAGE_LEVEL wont supress it, nor will EXCEPTION)
    anyway, I resolved this via another related post that I raised today.
    "Determining canvas type using PLSQL"
    thanks anyway.

  • Setting cursor on tabed canvas

    Hello. I was wondering if anyone knows the solution to my problem. I have a tabbed canvas which consist of master detail datablock relationships over each tab. Each tab is layed out in a tabular layout so the user selects the record from a list of 10 by simply putting the cursor in that list. The user can then hit the next tab button to see the detail records of the record they selected. My problem lies in deleting the master of this relationship. say the user has selected a maste record and hit the second tab page to view details. If the user then goes back to the master tab and hits delete record the detail record is deleted due to the fact that the cursor did not move to the current record in the master block.
    Would anyone be so kind as to give me guidance on how to solve this problem. Thank you.

    See help for SYSTEM.TAB_PREVIOUS_PAGE and SYSTEM.TAB_NEW_PAGE. They give you the previous tab page name and current tab page names. You can check these variables to decide what to do in IF-ELSE on WHEN-TAB-PAGE-CHANGED trigger on Form level. Or you can check the tab page label to decide what actions to perform.
    e.g.
    WHEN-TAB-PAGE-CHANGED
    DECLARE
    tp_nm   VARCHAR2(30);
    tp_id   TAB_PAGE;
    tp_lb   VARCHAR2(30);
    BEGIN
    tp_nm := GET_CANVAS_PROPERTY('canvas2', topmost_tab_page);
    tp_id := FIND_TAB_PAGE(tp_nm);
    tp_lb := GET_TAB_PAGE_PROPERTY(tp_id, label);
    IF tp_lb LIKE 'Master%' THEN
        GO_ITEM('MasterBlock.SomeField');
    ELSIF tp_lb LIKE 'Detail%' THEN
        GO_ITEM('DetailBlock.SomeField');
    END IF;
    END;Edited by: Zaafran Ahmed on Nov 10, 2010 2:27 PM

  • Tab pages not changed when selecting from TAB LIST

    Hi All,
    I have a form which has 15 tabs, 1st 10 Tabs are dynamic (enabled at new form instance, depending on configuration) and 11 to 15 are Static tabs visible for all.
    My problem is when i am clicking on tabs iam able to switch tabs, but when I select tab from Tab List I am not going to the selected TAB.
    Ex: when I am in TAB 1 and Select TAB15 from Tab list My form Still Stays in TAB1 and not moving to TAB 15
    Please provide me a Solution.
    My code in WHEN TAB PAGE CHANGED is
    DECLARE
    l_curr_rec NUMBER;
         BEGIN
              l_curr_rec := :SYSTEM.CURSOR_RECORD;
              --Get the Top Default Tab Page for the Form
              SHOW_VIEW('HDR_CANVAS_FIXED');
              :global.headers:=GET_CANVAS_PROPERTY('TAB_CANVAS', topmost_tab_page);
         IF(:GLOBAL.HEADERS='AS_REC_IMAGE')THEN      
    SHOW_VIEW('AS_REC_IMAGE');
    SET_VIEW_PROPERTY('AS_REC_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('AS_REC_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('AS_REC');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='TRIM_REC_IMAGE')THEN      
    SHOW_VIEW('TRIM_REC_IMAGE');
    SET_VIEW_PROPERTY('TRIM_REC_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('TRIM_REC_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('TRIM_REC');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='AS_SHIP_IMAGE')THEN      
    SHOW_VIEW('AS_SHIP_IMAGE');
    SET_VIEW_PROPERTY('AS_SHIP_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('AS_SHIP_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('AS_SHIP');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='TRIM_SHIP_IMAGE')THEN      
    SHOW_VIEW('TRIM_SHIP_IMAGE');
    SET_VIEW_PROPERTY('TRIM_SHIP_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('TRIM_SHIP_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('TRIM_SHIP');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='EXTRA')THEN      
                   ---Show the Export Canvas---------     
    SHOW_VIEW('EXTRA');
    SET_VIEW_PROPERTY('EXTRA',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('EXTRA',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('EXTRA');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSE -- DYNAMIC TABS
    --Hide all the other  static canvases
    IF (:GLOBAL.HEADERS='CT01')THEN
         GO_BLOCK('CT01');
    ELSIF (:GLOBAL.HEADERS='CT02')THEN
         GO_BLOCK('CT02');
    ELSIF (:GLOBAL.HEADERS='CT03')THEN
         GO_BLOCK('CT03');
    ELSIF (:GLOBAL.HEADERS='CT04')THEN
         GO_BLOCK('CT04');
    ELSIF (:GLOBAL.HEADERS='CT05')THEN
         GO_BLOCK('CT05');
    ELSIF (:GLOBAL.HEADERS='CT06')THEN
         GO_BLOCK('CT06');
    ELSIF (:GLOBAL.HEADERS='CT07')THEN
         GO_BLOCK('CT07');
    ELSIF (:GLOBAL.HEADERS='CT08')THEN
         GO_BLOCK('CT08');
    ELSIF (:GLOBAL.HEADERS='CT09')THEN
         GO_BLOCK('CT09');
    ELSE --ELSIF (:GLOBAL.HEADERS='CT10')THEN
         GO_BLOCK('CT10');
    END IF;
              END IF;
         END;
    Thanks,
    Durga Srinivas.
    Edited by: DurgaSrinivas_886836 on Dec 3, 2012 8:12 PM

    In your trigger, you are doing a SHOW_VIEW ('HDR_CANVAS_FIXED'); before you select the :GLOBAL.HEADERS information. I'm not sure what HDR_CANVAS_FIXED is, but I am wondering if that is what is messing you up. What happens if you either comment that out:
    DECLARE
      l_curr_rec     NUMBER;
    BEGIN
      l_curr_rec := :SYSTEM.CURSOR_RECORD;
      --Get the Top Default Tab Page for the Form
      --SHOW_VIEW ('HDR_CANVAS_FIXED'); /* <-------------------------------------------------------Comment it out */
      :global.headers := GET_CANVAS_PROPERTY ('TAB_CANVAS', topmost_tab_page);
      IF (:GLOBAL.HEADERS = 'AS_REC_IMAGE') THEN
        SHOW_VIEW ('AS_REC_IMAGE');
        .or if it is necessary move it to after the :GLOBAL.HEADERS:
    DECLARE
      l_curr_rec     NUMBER;
    BEGIN
      l_curr_rec := :SYSTEM.CURSOR_RECORD;
      --Get the Top Default Tab Page for the Form
      :global.headers := GET_CANVAS_PROPERTY ('TAB_CANVAS', topmost_tab_page);
      SHOW_VIEW ('HDR_CANVAS_FIXED'); /* <------------------------------------ Swap it with :global.headers */
      IF (:GLOBAL.HEADERS = 'AS_REC_IMAGE') THEN
        SHOW_VIEW ('AS_REC_IMAGE');
        SET_VIEW_PROPERTY ('AS_REC_IMAGE', VISIBLE, PROPERTY_TRUE);
        SET_TAB_PAGE_PROPERTY ('AS_REC_IMAGE', ENABLED, PROPERTY_TRUE);
        GO_BLOCK ('AS_REC');
      --Hide the other canvases except the Pricing Canvas
      ELSIF (:GLOBAL.HEADERS = 'TRIM_REC_IMAGE') THEN
        SHOW_VIEW ('TRIM_REC_IMAGE');
        .

  • Forms 6i - Two Tab Canvases

    Hi. I have a form with 2 canvases of the Type 'Tab'. The first is named 'top canvas' and second is named 'bottom canvas'. Each tab canvas has 3 tab pages under it.
    My problem is that when the user clicks one of the 6 tab pages I need to determine which tab page was clicked.
    I was able to do this when I had only one canvas of the Type 'Tab' by doing the following:
    tp_nm := GET_CANVAS_PROPERTY('TOP_CANVAS', topmost_tab_page);
    tp_id := FIND_TAB_PAGE(tp_nm);
    tp_lb := GET_TAB_PAGE_PROPERTY(tp_id, label);
    IF tp_lb LIKE 'Details%' THEN
    go_item('to_do_mteam.hide_cursor');
    ELSIF tp_lb LIKE 'Droppers To Call%' THEN
    go_item('dropper.hide_cursor');
    END IF;
    But since I now have 2 canvases of the Type 'Tab' I can't hard code the canvas name (e.g. 'top_canvas') like I did above because the tab page could be on either the 'top_canvas' or the 'bottom' canvas. And BOTH canvases will always have a topmost_tab_page.
    Can anyone advise me on how to solve this issue? Any help would be greatly appreciated!

    :system.event_canvas
    Not documented. See thread here:
    Re: System.Tab_New_Page - with multiple tab canvases

  • Keyboard Navigation with Tab Control

    We have a tab control in a form and it has several pages.
    On one of the tabs we show data from a multi row block, the first 3 columns are on the tab canvas, then we have a stacked canvas that scrolls left/right that shows the rest of the data. We fix the first three columns as they give context to the rest of the rwo that is scrolled within the tacked region.
    Now the problem:
    When focus is on one of the columns displayed on the tab page we can press CTRL-TAB and the tab switches to the next tab page.
    If focus is on one of the fields on the stacked canvas CTRL-TAB doesn't navigate to the next tab page - it attempts to switch windows.
    It looks like the items that aren't onthe tab canvas, but are on the stacked canvas, aren't party to the CTRL-TAB event?
    Has anyone else experienved this problem? Or know of a work around?
    Regards,
    Bren

    When I use CTRL-TAB just the trigger key-next-item fires. In our environment we use CTRL-PageUp/Down to switch the tab canvas. But I think the event that is really fired is key-nxtblk. So on forms-level I added the triggers key-nxtblk/prvblk that call my procedure next-/previous-tab-page.
    In the when-new-forms-instance trigger I initiate a plsql-table, that has the following record type as a rowtype:
    TYPE TabPage_Rec IS RECORD
    (TabPage Varchar2(80),
    First_item Varchar2(80));
    So each tab page 'knows' its predecessor and successor. I then implemented two procedures next_tab_page and previous_tab_page, that iterate the plsql-table and set the canvas_property TOPMOST_TAB_PAGE to the requested value and navigate to the first item on the tab page.
    That way you are mostly independent of the way your form is designed (blocks, items, order in object navigator). It is a bit of an investment and you have to keep it consistent to the way your form changes tabwise, but I found it quite handy.
    Hope this helps.
    Regards,
    Bettina

  • Tab Canvas Nevigation

    Hi All
    I have a tab canvas with four pages and in this form there is four block and one block on each canvas page. I want to navigate the cursor position to the first item of the active page. suppose if i click on tab page one so the cursor should go in the first item of the first block and if i click the second page so the curson should go to the first item of the second block . if i click the third page so the curson should go to the first item of teh third block.
    can any one help. How i have to do?
    thanks in advance
    zafar

    Here is an extract from the code I use. It has the additional step of handling enter query mode and also shows how to 'fail' the tab navigation (warnmess is just a procedure I use to display an alert). Be aware that it is also possible to change tabs using next-block, which does not fire this trigger, so any code which should fire on arrival in a block should not be included here but should be put in when-new-block-instance.
    declare
    toptab varchar2(100) := get_canvas_property('tabcanvas',topmost_tab_page);
    begin     
    -- cannot fail this trigger to stop navigation - have to navigate back
    if :system.mode = 'ENTER-QUERY' then
    set_canvas_property('tabcanvas',topmost_tab_page,:system.tab_previous_page);
    warnmess('Cannot change tabs in query mode');
    else
    if toptab = '...' then
         go_item('...');
    elsif toptab = '...' then
         go_item('...');
    end if;
    end if;
    end;

  • Place a Tab Canvas within a Tab Canvas

    Oracle Forms 6i.
    I have a requirement to put a tab canvas within a tab canvas. However when I try to create a tab canvas within a tab canvas i get a 'FRM-13002: Stacked and Tab canvases must be created within content canvases.'
    Does anyone know of a way to achieve this?

    Got it working thanks.
    For anyone that wants the code:
    WHEN-TAB-PAGE-CHANGED - Form Level Trigger
    declare
         tb_name varchar2(30);
    begin     
         tb_name :=get_canvas_property('CANVAS1', topmost_tab_page);
         if tb_name = 'TAB1' then
              show_view('CANVAS1');
              show_view('SUB_CANVAS1');
              go_item('BLOCK1.FIELD1');
         elsif tb_name = 'TAB2' then
              hide_view(''SUB_CANVAS1');
    go_item('BLOCK1.FIELD2');
         end if;
    end;

  • Get canvas name

    Hi,
    How to get the canvas name at runtime...For eg, I am in tab page canvas.
    if <some condition>
    SET_CANVAS_PROPERTY('CAN_C032A', TOPMOST_TAB_PAGE, :System.Tab_Previous_Page);
    end if;
    If I am not in tab canvas, [I am in the header canvas which is a content one], the above set_canvas_property would throw an error ? If so, how to avoid this?
    Regards
    Priya

    Hello,
    :SYSTEM.TAB_PREVIOUS_PAGE must be used within a When-Tab-Page-Changed trigger. So, this value is maybe NULL when you call the buit-in.
    You can get the current canvas that support the current item with the Get_Item_Property( 'item_name', ITEM_CANVAS )
    Francois

  • Determining canvas type using PLSQL

    Is it possible to determine the canvas type at runtime ?
    I have a canvas name or canvas id.
    I want to find out if the canvas is a content, stacked or tab canvas
    Somre more info ....
    Tab canvas is my biggest problem right now.
    I tried detecting it by using GET_CANVAS_PROPERTY (..., TOPMOST_TAB_PAGE) thinking that if it returned NULL or raised an error I could use that to determine that it was not a tab canvas. However, this raises an error that I can only suppress using an ON-ERROR trigger which is not a good solution (I am hoping to imlement a solution within a single function)
    Any ideas ?
    thanks

    thanks everyone - I managed to resolve this by simplifying my requirements
    Francois tip lead my to the resolution.
    I only needed to detect if a canvas is one of the following
    1) a tab canvas
    2) a non-tab canvas
    I wrote a function to detect if a canvas is a tab canvas. The function loops through all items in the form and return TRUE if it finds an item on the canvas that also has GET_ITEM_PROPERTY (... ITEM_TAB_PAGE ) IS NOT NULL
    P.S I cant rely on the canvas naming standard as this is an existing app with inconsistent canvas names.
    thanks for ideas.

  • Howto. stacked canvas as splash screen

    hello all users of forms world!
    problem:
    how to display a splash screen with a text inside when a process is launched in a canvas full of iteration etc...
    solution:
    assume we have a content canvas C playing the role of a data processor, items browser or other ..
    and a stacked canvas S playing the role of "splash screen" linked to a B_spash block.
    generic code :
    function show_waitscreen (msg Varchar2)
    begin
    :B.message := msg;
    show_view('splash_canvas'); --show canvas S
    synchronize;
    -- here is my contribution :: we must "cut off " the
    --relation between C ans S at the visual level
    host('waitcmd');
    -- waitcmd is a unix shell doing anything :: a date, etc
    end;
    e.g.
    short_process;
    show_waitscreen;
    long_process; -- a lot of go_block, go_record or loop
    hide_waitscreen; -- to implement ! it is very simple
    I'll hope that code helps some programmers using forms (4.5 ,6)
    Daniel

    Hi All,
    I found the solution and successfully implemented the desired functionality
    DECLARE
         v_Tab VARCHAR2(1000);
    BEGIN
         v_Tab := GET_CANVAS_PROPERTY('CAN_TABS', TOPMOST_TAB_PAGE);
         IF v_Tab = 'a1' THEN
         GO_BLOCK('BLK1');
              EXECUTE_QUERY;
         ELSIF v_Tab = 'a2' THEN
              GO_BLOCK('BLK2');
              EXECUTE_QUERY;
         ELSIF v_Tab = 'a3' THEN
    *          Set_View_Property('CAN_STK_FIS_NET',HEIGHT,280);*
    *          Set_View_Property('CAN_STK_FIS_NET',WIDTH,630);*
    *          Set_View_Property('CAN_STK_FIS_NET',DISPLAY_POSITION,6,135);*
    *          SHOW_VIEW('CAN_STK_FIS_NET');     *     
              GO_BLOCK('BLK_FIS1_GRID');
              EXECUTE_QUERY;
    END IF;
    END ;
    I have seperately created stacked canvas 'CAN_STK_FIS_NET' and placed multiple blocks as per requirement and able to achieve the functionality.
    Please let me know if any one need any detail explanation.
    regards
    cj

Maybe you are looking for

  • Why do I get the error message saying "connection was reset"?

    I get this message every once in a while. I have to restart my computer to fix this issue, temporarily. I says "'''The connection was reset'' The connection to the server was reset while page was loading. I have no know ISP issues.

  • Header Condition Records for Promotions

    Hi, I have created a sales deal with a promotion with say X payment terms and customer/material promotional discounts. The issue is that the while order is created deal is being picked up at the item level for material price conditions. i.e. it shows

  • Foxfire adds my password to my email site but it is incorrect. How can I change this?

    When I first set up my email account, a questions came on the screen asking if I would like Foxfire to save my password. I clicked yes, and it has worked fine until I changed my password. Now Foxfire continues to us my old password and I am not sure

  • TOC - First 2 characters missing

    I have Robohelp 8 running locally.  I use a word template for printed documentation in word format.  In the TOC the first 2 characters are missing i.e. my first topic is Introduction so in the TOC, it shows : troduction........  The rest appears fine

  • AE: Deleting Initiators which are already tied to request

    Hi All Is there a way of deleting initiators which are already tied to requests? We would like clear the system of all initiators if this is not possible is there a way around it! We would like to use attributes assigned to those initiators in new in