Stacked canvas on one convas!!??

if i have two content canvases and one stacked canvas at the same window ,is it possible to display this stacked canvas at only one specific canvas at this window ??

Hi TERMI
Yes it's possible , Here is an example ...
Pls create a button in ur content canvas in this button pls write the following as an example...
SHOW_VIEW('STACKED_CANVAS');
GO_ITEM ('item_name'); -- Pls note this item should be navigable and visible in ur stacked canvas form
HIDE_VIEW('CONTENT_CANVAS');
In order to return back to ur content_canvas pls create a button in ur stacked canvas in WHEN-BUTTON-PRESSED Trigger
pls write the following...
HIDE_VIEW('STACKED_CANVAS');
SHOW_VIEW('CONTENT_CANVAS');
GO_BLOCK('EMP');
GO_ITEM ('EMPNO'); -- Pls note this item should be navigable and visible in ur Content canvas form
Hope this helps...
Regards,
Abdetu...

Similar Messages

  • Stacked Canvas with one block displaying twice

    I have a question regarding the Stacked Canvas. I have to create a calender for clients. (I am using stacked canvas to do that).
    In the 'calender' table i would have the information like ClientID, Year, weekno, start date, end date.
    So i created two blocks for 'Calender' table in this form. One block for Content canvas with ClientID and Year (Block1). And another block (Block2) on Stacked canvas for weekno, startdate and enddate.(normally there will be 52 weeks sometime 53 weeks)
    On the Block1 it suppose to display the ClientID and Year once. And in the block2 (stacked canvas) it suppose to display 53 rows with weekno and the start/end dates.
    When i create a new row in the block1 for clientid and year (1234, 2008) then the block2 will be populated with 01-jan-2008 to the 31-dec-2008. But the problem i am having is when i try to save it is trying to save two times one from block1 and once from block2 resulting in a unique constraint error.
    how should i structure this so it saves only once?
    I tried to keep the clientid and the year in block1 as non-database items and copied those values into the block2, that way it saves correctly but when i try to query on the upper block it gives me error.

    But you only have one table. You need two tables for master-detail. Can you normalize the calendar table and change it to two tables (master-detail).
    See
    Re: regarding display of records in header and line level
    Gerd offers a solution for two blocks and one table. Maybe that will work for you.
    Message was edited by:
    Mark Roberts

  • Show stacked canvas when form is opened

    Hi,
    I'm working with forms 6i. My form has one multi-record block. Due to the amount of fields that need to be shown we split the block across 2 canvases, the first fields are shown in the primary canvas and next to it is something like an overflow, a stacked scrollable canvas.
    The form is opened in query mode. In the beginning we only see the items on the primary canvas. Only after the user has executed his query and navigates (with tab) to the first item on the stacked canvas this one is shown. From that moment on the stacked canvas stays visible.
    I want to change this behavior as such that the stacked canvas is visible all the time.
    I tried to solve this using show_view in the when-new-form-instance trigger but the result is not what it should be. The view is shown but not in the same way as you would see it when you properly navigate to it. The alignment is totally out of control.
    Any ideas, suggestions, are mostly appreciated.
    Kris

    Steve,
    To maybe make things a bit more strange then they're already.
      GO_ITEM('DEELNEMERS.DROOMPLOEG'); -- Item in stacked canvas
      SYNCHRONIZE;
      PAUSE;
      GO_ITEM('DEELNEMERS.CODE'); -- First item (on primary canvas)It works with above code but not without the pause.
    I'm really confused here :-),
    Kris

  • Stacked canvas view placed on the content canvas

    Hi to all,
    i am developed a one form ,i.e placed the stacked canvas view on the content convas.
    i create a two data block's with same table.
    one data block for content canvas and one for stacked canvas.
    in the content canvas i taken two fileds with scroll bar and remaining fields placed on the stacked canvas.
    these stacked canvas view put on the content canvas.it dispalying and
    executed succesfully.
    here i am getting one problem i am displying the 10 records at a time in both canvases.my requirment is placed on the
    cursor on the content canvas particular record scroll down then automatically show the same record details in stacked canvas and
    content canvas scroll bar is changed automatically stacked canvas scroll bar is changed.
    any one help me.........

    {quotei create a two data block's with same table.
    one data block for content canvas and one for stacked canvas.{quote}
    This is not necessary. Just create one data block and then assign the block items to your Content and Stacked canvases. You can display items in a data block on different canvases. By doing this, there is no need to write code to synchronize the records because they are part of the same data block so they will automatically scroll as you navigate through your records.
    Craig...

  • How to  show additional items in the same window using stacked canvas

    How to show additional items in the same window using stacked canvas.
    My content canvas has 14 items, and I have to include more.
    I want to know how I can use a stacked canvas to show these additional items in the same window, so that I can scroll through horzontally , as if all the items are on one canvas.

    Well, I intially navigate into my content canvas. At this stage the stacked canvas is not visible, then how should I navigate to an item on the stacked canvas to make it visible?

  • How to remove the black line from a stacked canvas at run time???

    Hi All,
    I've developed a stacked canvas within a content canvas, when I run the form the stacked canvas apeared with a black line takes it.
    How to remove this line or how to disappear this line at run time??
    I tried to do this by putting (no line) in tools palette to the line color tool after selecting the black line one and after selecting the stacked canvas another once, but this did not resolve the problem!
    I need something else:
    I put the stacked canvas at detail data block and it didn't appear since I execute query in master data block
    How to appear the stacked canvas directly before executing query in master data block???

    Hi,
    u mean the border line? In stacked canvas property, select contour/outline and set it to none.
    Make sure, the stacked canvas is behind the content canvas in the objectnavigator. Then check your
    properties of the stacked canvas:
    - Position on content canvas
    - size
    - size of clipping
    Set stacked canvas property automatic visible to yes.
    Make sure the stacked canvas is not overlayed by other stacked canvas or items.
    Attackwave

  • Stacked canvas

    Hi
    I have a screen where part of the block is in a 'fixed' content canvas and part is in a stacked canvas which is scrollable. Initially, both canvases are displayed and I can scroll backwards and forwards in the stacked canvas. However, when I select one of the fields that is outside the stacked canvas the stacked canvas disappears. Is there anyway of pinning the stacked canvas so that it is visible all the time.
    Thanks

    Hi
    What i understand when your naviagation is on contact canvas item then stack canvas disappear.
    it is so simple just click on the border of stack canvas and drag the stack canvas away from the items of contant canvas. it may possible your stack canvas is over the any item of contant canvas
    Regards

  • Stacked canvas behaviour 6i c/s

    hi,
    My form has two canvases.
    1. content in own window
    2. stacked content in own window( which is only 5 cm by 5cm wide and does not cover content when called.
    COntent canvas and window are maximised in when-new-form-ins trig.
    The problem i am getting is when I call stacked can in its own window from content can via button my content canv
    resizes itself enough so that scroll bars appear.
    So that when i exit stacked can i have to maximise the content to such a state as when I first run the form.( all coded in when-new-form-ins) i.e dbl click on win title bar.
    Does anyone know if this is default functionality or is there something I need to set ?
    thanks.
    n

    hi tony
    sorry for not making it very clear...
    So you want to Press a button, go to a stacked canvas, pause and accept input on that canvas, then proceed to do some calculations, and all of this on >one button?what you understood up to the bold marked area is correct. after getting the input in stacked canvas the user press a back button there to hide and come out. The calculations are on the content canvas button itself...( which is used to display the stacked canvas)
    Kris

  • Problem with Stacked Canvas

    Hi,
    I have prepared a stacked canvas on a content canvas.
    Both content and stacked canvas are based on the same data block. In the data block 2 items are on content canvas and the remaining are on stacked canvas. I have also a scroll bar on the content canvas so that we can scroll to the right as there are many items on it.
    so 1st and 2nd fields are on the content canvas and remaining ones are on stacked canvas.when i tab out of the 1st field stacked canvas goes invisible, but when i tab out of the 2nd field stacked canvas again comes back.
    How can i avoid this?
    I want the stacked canvas always to be displayed when i tab out from any where.
    One more problem is, when i click on the 2nd field the stacked canvas goes invisible too
    Your suggestions are greatly appreciated.
    Thanks
    Sandeep

    Check if the second item overlaps the area of the stacked canvas. Forms always makes the current item be displayed fully and therefore hides all areas which would overlap the item.

  • Hi stacked canvas blinking...

    Hi
    I am using oracle form 6i
    Actually i have two canvases
    1.content
    2.stack canvas
    In contend canvas i have a button when button pressed trigger
    show_view('canvas_transaction');
    when i pressed the button
    its blinging and not visible for long time...
    Thank u...

    u3 wrote:
    I appreciate the overlap issue and mentioned it in my first response, and I expect that changing the size or positon of the item or canvas is the most appropriate solution. Without knowing the full requirements I left an incomplete response, thinking that a dialogue would get the problem fixed. I don't think it's right to suggest navigating to the canvas as the only solution, omitting other possible solutions. My first response could have been better though.
    I never suggested that navigation to the canvas is The Only Solution I have always said and in many posts that: "+Beauty of Oracle is that you can reach the same result in 100s and 1000s of ways+" You can have 100s solutions for the same problem.
    No one is omitting any other solutions, You mentioned the overlapping issue in your first post asking the OP if that was the case, I merely explained to the OP why that happens, assuming if the OP knew about the overlapping issue, he/she would have solved the problem, and my second post was in response on your comments.
    It is not a must to navigate to an item that resides on the stacked canvas, but it's a good way to solve the overlapping issue in this case.
    Tony
    Edited by: Tony Garabedian on Sep 8, 2008 3:02 PM

  • BOSSY STACKED CANVAS

    I have a simple form with two canvases, one content and one stacked.
    When I run the form, the stocked canvas always displays first despite having the property 'display on entry' set to 'no'.
    I have only encountered this problem having converted the form from version 4.5 to version 6i! It worked fine in version 4.5!
    What am I missing??

    Maybe, while opening your form, you're navigating to an item on the stacked canvas as first action (or you have no navigable item on the content)...
    Check out what happens using hide_view/show_view built-ins.
    Bye Marco

  • 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

  • Stacked Canvas question in Forms [32 Bit] Version 10.1.2.3.0 (Production)

    Hi Friends, I am not sure if my explanation will suffice for resolution to this easy problem that is causing me so much grief.
    I have a form with one content canvas ROOT_CNV, One tab canvas TAB_CNV with two tab pages and One STACK Canvas Stack_CNV.
    All these canvases are on one Window ROOT_WINDOW.
    The tab canvas (TAB_CNV) is tabular in nature.
    There is a menu button that you can press that switches one record in the tab canvas and place this record in the stack_cnv. All the fields on the stack_cnv are mirror_image of the Tab canvas record that is the items are synchronised.
    NOW THE PROBLEM. When you press the switch button and you are in the stack canvas and you try to query any record, the form will take you back to the tab canvas and the fields will freezes, there are lots of forms here with this functionality that woks, but I cannot figure out while this particular one is behaving lke this.
    I have made the Stack canvas smaller, however, the issue is till the same, I think it has to do with the stacking order and I had already rearrange this to know avail, any suggestion will be appreciated.
    Thank you.
    Tab canvas
    Page 1        Page 2
    *===== ========*
    record     proj              sub         Status
    *1 A 1 ACTIVE*
    *2 B 1 PENDING*
    *3 C 1 ACTIVE*
    *4 C 2 ACTIVE*
    Click on the Menu Icon on record 1, then the stack canvas shows up (Stack_CNV) in a form Format
    **STACK_CNV* Page1 Page2*
    *===== =======*
    Prog:       A                Sub  : 1
    Status :   ACTIVE
    The tab pages still shows up on the stack canvas which is okay, however, when you try to query from the stack canvas, it takes you back to the tab canvas and everything freezes. Both canvas are on Root_cnv content canvas.

    Hi Ade2
    Pls Create a KEY-ENTQRY trigger at the form level add the following code :
    GO_BLOCK('dept');
    CLEAR_BLOCK(no_commit);
    ENTER_QUERY;Hope this helps...
    Regards,
    Amatu Allah

  • Simple Problem with Stacked Canvas, I hope

    Hello all,
    I am become a bit frustrated with what I thought would be a simple form development solution. I am trying to create a form with a stacked canvas that will display about 20 fields that can be scrolled through. This is the detail
    Total of 25 fields
    5 Fields on the content canvas
    20 Fields on the stacked canvas
    I created the first canvas that originally contained all 25 fields. Then I created the stacked canvas and moved the appropriate fields to the stacked canvas. Using the forms builder editor, I positioned my stacked canvas as such so that it would not overlap the last field on the content canvas or visa versa. This is a form being developed for Oracle EBus. Whenever I run the form in the apps, the stacked canvas is not visible. It only becomes visible when the 1st field on the canvas has focus. When the stacked canvas becomes visible, it shows all of the items of the stacked canvas and not just the ones that I included in the viewpoint. Once I tab through the last field of the stacked canvas, it goes back to the first field on the content canvas and the stacked canvas disappears. At this point I am not doing anything complicated, but for whatever reason this just is NOT working. Any advice anyone can provide, I would very much appreciate it. This is VERY frustrating.
    Thank you in advance.

    Step No. 1
    Set the STACKED CANVAS's property VIEWPORT WIDTH AND VIEWPORT HEIGHT
    This property determines what viewable width and height of the stacked canvas at runtime.
    Set SHOW HORIZONTAL SCROLL BAR or SHOW VERTICAL SCROLL BAR or BOTH as YES so that you can scroll down to view all the items in the CANVAS.
    Step NO.2
    In your WHEN-NEW-FORM-INSTANCE trigger, write the code to make the canvas visible
    SHOW_VIEW('stack_canvas_name');

  • Display employees details in the stacked canvas from the content canvas

    Hi all,
           I want to display employees details in the stacked canvas from the content canvas,where i passed the empno & click on the find button , i have 2 blocks(emp,control), in control block only find button there, I have only one table i.e;emp
    BEGIN
        GO_BLOCK('EMP');
        Set_block_property('EMP', default_where, 'Empno = :EMP.EMPNO');
         Show_view('EMP_DET_CAN');
        execute_query;
    END;
    Thank You

    Hi Andreas Wieden,
    Andreas Weiden wrote:
    When you query on the EMP-block, yiou cannot include a WHERE-condition to that block as the block is cleared when the EXECUTE_QUERY starts. If you want to have a different find-block where you enter your search-condition, you have to include that item in your separate find-block. Otherwise use the standard-search-mechanism with ENTER_QUERY and EXECUTE_QUERY.
    You are right, so where clause is not possible in the same block, right?.I have to take empno column where it is a search column into the control block right?
    Please suggest me i want to retrieve records into the stacked canvas when i pass the empno & click on the find button in the content canvas? Is this not possible? If possible please let me know? I mean i want to take the search column in the EMP Block & find button in the control block..
    Thank You

Maybe you are looking for

  • 30-pin adapter iPhone 4 to 6 Lightning

    I'm looking for a 30-pin adapter iPhone 4 to the new iPhone 6 Lightning . As I have a new iPhone 6 instead of iPhone 4 . Made by Apple . Any advice will be appreciated Thanks

  • Syntax error after applying NOTE 2028544

    Hello Experts, We implemented Fiori My Timesheet application and it was working fine except while saving the time data from Fiori we were getting short dump saying conversion error (found during debugging) as mentioned in below screenshot. To overcom

  • How to transfer data in table to excel sheet

    In my vi,on button click i am adding new entries in table,now i want 1. when i press a button to write data in table, same time my data (set of data(i have 7 columns))must upend to excel sheet help me to slove my problem

  • Finder keeps asking for password verification

    Finder keeps asking for password verification when I ask to move or delete a file. How can I stop this from happening? Thanks in advance.

  • Getting an Object Identifier String given a line of source code? HELP!

    (forgot to close the code tag on that last one!) Hi there, I am in desparate need of getting the object identifier given a particular line of source code. I need this for the debugger I'm writing, and since the jdb forum never gets reponses; just mor