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.

Similar Messages

  • Calling content canvas with stacked canvas

    Hi.
    i have a content canvas in that i have a linked stacked canvas...
    from some other screen if i call content canvas by show_view('Content canvas') i am only getting the content canvas. but i am not getting the linked stacked canvas. weather it is correct ,or not . if i want to see the stacked canvas on content canvas ,i nee to call the stacked canvas too?.
    please clearify me..
    thanks in advance.
    vijay.

    Normally, it is not required to explicitely call a show_view on a stacked canvas.
    In Object Navigator, assure that the stacked canvas (in terms of a sequence) is below the content canvas.
    If the stacked canvas is still not shown issue a GO_BLOCK() and / or GO_ITEM() e.g. in the WHEN-NEW-FORM-INSTANCE Trigger
    to the block having at least on item on the stacked canvas to be displayed.
    In doing so, you must assure that at least one item on the block (having the stacked canvas assigned) is able to receive
    the focus (is enabled and it might be required to set the keyboard navigable property (not sure about that)).
    Due to the internal navigation of oracle forms, the canvas should get displayed when an item on the canvas receives the focus

  • Calling stacked canvas

    hi everyone,
    currently i am working in oracle forms ( 6i ). how to call the stacked canvas through coding when the radio button is clicked.

    Show_View is not allways a good workaround.
    As i said, the displayed canvas is the one that include item which have the focus.
    Show_View will do nothing if you want to display a stacked canvas which is behind another one that get item focus.
    Francois

  • 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

  • Validation vs Stack canvas on tab page

    Hi,
    I have a problem about how to show/hide view when validation was triggered.
    My situation is:
    - I have a 3 pages tab-page. On the first tab, I have a stack canvas. I have codes to show the canvas at When-new-form-instance and show/hide the view at When-Tab-page-change.
    Problem:
    - I click on the third page and enter something wrong values on a field and then I didn't go to another field, click the first page directly.
    The oracle form shows the first tab without the stack canvas and the error message popup at the same time.
    - We have a backend procedure which is used to give the error include the Raise form_trigger_failure. When the validation is fail, this procedure will be called to give the error message. It is a standard procedure so we must use it.
    - I tried to Show_view before or after the error message, but it cannot help.
    Question:
    Is there any method to help this problem? Thanks for advance..
    I am using Forms10g.
    Regards.

    Another solution without a timer :  You can use the WHEN-TAB-PAGE-CHANGED-Trigger to handle the change of a tabpage.  And here, before you navigate to another tabpage, you can use the built-in ENTER to start the validation before the next tabpage is displayed.+When-tab-page-changed runs AFTER the tab page has switched. If you run validation from it, you will need to check if the validation failed, and then go back to the prior tab page.
    Also, the Validate built-in is a better method to cause validation to occur.

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

  • Display stacked canvas on tab canvas page

    Hi,
    I am using Forms 10g. I have Content canvas named CANVAS1. I created a tab canvas called TAB_CAN contains TAB_PAGE1 and TAB_PAGE2, Stacked Canvas called STACK1.
    If if create tab canvas on content canvas thourhg labout editor. It's display well when forms run. But, i have created manually.
    1. How to display tab canvas programatically.
    2. How to display stacked canvas on TAB_PAGE1
    Regards,
    Murali

    Looks like you are in the wrong forum.
    Please post this in the [Forms forum|http://forums.oracle.com/forums/forum.jspa?forumID=82]
    Timo

  • 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

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

  • Stacked canvas appearing over content canvas by default

    Hi Guys,
    I have a Main content canvas and a stacked canvas. Both are having common single window attached to them window type is Document.
    When I launch this form then main content canvas is displayed but with stacked canvas on top of it.
    Control is in main content canvas but stacked canvas is over main content canvas.
    This stacked canvas should appear after some action like list change or button push which are on main content canvas.
    I have checked there is no go_item call for any objects on this stacked canvas.
    I have tried with commenting the code which shows canvas (show_view), still the stacked canvas appears on top of content canvas.
    Can anyone guide me on this?
    Thanks,
    Av.

    change the visible property of stack canvas to no and
    when u want to display that canvas,,
    use GO_ITEM(to send to any item in stack canvas)...
    and to hide use HIDE_VIEW('your canvas name');
    and be sure when u running the form, your cursor wont go to stack canvas items... because when the cursor goes there, the canvas will appear..
    -- Aamir...

  • Stacked Canvas distrubing the fields

    hi
    i have a form with search button,when i press this button to display the list of value(LOV),it distrub the all labels and text fields on the form.when i complete my searching process then all labels and text fields come back at its original position.i try my level best to overcome this problem by changing the Canvas type.
    firstaly i was used Stacked Canvas coz i need horizantal and vertical on my form,if i keep canvvas type content instead of satck then this canvas did not distrub all labels and fields,but it did not facilitate me with horizantal and vetical scrollbar and this scrollbar are my essentail requirement coz i have much of fiels to disply on form.
    plz let me know rightly what should i do to overcome this problem.
    thanks in advance
    Best Regards.
    Edited by: shahani110 on Sep 7, 2008 8:10 PM

    I think that we can help you if you give us some pieces of your code.
    What you mean when you say "i have a form with search button,when i press this button to display
    the list of value(LOV),it distrub the all labels and text fields on the
    form"
    for distrub all labels?
    Fabrizio

  • Stacked canvas Issues when on the web

    I have a stacked canvas whose Viewport_X_Pos is set to some values other than 0. When the canvas is run on the web, however, the canvas is pushed to the right by same amount to the left cutting the canvas. Is This a bug and if yes, is there any better work around than pushing the items in the canvas to the left to compensate? Note that the canvas behaves nice when on a client/server.

    We also encountered this problem!
    Sometimes we managed to fix it taking care that the stacked canvas not to interfere/overlap with any other object on the content(other stacked canvas, an item, a graphical object etc.) that hosts it.
    Sometimes we could not fix it.
    Hope this helps,
    A.

  • Tab-Canvas and Stacked-Canvas (Forms 5.0)

    Is it possible to design a tab canvas that contains stacked-canvas? I can't create it!

    Yes - it is possible to design a tab canvas that contains stacked-canvas. Create a separate canvas with its own block and you can call go_block and the canvas/block will show. You can also call show_view but the canvas you call must be of the type stacked. (aside - a tab canvas seems to automatically act like a stacked canvas). I have used a canvas w/block that sits at the top of the screen by setting it to be only 60 points tall (and it is the first block in the list) then in a when-new-form-instance trigger I call show_view('tab canvas name') and have its viewport begin at 60, therefore the tab canvas fits right under the header canvas. You can then leave this to call other canvases/blocks and return and set up the same situation again. Sometimes I have gotten strange results where no matter what I do it will not show the tab canvas - at this point usually you recreate what won't show and it will then work.
    good luck.

Maybe you are looking for

  • Using Group By or Rollup

    I have 5 rows in the table t. Id Name Dept Sal 1 AA 10 300 2 BB 10 400 3 CC 20 200 4 DD 20 400 5 EE 30 900 How do I write my SQL Query to get the following output with subtotals & Grand Total? Id Name Dept Sal 1 AA 10 300 2 BB 10 400 3 CC 20 200 4 DD

  • Insert current time

    How to insert current date and time in a table. i tried it as: 1) Create table tt ( dt date ); 2) insert into tt values(to_date(sysdate,'DD-MON-YY hh:mi:ss am'); 3) select * from tt; then it shows as 27-FEB-06 12:00:00 AM ---- but current time was 8:

  • Problem with Showing Next Button in Advanced Action

    I'm having problem using advanced actions (using Captivate 5.5) to show the next button after the user clicks three other buttons on the page.  I followed the directions here: http://blogs.adobe.com/captivate/2011/11/enabling-forced-navigation-for-yo

  • Issue with Dictionary CBS Build - CE 7.1

    Hi, We have NWDI setup on 2004s SP13 where we have created a track for CE 7.1 Development. We are facing issue with Dictionary Project Activation.Can anyone let me know how do we fix this : [ddgen] [Info]    Initialize generation templates from confi

  • Reporting on OGG Processing

    Hi Golden Gate gurus, i have a simple idea of collecting the number of processed records of Extract and Replicat into a Table on hourly basis, does anybody thought of collecting some stats like that? If so any inputs on how we can acheive it? Are the