Tab canvas + post-forms-commit + form_trigger_failure

Hi all,
There is a tab canvas with eight tab pages in my forms.
In the post-forms-commit form-level trigger there are controls based on some conditions before executing the processes. When the conditions in the controls are not met then a stop alert is shown and form_trigger_failure is raised. All of these actions , that is the alert and form_trigger_failure , are contained inside a procedure named affiche_erreur.
The problem is that after pressing the alert button then forms goes to the first tab page. And the focus is on a non-navigable button ! Very strange !
I trapped the form_trigger_failure exception in post-forms-commit , but untill now I do not find any way how to put the focus in a specific item.
So how to put the focus into a specific item or a specific tab page ?
Thank you very much indeed

Mark , the when-tab-page-changed trigger does not fire after I pressed the alert button although the focus goes always to the non-navigable button in the first tab-page. I wrote a pause statement at the beginning of the when-tab-page-changed trigger but there was no pause alert at runtime.
Finally I created a timer in the exception of the post-forms-commit trigger which catches the form_trigger_failure exception , and in the when-timer-expired trigger I wrote go_item.

Similar Messages

  • Forms Personalization issue condition error in post-forms-commit.

    I am trying to personalize PERWSEAC form (i.e. Assignment costing form in HRMS).
    In the post-forms-commit, I added condition like this
    :SYSTEM.CURRENT_BLOCK = 'COST' AND 1=1, when validated it is working fine.
    And at runtime it throws error like this "The condition :SYSTEM.CURRENT_BLOCK = 'COST' AND 1=1 could not be evaluated because of error"
    If condition is changed to :SYSTEM.CURRENT_BLOCK = 'COST' it works fine.
    Please suggest what is going wrong, before it was working fine.

    Hello,
    This is the "standalone" Forms forum. Ask personnalization questions in the dedicated E-Busines Suite forum.
    Francois

  • FRM-40735: POST-FORMS-COMMIT ON TRANSFERING @ 11.5.2

    제품 : FIN_FA
    작성날짜 : 2006-05-30
    FRM-40735: POST-FORMS-COMMIT ON TRANSFERING @ 11.5.2
    =====================================================
    PURPOSE
    11.5.2 또는 11.5.3같은 Old Version의 Asset에서는
    Transfer를 Multiple하게 동시에 수행하게 될때는 FRM-40735에러가 나타납니다.
    Problem Description
    Workaround
    Transfer를 Line별로 한 라인씩 Transfer를 끝내고
    다시 나은 자산에 대해서 Transfer를 하시면 됩니다.
    Solution Description
    최신 버전으로 Upgrade하지 않고는 다른 Solution이 없습니다.
    라인별로 하나씩 Transfer를 하셔야 하십니다.
    Reference Documents
    SR5061389.992

    Please refer
         Inter Org Transfer Transactions Error with Cost_Trx ORA-01403 no data found [ID 1186016.1]
    that addresses the issue. THanks

  • Focus problem in TAB Canvas form

    Hi
    I am calling FormB from FormA by using
    CALL_form('FormB.FMX',NO_HIDE);
    But when I click on the any other field ( other than the first field in the called Form ), the screen is becoming blank, again I need to click on the Execute Query button, but after that I can click on any other field it wont go invisible.
    FormB has TAB canvas
    Oracle & Form Version Oracle 10g
    THanks in advance

    Hi,
    When I run the form directly also I am getting the same problem,
    Hi Tony,
    <<Define what's blank??? Errors???? >> means , I need to click on the execute query button to see the data, even to see the controls in the forms.
    As I said, i am calling this form from another form, and I am assign the values in the prequery, I am gettign the result propery, but when I click on any other control, the form become empty, I need to click on exec query to see the values and tex items etc.
    This form has one content canvas and one tab canvas.  What are the properies to set to place tab canvas on the content canvas.

  • Tab Canvas - Background Colour

    Hello,
    I'm building a form which has a tab canvas using Forms 6i. In my application Im using Oracle Look and Feel and the BLUE Colour Scheme. The background colour in the bar with the tabs is shown as grey, I would prefer it to be blue (that matching the shade of blue in colorScheme=Blue). I have tried setting the background colour of the tab canvas using the colour palette but am unable to find a matching shade of blue. Does anybody now the colour code to use?
    Thanks
    MATT

    Hello,
    I'm building a form which has a tab canvas using Forms 6i. In my application Im using Oracle Look and Feel and the BLUE Colour Scheme. The background colour in the bar with the tabs is shown as grey, I would prefer it to be blue (that matching the shade of blue in colorScheme=Blue). I have tried setting the background colour of the tab canvas using the colour palette but am unable to find a matching shade of blue. Does anybody now the colour code to use?
    Thanks
    MATT

  • Tab canvas error

    Dear All
    I am using forms 10g. I have a tabbed canvas and on that i have to create around 15 tabs.
    I have already created 10 tabs .
    Now if i try to add one more tab then when i run the form it is showing some error .
    Please check this error here :-
    http://photos.ibibo.com/albums/view/415782/8488558/error
    http://photos.ibibo.com/albums/view/415782/8488558/error
    What is this error ?
    Is there any limit for creating tab canvas in forms 10g ?

    Hi,
    I am breaking my head over this.
    I am still unable to solve this issue.
    ========The Requirement is as follows :===========
    When I select a Tab Page of a Tab canvas, I get a
    combo box with items in it. When I select an item from
    the combo box, based on the item selected, I am
    retrieveing the data from the database and displaying
    it in that Tab Page itself. This data is in a matrix
    format. i,e Has a number of rows and columns.
    Without a Horizontal and a Vertical Toolbar attached
    to the Tab Page I would be unable to view all the records
    that are displayed on that Tab Page.
    Any suggestions or examples is most welcome and
    appreciated.
    NOTE : ALso in what situations can we use a stacked
    canvas, if the designer does not allow me to
    use it with other canvases?.
    Thanks in advance
    Sharath.

  • Hide and show tab canvas

    Is it possible to disable all the tabs in a tab canvas in Forms 10g?
    I am developing a new form in Forms 10g. Problem is with hiding and showing tab canvases.
    I have a main canvas and a tab canvas.
    In the when-new-form-instance I need to hide the two tabs. I have a list item that has two values. Based on the value chosen in the list I need to show the tab canvas. How can I do it. I tried hide_view and show_view. It gives me an error FRM-41053. Cannot find canvas Invalid ID.
    Help is appreciated. Thaks in advance
    Anu

    If you are looking to hide individual tabs on a tabbed canvas, refer to SET_TAB_PAGE_PROPERTY
    http://www.oracle.com/webapps/online-help/forms/10g/topics/f1_help/builts/f50settppr.html

  • How to embed an applet on a tab canvas of a form

    Hi, I am using JDeveloper 10.1.2.3 and 10 g DB. I have a requirement where I have to allow users to digitally sign or authorize an application in oracle forms. We use Topaz systems to sign all our documents in java. Now users want this facility in their oracle forms applications as well. I have written a bean that allows users to sign. I called this java bean from forms on click of a button and an applet pops up where in user sign and on clicking save button the signature is sent back to the form. However, what i was hoping for was to have this applet embedded within a tabbed canvas of the form, so that it appears that the user is signing on the form. This will also be useful when I have to load the signature back to the form. I don't think a separate hanging applet will look good.
    Can anyone help me please.

    as you already have a bean, try to show the frame of the java-applet inside the bean-area. Maybe there is also a class in your java-program yo can call directly without having to work with the apllet itself. it would also be helpful if you could post the code for your java-bean.

  • Controlling focus in a Tab Canvas when a FORM_TRIGGER_FAILURE is raised

    Hello,
    I am currently working on a form that is using a Tab Canvas. The canvas has about 9 pages, and I am, at this moment, adding error handling functionality on the fifth page. My problem happens when a condition is met that raises a FORM_TRIGGER_FAILURE exception and the focus automatically goes to the first page of my canvas instead of staying on the fifth page. Is there anyway I can set the focus so that it remains on page 5 instead of going back to the front page?
    Thank you,
    Jojo

    I use tabs, and a FORM_TRIGGER_FAILURE will not by itself cause focus to move to the first tab. There is something happening in your form just prior to the FORM_TRIGGER_FAILURE that is placing focus to some item in the first tab (maybe you're calling a function or procedure that is doing it?). If you don't know, try running the debugger and trace through your code during runtime and see what is causing it.

  • Oracle Forms 10G(tabbed canvasses not working the same as in Forms 6i)

    Hi everyone,
    I have a form which gets called from another form through a list of value. The called form(second form) has a group of tabbed canvases which get displayed depending on the parameters passed from the first form.
    The Form is working prefectly fine in Forms 6i but when I converted the same form in to forms 10G it does not seem to work the same way. The tabbed canvasses are not getting displayed. I am manually having to press the execute query to get data displayed in the tabbed canvasses. I checked the parameters that are being passed and they are the same as that in Forms 6i.
    Please let me know where my 10G Form is going wrong. Appreciate your help, please send me an email on [email protected]
    Thanks

    duplicate
    Re: Oracle Forms 10G not working as Oracle Forms 6i

  • Forms 6i, Stacked & Tabbed Canvas- Wierd behaviour

    Hi,
    I am having a wierd problem:
    Scenario:
    I have a datablock of 40 columns.
    I put 1 (say col-1 on page_1 and col-21 on page_2) column each on two different TAB pages.
    I created 2 stacked canvases: page_1_stacked & page_2_stacked
    I put col-2 to col-10 on page_1_stacked
    and col-22 to col-40 on page_2_stacked
    I used the following code to show/hide the appropriate cols/stack canvases when the users changes Tab pages:
    [when-tab-page-changed
    if (:system.tab_new_page ='PAGE_1')
         then
         show_view('PAGE_1_STACKED');
         hide_view(''PAGE_2_STACKED'');
    elsif (:system.tab_new_page ='PAGE_2')
         then
         hide_view('PAGE_1_STACKED');
         show_view(''PAGE_2_STACKED'');
    end if;
    Problem:
    Everything seems to work fine, the stacked canvases show/hide as expected, but --->as soon as I put my cursor in any column on TABBED PAGE (here col-1 or col-21), all the stacked canvases vanish
    -->if as a result of above case where I put the cursor in a tabbed-page col and canvas vanished, I navigate to the next field (which is on canvas), the canvas shows up (which is normal)....but then this canvas wont get hidden with my hide view... and end up with all stacked canvases shown together or none at all
    I have played around with all the properties and am really trapped.
    Please help!
    Thanks.

    Devang, are you aware that if you put the cursor focus in a field, Forms will ignore any show_view or hide_view commands if they cause the cursor to disappear? And if your cursor focus is in a field in a stacked view, hide_view will not work. Forms will not let you hide or cover up what ever item is identified by :System.Cursor_Item.
    I do not know why you need Col_1 or col_21 on the tab canvas. Put them on your stacked canvasses, too.
    Use a when-new-item-instance block-level trigger to determine which tab page should be displayed. If :System.trigger_item = col_1 through col_20, make sure Page_1 is displayed, and for col_21 through col_40, make sure Page_2 is displayed.
    Similarly, use a when-tab-page-changed trigger to move the cursor to the correct canvas. You wouldn't even need to use show_view or hide_view, Forms will do that for you each time you move into an item on either canvas.
    And why are you using two canvases anyway? Since you are using a horizontal scrollbar, why not put them all on a single canvas? (And then you wouldn't need the tab pages.)

  • Forms 5 Tab Canvas & Horizontal Scrollbar

    We are trying to implement a tab canvas which will hold a multi-record data block. The difficulty is that we would like to display a lot of fields and there is no Horizontal Scrollbar easily available for the Tab Canvas.
    We are thinking about "simulating" a tab canvas by using stacked canvases. The stacked canvas allows us to have the scrollbar, but looses some of the look & feel of a tab canvas.
    Anyone try to do this in Forms 5? How about anyone try to place a stacked canvas on top of a tab canvas?

    We're using forms 6.0.8.8. Our standard practice is to never put items on a tab canvas, instead we put stacked canvas' on the tab canvas. Besides having canvas scroll bars, it also provides a basis to work around documented bugs for refreshing/resizing windows when returning from other forms/windows of different sizes etc.
    null

  • Displaying tab page canvas on content canvas in Forms 6i

    Forms [32 Bit] Version 6.0.8.8.0 (Production)
    I have an existing form which has multiple canvases and there are couple of fields on Content canvas and then on the same content a Tab canvas is layed out. I can see both canvases in same layout editor and select and move the tab canvas.
    But when I create a new form and want to layout a tab canvas on top of content, it appears in a separate layout editor window on design time.
    I want it like below:
    -----------content--------------------
    |                                       |
    |                                       |
    |                                       |
    |TabPag1     TabPage2                   |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    -------------content------------------How can I create it so that it appears in same layout editor window at design time and appears in same window like one canvas on runtime.

    In order for the Tabbed Canvas to appear on the Content Canvas in the Layout Editor, you have to actually draw the Tabbed Canvas on the Content Canvas; eg: open your content canvas in the layout editor, click on the tabbed canvas toolbar button and then draw it on your content canvas. If you create the Tabbed Canvas object through the Object Navigator and then set the properties so it would display on the content canvas - it won't be visible on the content canvas with the layout editor.
    This is a bit of a quirk in the Forms Builder and they haven't corrected this in any of the newer versions of Forms yet. :-(
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

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

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

Maybe you are looking for

  • Sy-tabix vs sy-index

    Hi all, I have one LOOP and two READ statements inside of it. After each READ statement i need to MODIFY some lines. In one of MODIFY statements i use MODIFY...INDEX sy-tabix but it seems that is not a good way to correctly modify line that I would l

  • Mid 2009 MacBook Pro 13 Hard Drive Upgrade Questions

    I bought an upgraded hard drive for my mid-2009 MBP 13. I've done some reading and it appears that my model of MBP shouldn't have drive issues, but I still have a few questions that I'm hoping someone will answer. Perhaps this will all boil down to a

  • Why does itunes keep saying I don't have enough memory on my windows 8.1

    When I am trying to download new songs, import a CD or trying to watch a TV segment on I tunes on my Samsung Laptop computer for Windows 8.1 and I keep getting messages saying I don't have enough memory and I also keep receiving messages that I'm not

  • Can I delete and restore notes from my iPad 1

    My son needs to borrow my ipad (1st gen) and I want to delete the notes.  I've put them all on the cloud, but I would like to restore them after he is done with my ipad.  Is this possible/

  • My mails are disappaering totally...what can i do?

    hi there, i´ve the problem that ALL my mails are disappearing at the same time from my iphone and from my mac too. i cannot find them anywhere. there was no question if i want to use an archiv or what ever...checking my mails and from one second to t