Detail blocks with TAB canvas

I have master detail block but i want detail block on tab canvas how can i achieve it?
Khurram

create on the main window (with a content canvas) a
tab canvas.Thanx gerd i did the same and diffrent detail blocks on diffrent tab canvases,but problem is that the moment i enlarge the tab canvas at design time and execute the form the tab canvase is invisible why?
Khurram

Similar Messages

  • Navigation block with tab page canvas

    Hi,
    With content canvas, we can navigate to the next block with CRTL/PgDown, With tab canvas if i press CRTL/PgDown, i go directly to the next tab page!! Any solution to avoid this?
    Thanks.
    null

    Key-Up & Key-down triggers did not fire??

  • Displaying detail blocks on tabs within tabs

    Can anyone help with a layout problem? I don't think it can be done with Designer alone, but I was hoping that Headstart could help.
    I have a master block on a new tab page. I want to display 6 records, showing 2 fields as context with the remainder as overflow right in a stacked item group. So far, so good.
    The master block has two detail blocks. I would like to display these as tabs behind the stacked item group from the master table,
    and this is where I run into problems.

    Lynne,
    Unfortunately, this is not supported by Designer and Headstart does not have a simple workaround for this.
    You could try generating the items to stacked canvases and then when the popup page is clicked programatically display the stacked canvas on top of the tabbed canvas. But this is very tricky coding and probably not worth the effort.
    Regards,
    Lauri

  • Detail blocks in tab pages not queried automatically

    Hi
    I have some generated forms with the following layout:
    - in the content canvas top, the master block
    - below the master block (in the same content canvas), a tab canvas with 2 (or more) pages with detail blocks
    When I query the master block, the detail blocks are not automatically queried, the user must navigate to them to make the automatic query work.
    I found out that it is something related to the blocks not being in the same canvas. But visually, they are in the same canvas, I would like that the detail blocks were queried automatically.
    Is this possible? I think this layout is very common and useful, I am sure Designer has some way to do this.
    Thanks
    Luis Cabral

    Hi
    I found it - I just set BSCSCP preference correctly, and now it works fine!

  • Form with Tab Canvas

    Hi,
    I've a form with 12 blocks. We are displaying the these twelve blocks in the tab canvases(Tab attachment Edge: Top). The problem with these tab canvas is user can see only the names of 4 tab canvases. Then he need to navigate using the scrollbar. But the user requirement is that he needs to see all the tabs above in multiple rows. i.e.., In the first row he needs 4 tabs and then in the next line he needs another 4 tabs etc. He do not want to change the Tab attachment Edge to Right/Left. I'm using Forms 6i version. Thanks in advance.
    Regards,
    Alok Dubey

    Hi Reena,
    Create the content canvas. go to layout editor.
    Go to View --> Stacked Views on the menu.
    select the tab canvas and say ok.
    Now go to Edit --> Select all. Deselect the new content canvas .
    Move all these selected items on the tab canvas down so that you can have enough space on the top of content canvas.
    Cheers.
    Ram Dontineni.

  • Add Content Convas to a Form with Tab Canvas

    Hi,
    I have a From with the tab Canvas (with 3 tabs). I wanted to provide few buttons which are common to all the tabs.
    How can i do it?
    I know of one way that it can be done is to add the tab canvas to the content canvas and then put the buttons on the Content Canvas. I can't seem to add it(Content Canvas) to the existing form. I tried using a fresh form and then copying the existing tab canvas on to it, it doesn't work.
    I don't want to recreate this tab canvas as I have lots of code that has been added to the tab pages.
    Is there a way to solve my problem ?
    Appreciating in Advance.
    Reena

    Hi Reena,
    Create the content canvas. go to layout editor.
    Go to View --> Stacked Views on the menu.
    select the tab canvas and say ok.
    Now go to Edit --> Select all. Deselect the new content canvas .
    Move all these selected items on the tab canvas down so that you can have enough space on the top of content canvas.
    Cheers.
    Ram Dontineni.

  • Master block content canvas and Detail Tabbed Canvas...

    Hi All,
    I am trying to create master block content canvas and then detail block on tabbed canvas.
    How i can view these two canvases together ?
    these two canvases opening in separately in layout editor...how i can show them both in one window..???
    Please some advice on this ..
    Thanks,

    Hi
    these two canvases opening in separately in layout editor...how i can show them both in one window..???it's just a matter of x & y issue ; pls increase the y position of the tab canvas to move it downward (straight lower down the content) minimize the tab w & h if necessary just for temporary adjustments form design.
    By this way u would control the design layout of the two canvases.
    Hope this helps...
    Regards,
    Amatu Allah

  • Tab canvas(tab page hidden)

    Hello Everybody,
    I have two blocks.each block have one canvas(first block have content canvas andthe second block have tab canvas),in the first block i want to to make button to make some tab pages hidden,
    how to make one tab page hidden?
    Thanks and regards,
    Mona

    Mona wrote:
    how to make one tab page hidden?
    Use the SET_TAB_PAGE_PROPERTY built-in with the VISIBLE property set to FALSE, you can set it visible/invisible dynamically.
    Your code should look like something like this:
    SET_TAB_PAGE_PROPERTY('tab_page_name', VISIBLE, PROPERTY_TRUE);Tony
    Edited by: Tony Garabedian on Oct 16, 2008 12:00 PM

  • How to display data in detail block from a table.

    Dear members,
    i have 2 blocks. 1 is master block and another is detail block with multiple records.
    the requirement is when i navigate to the detail block the data from a table is displayed in it. using a where clause depend on the value in an item in the master block.
    i wrote the following code and tried in when-new-block-instance, when-new-record-instance, pre-block and post-block
    but...
    DECLARE
         CURSOR ITEM_CUR IS
         SELECT ITEM_ID, QTY_APPROVED
         FROM IN_REQUEST_FORM_DETAIL
         WHERE RF_MASTER_ID = :IN_MASTER_PO.RF_ID;
    BEGIN
         FOR ITEM_REC IN ITEM_CUR LOOP
              :IN_PO_DETAIL.ITEM_ID := ITEM_REC.ITEM_ID;
              :IN_PO_DETAIL.DIS_APPROVED_QTY := ITEM_REC.QTY_APPROVED;
              NEXT_RECORD;
              END LOOP;
    EXCEPTION
         WHEN NO_DATA_FOUND THEN
         MESSAGE ('THERE IS NO REQUESTS');
    END;

    thanks dear simon,
    i want to display the data from a table not included in this form. and these two tables are connected via a relation.
    i have the following tables.
    in_master_po
    PO_ID pk
    PO_DATE
    RF_DETAIL_ID fk (in_request_form_detail)
    in_po_detail
    DETAIL_PO_ID pk
    ITEM_ID fk
    PO_ID fk (in_master_po)
    QTY
    the above 2 tables are datablocks connected via relation
    the following is the from which i want to bring the data to display
    in_request_form_detail
    RF_DETAIL_ID pk
    ITEM_ID fk (items)
    QTY_REQ
    i tried my code on the sample tables with scott/tiger there it works good.
    thanks
    Muhammad Nadeem

  • Creating items on Tab canvas

    I am creating text items on a Tab canvas.It allows me to put the items upto certain area only.If I put any item beyond while generating .fmx ,gives me error
    FRM-30041 Position of item places it off of canvas.
    However my canvas size is enough to accomadate.I am encountering this problem only with Tab canvas.With content canvas it is perfectly alright.
    what is the problem and solution?
    Appreciate help.Thanx.
    null

    Thanks randall.It worked.

  • How to validate non commited items in detail block.

    Hi All,
    I have a Detail block with 10 rows and 2 columns. the select of items is based on LOV. If i select One item in one row, then the user cannot select the same item again in other rows. either I need to not show the selected item in LOV or I need to raise form trigger failure and ask him to change values. This is to be done before commiting the items. Can anyone, please suggest me some way or triggers I can use.
    Thank you.

    If the process is done by a key-commit trigger or a when button-pressed trigger then it is simple . But if there is no such trigger then you should create it because it is more convenient to make controls inside key-commit rather than in pre-update or pre-insert because these triggers do not accept restricted built-ins.
    To validate your items just loop through the list of records and compare the values to the one you are on. Then if there are no match then you go to the next record to search for.
    Something like this :
    declare
    v_current_value_to_compare varchar2(100);
    v_record pls_integer;
    begin
    go_block('detail_block_name');
    first_record;
    while :system.last_record = 'FALSE' loop
    loop
    next_record;
    v_current_value_to_compare := :detail_block_name.item_name;
    v_record := :system.trigger_record;
    if :detail_block_name.item_name = v_current_value_to_compare then
    -- make your control here
    end if;
    exit when :system.last_record = 'TRUE';
    end loop;
    go_record(v_record);
    end loop;
    end;

  • Tab Canvas with Child Block

    I have a question about a tab canvas. I have a parent child relationship where I would like to have the child records each placed on a differnt tab of a tab canvas. At most there will be 7 child records so at most there would be 7 tabs. My question is, is there a way to display the child records on the tabs where each row in the child block in on different tabs. The only way I can think of doing this is by having 7 child blocks each referring to a differnt child record. Is there a cleaner way of doing this with just one child block?
    Thanks
    Diane

    You can do it if you are willing to write all of the code to manage it. Not recommended.
    The alternative is to have a seperate block on each tab, each one a detail of the one master. Each of the seven would have the criteria to only show the appropriate data.
    Regards,
    Robin Zimmermann
    Forms Product Management
    200211

  • Scroll Bar/visibility in Tab canvas/with child blocks property false

    Hi Every one:
    I am working on a Tab Canvas which has a parent block with 2 child Blocks, I am able to hide all items in a child block depend on the value of Parent block but not been able to hide Scroll Bar.
    If any one can give me some ideas. would be a great help.
    Thanx
    null

    perhabs you can create an item which is disabled and no level and not visible and has the same width and heigth of the scrollbar or bigger and if you want to set the toolbar not visible set the item visible.
    (i don't know if you can understand my bad english)
    ~
    pascal

  • Canvas with tab page

    i have a content canvas(blockA) with 2 tab pages(tab1 and tab2) on it. each tab has its own block (blockB and blockC, but they are not master-detail, they are populated by cursor). on the content canvas, i have a column such as DEPT. when i key up or key down the dept column,how can i re-populate all items on tab2? I wrote a 'when tag change'trigger. but when i am current on tab2, and i key up/down to change the deptno, how can i refresh the data on tab2 which are associated by deptno?
    thanks

    Key-Up & Key-down triggers did not fire??

  • Detail Window of a Tab canvas

    I have a tab canvas with one tab filling up the whole tab page with 15 horizontal line, but the last column is a detail button which I want to see additional info for that line,
    should I add rowid for that block - to select that row when I press the detail button??
    Do I use a stacked canvas or a content canvas?
    Do I need a new block for that detail info and use a post query from the 1st block to populate the second block??
    Any insight would be helpful
    Thx

    Since you are so set on the post-query method, do this:
    Do NOT use a post-query. Just create one or more additional items in the same block that are assigned to a separate stacked canvas. Set these items singly-occurring (property Number-of-Items-Displayed = 1). Create a "Details" button in your block on the main canvas that user can click. All its WBP trigger needs to do is:
        Go_Item('Blk.Detail_Item');
    I don't think you even need a:
        Show_View('Detail_Canvas');
    On the stacked canvas, create a cancel button with a WBP trigger that does a Go_Item('Blk.<main-canvas-item>'). And make sure you cannot use the Tab or Enter key to navigate into the details canvas items (Set the appropriate Next-Navigation-Item properties).
    The above method is certainly the easiest. However, if for some odd reason, you don't want to fetch all the details for every record during the initial query, then you can use a different method. This one involves the same stacked canvas and details button. But use a control block and one or more items to display the data. In the WBP trigger, Select detail_columns into :Control_Block.detail_item where rowid = :base_table_block.rowid; and then Go_Item('Control_block.detail_item'); Control_block.detail_item is of course displayed on the stacked canvas.

Maybe you are looking for