Show stacked canvas on Save

HI,
I have a requirement as below.
On click of Oracle forms default Save button, I should show a stacked canvas to the user to enter some values and then press save button in that canvas to commit all the changes in the form.
Any idea how to implement this?
Thanks & Regds,
Nandakumar

Well, let me put it in this way. I have a screen where the user enters some data first time. Next the user queries the data and does some changes, this time I want to capture the details of why this change was made. So I have to show a pop window by using stacked canvas and ask the user to enter the log details before committing the form.
So that's why I want to override the default save button and call this stacked view and then after entering the data, press save button on the stacked canvas screen itself.
Regds,
Nandakumar

Similar Messages

  • Show stacked canvas

    Hi,
    I have two canvas(1:content ,2:stacked) ,i used when-button-pressed trigger to show the stacked canvas using "show_view('canv_stacked');"
    but the stacked canvas is not displayed !!!!
    I think the problem is of dimension at the canvas stacked ..

    979155 wrote:
    the problem is on the "visible" property.
    explanation:
    I have 2 buttons 1: EMP(visible), 2: Insert(not visible).
    1:EMP has when-button-pressed trigger :set_item_property('insert',visible,property_true);
    2:Insert has when-boutton-pressed trigger :go_item('id'); show_view('canv_stacked');
    => the stacked canvas is not displayed, but when I change from the palette button "insert" and make it visible, the canvas will be displayed
    why !!Because you need to setup two more property to TRUE.
    Try this... at EMP button
    set_item_property('insert',VISIBLE,PROPERTY_TRUE);
    set_item_property('insert',ENABLED,PROPERTY_TRUE);
    set_item_property('insert',NAVIGABLE,PROPERTY_TRUE);Hope this works..
    Hamid
    If solution is correct mark it.

  • 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

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

  • Show Content and Stacked canvas?

    Hello to all,
    I have a very simple form:
    - 1 datablock
    - 1 window
    - 2 canvas: the main (content) and a stacked one with all the items.
    - I want to have a multirecord view.
    As I have lots of items... and I need to show all of them in a specific format (all in the same line), I need to add an horizontal bar. That's why I added the stacked canvas to my form.
    In my block properties I've added a vertical scrollbar (it's the only item in the main canvas)...
    The idea is to show in the same window the horizontal and vertical scrollbars...
    but.. I don't know why.. when I run the form I only see the stacked canvas with the items...
    Any idea?
    I'm sure it's an easy question.. but.. :-P
    Thanks.

    hi
    try something like this.
    GO_BOCK('BLOCK.ITEM_NAME');
    HIDE_CANVAS('CANVAS_NAME');
    SHOW_CANVAS('CANVAS_NAME');sarah

  • Stacked Canvas issue

    1st issue:-
    I have created 3 pages layout under same .fmb
    Out of those , page1 I have made in content canvas & 2 layout(Say page2 & page3) I have made in two different stack canvas.Page1 contain two text field- 1.NAME 2. PROFILE CODE.
    when user open it page1 (content canvas) & page2 (1st stack canvas) should show .For a specific value in PROFILE CODE (say JAPAN) profile code (page1+page3) should open.& for all other profile codes (page 1+page2) should remain,irrespective of whatever value in NAME.
    Please tell me how can I do this??
    1. Please help me with a sample code & also where (in which trigger) I should write the condition.
    2. What all changes are required in property palette?
    3. will both the canvas will be on the same window?
    2nd issue:-
    I have tried
    In the Object Navigator, under the Canvases node, double-click the content canvas' object icon. In the Layout Editor, choose View | Stacked Views.
    and could see both the page1+page2 there from layout editor.
    BUT while I run it its showing only the page1(content canvas)
    Please help me out.....
    Thanks in advance..
    Edited by: 977083 on Dec 29, 2012 5:09 AM

    If I put it like this In WHEN-NEW-FORM-INSTANCE trigger check the PROFILE CODE and display the stacked canvas based on the value in PROFILE CODE---
    Then content canvas will be shown first(Page1) ,then user will select profile code, depending upon the profile code selected ,either page2 (stacked canvas) or page3(stacked canvas) will be shown.
    But I want whenever user opening the form ,page1 & page2 should show by default.then user will select profile code.if profile code is for page2 ,it should stay in that (default) page only.If profile code is for page3 then it will automatically go to page3 along with page1.

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

  • (another) stacked canvas on content canvas problem

    I've searched the forums for the last 2+ hours and can't find a solution for my problem, although there are hundreds of questions on this subject.
    I have a stacked canvas on top of a content canvas. The canvases share the same window. They also share a data block. I added radio buttons on the main canvas to "show/hide" the stacked (my ultimate goal is to have 2-3 stacked and toggle. When hide, the stacked canvas is hidden, but when i click show, it is not. I understand reading all the posts that the block with focus will display, and I've added both a go_block and go_item prior to the show_view. Below is my code. MEL_DETAILS is content and MEL_LINE_ITEM is stacked.
    IF :stack = 'SHOW_STACK' THEN
    GO_BLOCK('MEL_ITEM');
    GO_ITEM('MEL_ITEM.MIS_PROJECT_NO');
    SHOW_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', display_position, 718, 583);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_FALSE); -- radio button
    ELSif :stack = 'HIDE_STACK' THEN
    HIDE_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_TRUE);
    END IF;

    user12198246 wrote:
    I've searched the forums for the last 2+ hours and can't find a solution for my problem, although there are hundreds of questions on this subject.
    I have a stacked canvas on top of a content canvas. The canvases share the same window. They also share a data block. I added radio buttons on the main canvas to "show/hide" the stacked (my ultimate goal is to have 2-3 stacked and toggle. When hide, the stacked canvas is hidden, but when i click show, it is not. I understand reading all the posts that the block with focus will display, and I've added both a go_block and go_item prior to the show_view. Below is my code. MEL_DETAILS is content and MEL_LINE_ITEM is stacked.
    IF :stack = 'SHOW_STACK' THEN
    GO_BLOCK('MEL_ITEM');
    GO_ITEM('MEL_ITEM.MIS_PROJECT_NO');
    SHOW_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', display_position, 718, 583);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_FALSE); -- radio button
    ELSif :stack = 'HIDE_STACK' THEN
    HIDE_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_TRUE);
    END IF;Here, it seems two problem..
    The line..
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
    and
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);No needed
    Hope this helps
    Hamid

  • 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');

  • Scroll Bar on Stacked Canvas [Solved]

    Hi,
    I am trying to do the following. I have a form FORM A. Another form FORM B is called with a click of a button on FORM A. FORM B is having 2 blocks each on a stacked canvas. BLOCK 1 is master block and BLOCK 2 is detail block. Table on which BLOCK 2 is based on has 200 columns. Below is the property set for this block.
    1. Number of Records Displayed: 1
    2. Record Orientation: Vertical (To see 200 columns vertically).
    Now issue is that only 20 records (columns actually) are displayed in the viewport. And user has to tab out to go to next record (column).
    I want to put a vertical scroll bar here so that user can scroll down. I am not sure how to achieve this. Will scroll_view work in this case?
    Forms Version: 6i
    Thanks and Regards
    Amit Trivedi
    Never Mind got it working now.
    Edited by: ATrivedi on Jun 18, 2009 5:06 PM

    Set the Block2 canvas property
    Show vertical Scrollbar -- yes
    Please mark helpful/correct
    kanish

  • Calling values to a Stacked Canvas

    Is there a way to pull information from different tables onto a stacked canvas? I want to be able to call this canvas from an Order form to check on the payment history of customers. I would like to grey out (disable) the text items I create on the stacked canvas so that it appears like text are directly written on the stacked canvas.

    Here's another option...
    Instead of the Control block that duplicates the items that you want to show on the stacked canvas, you can just duplicate the item in whatever block it is in. Give the item a different name, set the "Synchronize With Item" property to the actual item, make the new item a non-database item, and set the new item's canvas to your stacked canvas. Then you do need any code to copy the values. It will always be synchronized with the original item.
    It isn't that much different, but you don't have the side effect of changing blocks when you navigate to the item on the stacked canvas.

  • Tab canvas disappear when the main stacked canvas reach the end of column

    Hi all,
    I have 3 canvas ( 1 main canvas, 1 stacked canvas ) and this link to 1 tab canvas. All these are in the same window.
    Whenever using the keyboard to press enter navigate from column to column and when it reach the end of the main canvas which is about to jump to the stack canvas, the two canvas ( stacked & tab ) was hide by itself. Even I have stated earlier to show all canvas in the pre-block trigger. when I keep on press the enter to jump to the next stacked canvas, this stacked canvas is being shown again. My tab canvas was not appear if I am press the enter key. However, if I press the arrow key down the tab canvas is appear. This I wasn't do any code to call the tab canvas.
    When I keep on press enter and reach the end of the stacked canvas again the tab canvas is disappear, unless I have press the arrow key down to display the tab canvas.
    Trying to use show_view( tab canvas ) in many trigger but still does not show the effect.
    Anyone has this experience before ?
    Thanks.
    Lim

    Hi Lim
    Pls check this hope it helps u to recognize dealing with muti-canvas in 1 window...
    how to use stack canvas in tab canvas in oracle forms
    Regards,
    Amatu Allah.
    Edited by: Amatu Allah on Sep 22, 2011 2:23 AM

  • Stacked canvas is overlapping the content canvas

    Hi all,
    I am writing a program where I have one content canvas and a button to display the stacked canvas on button click. But when I run the form, 'only' the stacked canvas is showing-up even though I have hidden the stacked canvas in the on-new-form trigger.
    Can anybody please shed some light.
    Thanks,
    Naren.

    Hi,
    Assuming you have two or more datablocks:
    On the object navigator, move up (drag-drop) the datablock shown on the main canvas, so it apeears first.
    OR
    Open the Forms properties and set property: "First navigation data block"
    Regards,
    Hugo.

  • Stacked canvas with horizontal scrollbar

    Hi,
    In a forms module I want to show a stacked canvas with a horizontal scrollbar. I have set the generator preference POPHSB on every level to yes, but the stacked canvas is still generated without scrollbar. In the Designer help topic "Generated stacked canvas properties" it is stated that the properties horizontal/vertical scrollbar is derived from the object library. But how can I set in Designer the name of an object library object for a stacked canvas? I don't want to override the object CGSO$CANVAS_POPUP because I also have other stacked canvases that doesn't need scrollbars.
    Regards,
    Vincent Botteman

    Hi,
    This is what I just have found: you must indeed create a new canvas object in the object library and then enter the name of the new canvas object in the property "Placement Template/Library Obj" of the first Module component on that canvas! Apparently, you can change the canvas by means of the first Module Component on that canvas.
    Regards,
    Vincent Botteman

Maybe you are looking for