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.

Similar Messages

  • How to build stacked canvas on tab canvas page

    I'm a beginner for oracle d6i. Please tell me
    how to build stacked canvas on tab canvas page for
    details. I need horizonal scrollbar on tab canvas.
    Thanks in advance.

    Thank you for your reply. In general, i really put stacked canvas onto the tab canvas, However i saw one solution of john.williamson in this forums (re:Silent Client Installation He didn't provide it
    for details to put stacked canvas onto the tab canvas' page.

  • Scrollable stacked canvases on tab pages

    I am in the design phase of a project and I have been building some 'mock-up'screens for the user to review. I have been trying to build a form which has a scrollable canvas stacked on a tab page.
    This works fine, however there is a dynamic element to the page which is controlled by selection of a radio button, which displays another stacked canvas on top of the first one.
    This all works well and good, until you try and scroll the first stacked canvas by its scroll bar. The content of the stacked canvas scrolls ok, but the second stacked canvas remains in situ and doesn't move.
    I have trawled all the online documentation and both the Metalink and Technet fora, but can't find any guidance on this.
    Am I trying to acheive something which Forms 6i can't do, or is there a bug, or am I missing something?
    For your information here is what I'm running:
    Forms: 6.0.8.8.0
    WinNT: 4.0 SP5
    RDBMS: 8.1.6.0
    Here's a schematic of the form I'm trying to build....
    | Content Canvas !
    -------------+ !
    ! tab1 ! tab2 ! !
    !------+ +------------------------------!
    ! ! Stacked canvas (scrollable) ^ ! !
    ! ! Radio Group (o) ( ) # ! !
    ! ! ! Stacked canvas (dynamic) ! # ! !
    ! ! ! Hidden or Displayed depending ! # ! !
    ! ! ! on above radio buttons. ! # ! !
    ! ! V ! !
    Thanks in advance,
    John G. Williamson

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by carusab ():
    I think a stacked canvas "stays put",
    a stacked canvas has no relation to
    another canvas so it will not "know" that
    its "parent" canvas has moved.
    I wish there were a WHEN-SCROLLBAR-* trigger
    and that scrollbars would be objects of
    their own... maybe in Forms7?
    /Charles<HR></BLOCKQUOTE>
    I suspect you're correct. I am going to have to something long-winded with 'set_item_property'. As you say, let's hope Forms 7 can cope with this.
    Many thanks,
    John
    null

  • Urgent: Stack Canvas in Tab canvas

    Hi,
    I have a very urgent requirement. Please help me solving this.
    I want to have One tab canvas which has three tab pages.
    On the First Tab i want to fetch the data from some table say XX_CUSTOM_TABLE.
    Now, This should be displayed in Tabular format with Horizontal and vertical scrolling as the table has many columns.
    Please give me step by step instructions so that it could be implemented quickly.
    P.S : I am using Oracle forms 6i.
    Thanks in advance,
    Yadnesh

    Hi,
    1. When i open the form only the fields added in the tab canvas are visible.
    Where u have drawn the stack canvas,you need to create in the main canvas where ur tab canvas is there and u need to drag it to tab canvas.Have u created the trigger when tab_page_changed?
    2. when i change the tab page from tab 1 to tab 2 and then again get back to tab 1, then the stack canvas fields are visible and the fields in tab gets invisible.
    Just place the stack canvas correctly after the fields in tab page 1.
    3. The stack canvas is not horizontally scrolling.
    Just go to the property palette of stack canvas and make yes to both horizontal and vertical to yes.
    Do i have to create a stack canvas separately? and then how do i drag it into tab canvas. i am still not getting this. because.
    when i open the tab canvas page i do not find the stack layout so that i can drag it like a normal text item.
    Yes u need to create a stack canvas separately. Just open the Mani canvas the tab pages are there, then in that click the stack canvas icon and create a stack canvas and create all the fields, and move the stack canvas to the tab page. And u need to create a when tab page changed trigger at form level.
    Regards
    Sri

  • 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 on tab canvas

    Hi,
    I want to show a stacked canvas on a tabbed canvas. on stacked canvas, there are many fields that cannot be put on tabbed canvas and i must have to put these on stacked canvas with scrollbar.
    How can i put that stacked canvas on tabbed canvas?
    Regards,
    Qasim

    Hello,
    When the Layout is open, just add the stacked canvas by selecting it in the tool bar and drawing its bounds onto the tab canvas.
    Francois

  • How to use stack canvas in tab canvas in oracle forms

    hi all,
    how to use stack canvas in tab canvas in oracle forms. please if any one help out in this.

    Hi
    u can simply create a button in ur tab canvas in this button pls write the following as an example...
    SHOW_VIEW('STACKED_CANVAS');
    GO_ITEM ('SAL'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    HIDE_VIEW('TAB_CANVAS');In order to return back to ur tab_canvas pls create a button in this button pls write the following...
    HIDE_VIEW('STACKED_CANVAS');
    SHOW_VIEW('TAB_CANVAS');
    GO_BLOCK('EMP');
    GO_ITEM ('EMPNO'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    Hope this helps...
    Regards,
    Abdetu...

  • Move Field from Stacked Canvas to Tab Canvas

    Forms R2 10.1.2.0.2. Adding tab canvas to an existing form and want to retrofit a tab canvas into the form. When I move an existing field via the property sheet by changing Canvas and Tab page to Page, the field does not show. I can create a new field on the tab canvas with no problem. Is there a trick here that I am missing?

    I figured it out. You have to reset the X & Y position with an offset of the 0,0 position. The Tab Canvas has it own Grid separate from the Main Canvas, which starts at 0,0. I should have seen it before creating this post.

  • 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

  • Calling stacked canvases from tab pages

    Hi,
    I am creating custom forms from TEMPLATE.fmb in Forms Developer 6i. The main form has various tab pages on a tab canvas for different functionalities. Now, I have some very large stacked canvases which I want to be called by clicking on a tab. Most of the tab pages fit in the given dimensions for the tab canvas but the bigger ones are a problem. Please help me in trying to link those canvases with the tabs on the canvas.
    Thanks.
    [email protected]

    Use When-Tab-Page-Changed trigger.
    If :SYSTEM.TAB_NEW_PAGE = 'TAB1'
    then
    show_view('view_on_tab1');
    elsif :SYSTEM.TAB_NEW_PAGE = 'TAB2'
    then
    show_view('view_on_tab2');
    end if;

  • Stacked canvas on tabbed

    Hi ,
    I want to put up a stacked canvas on to a tabbed one. Read somewhere its not possible ... but the way around would be to make the content canvas tabbed. how does one do that?
    Thanks

    Putting a stacked canvas on a tabbed one is possible, making a content canvas tabbed is not.
    The idea is that you show or hide the stacked canvases depending on what tab is showing, or if you want a stacked canvas to be visible on all tabs then just create it in the canvas editor window, as a stacked canvas on the main content canvas, and set the x/y coordinates so that it displays in the same location as the tab canvas.

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

  • Tab Canvas on a STACKED Canvas?

    Is it possible to have a tab canvas ON (IN) a stacked canvas? Or can a tab canvas ONLY be placed on a content canvas?
    Thanks!

    Hi,
    Can you tell the requirement clearly, whether you need to create a tab canvas on stacked canvas, a tab canvas in stacked canvas.
    1.Stack Canvas in Tab canvas
    First you need to create a tab canvas in the content canvas then you need to create a stack canvas on the content canvas, then you need to align it properly.
    Refer this link
    http://startapps.blogspot.in/2009/12/how-to-place-stacked-canvas-in-tab-page.html
    Thanks & regards
    Srikkanth

  • How to change content/stacked canvases to tab canvas

    Hi,
    I have created a form which has one content canvas and multiple stacked canvases. The content canvas displays the first page and then we hv to click on next to go to the next stacked canvas and so on. I want to try making it in tabs (tab canvas) and then I will decide which one looks better and performs good.
    Can you guys please give me a detailed instruction on how to convert my content and stacked canvases to tab canvases. I have never done tab canvas. I tried one, I changed one of my present stacked canvas to tab but all the fields and texts were gone and there were just two tabs in it.
    Please suggest. Thanks in advance.

    Might get a better response in the Forms forum...
    Forms

  • Tab canva disapear whith stacked canvas

    hi guys,
    in my form there is:
    1. content canvas
    2.tabbed canvas
    when i put a stacked canvas the tabbed canvas disapear. any help?

    stack canvas can not put on top of tab canvas.
    what I did is to put tab canvas on content canvas and make tab canvas height very short, and then put stack canvas right below tab canvas that look like it's on tab.

Maybe you are looking for

  • Third party sales order report

    Hi I got to prepare a report and the description is as follows: "Report for discount pricing conditions manually entered in third party sales orders." "Discount price reporting for manual pricing conditions in sales order processing (not in billing)"

  • Looking to create a scroll bar within a section of a webpage

    I think the best example of this is in the iTunes store i.e. you have a section of say, music, and you scroll left to right to see more. I'd appreciate any help with this, whether it be the proper coding techniques or pointing me in the right directi

  • Codec problem with Quicktime

    Hey everyone, Here is my problem: -I am shooting a movie on a Panasonic hx200: it's in 720p60 -I am using the FS-100 drive to record the media -When going to view the footage in Quicktime 7.5.5, I get a solid black screen with audio. Quicktime then a

  • HELP Ideapad u310 touch win 7

    Hi everybody i got this ideapad U310 touch brand new and it came with win 8, then after i bought it i installed a win 7, it was working fine but the windows was asking for a valid prodcut key, i tryed a couple and no luck , so i found another win 7 f

  • Screenshots opening very slowly

    i changed my settings so that my screenshots are now pdf's as opposed to the png garbage, but i have noticed they open very slowly. on my older macs, screenshots opened instantaneously almost, and now there is a few seconds of lag. anyone noticed thi