When-Mouse-Click does not fire if When-new-item-instance exists

We are using Forms 6i Patch 12.
The When-Mouse-Click trigger (at block level) is not getting fired when a When-new-item-instance trigger exists on a given item on which mouse is clicked.
We need to synchronize keyboard and mouse events such that if the validation on certain key items fails, the cursor should go to one of the specified items as per the validation rules.
The validation rules are different on leaving from different items. Complex validation rules require cursor to go to a different item than the current item on which the validation fires.
Since go_item cannot be used in when-validate-item, we are using a combination of key-next-item and when-mouse-click.
But, this strategy seems to fail if mouse is clicked over an item having a when-new-item-instance trigger.
Also, we need the When-mouse-click trigger to fire before When-new-item-instance.
Any pointers to solving the firing of trigger or strategy will be appreciated!
Regards,
Sanjiv

This solution we have tried and it works also.
However, we end up in another problem in the form. For overall picture, please see my latest post for "Forms Valid status" at Forms Valid status
Regards,
Sanjiv

Similar Messages

  • ODI 11g 11.1.1.7 with Win64 bit OS : Starange problem : Right click does not work for Create new data server in Topology.

    ODI 11g 11.1.1.7 with Win64 bit OS : Strange problem : Right click does not work for Create new data server in Topology.
    On right click nothing happens at all. I have  reinstall the ODI multiple times with right installer. issue persist.
    Please help.

    Hi,
    Did you use the generic installer or the win32 one ? You should use the former with Win64.
    You can also check that your version of Java is supported in the certification matrix.
    Regards,
    JeromeFr

  • How can i open a link in new window (shift + Mouse Click) while not switching to the new window

    I want to open a new window (shift + Mouse Click) while not switching to the newly opened window. The focus should remain on the window from where i have opened the link.

    You can do that with tabs, but not with windows AFAIK.

  • Left mouse click does not work

    I have a mid-2010 Mac Book Pro 15", 8GB, Samsung 840 500GB SSD, w/ Mountain Lion.
    About four to six months ago I started having issues where the left mouse button would stop working when I left the computer on unattended (but not asleep) for extended periods of time.
    I have both a bluetooth keyboard and magic mouse connected most of the time, but when the issue occurs the button issue extends to both the external mouse and the on-system touch pad.
    The issue started at about the same time that I took my system in to be repaired after the harddisk started failing. The system has since had the OS reloaded (twice) and the replacement harddisk has since been replaced with and SSD, so I if the original service is to blame, it is a peripheral issue (damage, firmware update, etc).
    Here is where it gets really crazy... rebooting does NOT fix the issue. Shutting down and restarting does NOT fix the issue. Hard power off (holding the power until it hard-off's the system) then restarting DOES fix the issue.
    The problem is reproducible, and since I've now demoted this laptop to being my television PC, it gets left on idle all the time (and hense the problem occurs all the time).
    To the best of my knowledge I have all the latest patches and firmware loaded.
    I suspect this is a low level firmware/hardware bug, but have no way to confirm and have had no luck with finding answers here or via the store.
    Any assistance is appreciated!!

    I can left mouse click any other program successfully. I can only left mouse click Firefox one time and then it refuses to work. I set the default mouse structure and pressed apply. It does me no good. There must be another cause for no other program has problems except for Firefox.

  • Mouse click does not work. I can't doubleclick anymore to open folders or mark text at once.

    I have a MacBook from 2009.
    After I have installed a bluetooth mouse from Apple, both my touchpad and extern mouse won't use the funtion where you can double-clik to open a folder, or to mark a word -eg. when you usually doubleclick at the Internet adress bar, the complete adress or text would be marked.
    I don't use the Apple mouse anymore, I have tryed with my old Fujitsu cable-mouse, but the problem is the same with and without.
    It has been like this for two days, so I have tried to restart my computer without any succes.
    Please help, I am completely lost.

    Found the answer thanks to old threads!

  • Middle mouse button does not open tab with new url

    Suddenly, Firefox (3.6.10 on Kubuntu) changed the behavior of the middle mouse button.
    Before, pressing the middle mouse button on the regular window (not tab bar or tool bar or such) and not on a link caused Firefox to open a new tab and to attempt to load the content of the buffer as URL.
    Now, Firefox shows a weird circle with arrows and my page scrolls vertically in a weird way.
    How to get back the original behavior?
    I tried to find a solution on the web. Despite the many suggestions, the problem prevailed. For example, browser.tabs.opentabfor.middleclick and middlemouse.contentLoadURL are both true

    Very glad to see I am not alone. Alas....that answer did nothing on my system. I also am very very frustrated that, all of a sudden, my middle mouse button brings up a weird four pointed arrow! (see pic) I NEED it to open links in tabs for researching!!
    I turned off auto scrolling in the advanced settings. Restarted FF even...and nada.
    I have disabled every single add on I had (only like 6 of them)...and nothing.
    This happened all the sudden...I dont even know of an update. FF v3.6.10

  • WHEN-MOUSE-CLICK for a display item does not fire on the web

    Resending as there were no responses............
    Regards,Bala.
    Bala (guest) wrote:
    : Hi guys,: 1. Does WHEN-MOUSE-CLICK fire on Display Item or on
    a Button in
    : Web Forms (not in a client/Server environment) ? We had it
    : working in Forms 5.0, but right now in 6.0 it doesnt ? In 6.0,
    : it works fine in Client/Server environment, but definitely not
    : in Web environment.
    : 2. Again, in our app. we have set no bevel for the display
    : items, but when we run it on the web, it comes with a bevel
    : (this does not happen in Client/Server). Is this common or is
    it
    : a known bug in 6.0 ?
    : 3. How to change Fonts for Web Deployment. Currently I guess
    it
    : takes Dialog as the default with the point size of 900 (in
    Java
    : terms). I tried modifying the registry.dat to the following:
    : default.fontMap.defaultFontname=SansSerif:
    default.fontMap.defaultSize=900: OR
    : default.fontMap.defaultFontname=Ms Sans Serif:
    default.fontMap.defaultSize=900
    : and found no changes at runtime on the Web.
    : Any help on these issues, will really be appreciated.
    : Thanks,
    : Bala
    null

    Dear friend
    i have the same problem when ever u can solve this probelm pls
    inform me as well mean while i am trying to reslove it as well if
    there is any sucess i ll inform u.
    mobeen
    Bala (guest) wrote:
    : Resending as there were no responses............
    : Regards,Bala.
    : Bala (guest) wrote:
    : : Hi guys,: 1. Does WHEN-MOUSE-CLICK fire on Display Item or on
    : a Button in
    : : Web Forms (not in a client/Server environment) ? We had it
    : : working in Forms 5.0, but right now in 6.0 it doesnt ? In
    6.0,
    : : it works fine in Client/Server environment, but definitely
    not
    : : in Web environment.
    : : 2. Again, in our app. we have set no bevel for the display
    : : items, but when we run it on the web, it comes with a bevel
    : : (this does not happen in Client/Server). Is this common or is
    : it
    : : a known bug in 6.0 ?
    : : 3. How to change Fonts for Web Deployment. Currently I guess
    : it
    : : takes Dialog as the default with the point size of 900 (in
    : Java
    : : terms). I tried modifying the registry.dat to the following:
    : : default.fontMap.defaultFontname=SansSerif:
    : default.fontMap.defaultSize=900: OR
    : : default.fontMap.defaultFontname=Ms Sans Serif:
    : default.fontMap.defaultSize=900
    : : and found no changes at runtime on the Web.
    : : Any help on these issues, will really be appreciated.
    : : Thanks,
    : : Bala
    null

  • :system.cursor_block value does not change when mouse click

    Form created with Forms version 6.0.8.8.0. Consists of a control block that has the toolbar buttons, a filter control block that contains item, and a data block. The filter control block and data block are on a tabbed canvas. There are 3 tabs with corresponding filter control block and data block on each.After the data block is queried, code sets the navigation to the control block with the go_item built-in. The user would use a mouse click on the filter control block on one of the tabs to activate an LOV, code is in a generic when-mouse-click trigger that will determine the item focus with the value in the system variable :system.cursor_block. Works for the first tab. Does not work for 2nd or 3rd tab. On-error trigger does not capture any error. Values for :system.cursor_block for tab 1 show that value before mouse click is 'control.detail' and after mouse click is 'filter.a'. For tabs 2 and 3 the value before mouse lick is 'control.detail' and after mouse click is 'control.detail' instead of 'fiter.b' or 'filter.c'. Verified that the 3 filter blocks are identical. Can anyone shed some light on this anomoly? I have been looking for this solution (many different iterations and changes to trap it) for too long.

    :System.Cursor_Block reports the name of a block, NOT a BlockName.ItemName.
    Use :System.Trigger_Item with your mouse click, or :System.Cursor_Item.

  • Open Form not working when called from When-Mouse-Click

    In our application to navigate to other forms we have created a feature where user selects the Forms from a LOV, the form id is returned to the text item and user needs to click the text item.....In the text item the Open form command is given
    This is not working
    The form builder throws an error
    Frm 92100 Connection interupted
    what could be the reason

    Code written in When-Mouse-click
    for item :boo_toolblk.nbt_nxtscr which contains the form id
    DECLARE
    p_name_id PARAMLIST;
    lv_param_name VARCHAR2(8):= :boo_toolblk.nbt_nxtscr;
    lf_next_form_id FORMMODULE;
    BEGIN
    Clear_Item;
    /*Create a parameter list named 'TEMPLT_PARAM'. First
    ** make sure the list does not already exist, then
    ** attempt to create a new list*/
    IF not Id_Null(Get_Parameter_List('TEMPLT_PARAM'))/*Returns a BOOLEAN value if the object ID is available*/
    THEN Destroy_Parameter_List('TEMPLT_PARAM');
    END IF;
    p_name_id:= Create_Parameter_List('TEMPLT_PARAM');
    /*Add a value parameter to an existing Parameter
    ** List */
    Add_Parameter(p_name_id,'templt_nxtscr',TEXT_PARAMETER,lv_param_name);
    Go_Block(Get_Form_Property(:system.current_form,FIRST_NAVIGATION_BLOCK));
    lf_next_form_id := FIND_FORM(lv_param_name);
    :PARAMETER.next_form := lv_param_name;
    IF lf_next_form_id.id is not null
    THEN
    Close_form(lf_next_form_id);
    END IF;
    Add_parameter(p_name_id,'previous_form',TEXT_PARAMETER,:SYSTEM.CURRENT_FORM);
    /* opens another form*/
    Open_Form(lv_param_name,ACTIVATE,NO_SESSION,SHARE_LIBRARY_DATA,p_name_id);
    EXCEPTION
    WHEN FORM_TRIGGER_FAILURE
    THEN RAISE FORM_TRIGGER_FAILURE;
    WHEN OTHERS
    THEN RAISE FORM_TRIGGER_FAILURE;
    END;
    Error :-
    Frm-92100 : Your Connection to the Server was Interrupted
    This may be the result of a networn error or a failure on the server.
    You will need to re-establish

  • When-mouse-click trigger is not working

    Hi,
    My forms version is 10g.
    I've a black level and item level when-mouse-click trigger.
    There is some code inside that which is not being executed.
    To test, i simply printed a hello message inside the trigger's code.
    Even hello is not being displayed.
    Can anyone please help me in why this trigger is not working.
    Navnit

    You have some other issues going on if you don't see anything from a when-mouse-click trigger.
    First of all, are you spelling the trigger using a dash or underscore? WHEN-MOUSE-CLICK will run, but WHEN_MOUSE_CLICK will not.
    Have you set :SYSTEM.Message_Level to some value above zero in the form? If so, set it back to zero.
    On what object are you trying to click? Is this causing navigation? Navigation may cause validation to run, which may fail, which may prevent the navigation, which may prevent your when-mouse-click from running.
    And last, are you sure you are running the currently compiled fmx version of your form?
    When nothing works, you need to back up and start finding out what DOES work first.

  • Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the

    Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the features on the left side.

    Hi Nealeh
    Thanks i think I got it working of a fashion.
    Except the replace colour, does not seem to end up with the colour I picked using the picker tool. Its as though it hads not replaced the colour but blended in the desired colour with the old incorrect colour!
    Buy trial and error picking not the right colour but close - which when mixed with the existing colour is close.
    Sorry I can't post the pictures as the Lingerie Mfg, has me under non disclosure.
    The scenario is:-  say a blonded mainly tanned model a high cut [at the hips] corsette style basque, with an ultra low bra line.
    Our dear model, has just come back from St Barts with a fabulous Tan, and equally striking bold Tan lines!.
    So we have great tanned legs, then the 'porcelain white band' where her swimsuit was.
    Likewise we have a tanned face, and arms, shoulders etc and a great tan on the top of the cleavage, then it stops, white band to the top of the ultralow cut bra line of the basque.
    She must have lived in like the most conservative bikini on the planet [50's style], for 2 weeks!
    Had she had a normal skimpy bikini on, no problem!
    If i don't solve it, she will get fired!
    Not a lack of interest in your post, but I was out, and tried to log in to this site; which I could do, on my iPad Air / 5 [whatever its the new one]. And tried to 'sign in' - but it just hung at the
    "Join Adobe Community" adobe sign in splash screen! with he little whell spinning around continuously!!!
    I have Safari on this iPad. Guess that is all it runs.
    So technology is not my friend today!

  • Hello everyone, Very recently itunes on my windows computer does not let me access any items in my Library except for "Apps" and "Ringtones". When I click on any other items it flashes the redcircle meaning forbidden".

    Hello everyone, Very recently itunes on my windows computer does not let me access any items in my Library except for "Apps" and "Ringtones". When I click on any other items it flashes the redcircle meaning forbidden".
    When I connect my iPhone or iPad I can see every items on them but not on the iTunes Library.
    They sync fine with iTunes.
    I browse all the menus in iTunes but cannot find any clues to what I have done for it to happen. It worked fine previously.
    Thanks for any suggestion.

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • When I click on the new tab button, a new tab does not open or when I go to file new tab a new tab will not open either.

    When I click on the new tab button, a new tab does not open or when I go to file new tab a new tab will not open either.

    Un-install the '''''Ask Toolbar''''' until Ask fixes the problem caused by their toolbar.
    *http://support.mozilla.com/en-US/kb/Uninstalling+add-ons
    *http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on

  • COMMIT_FOARM IS NOT WORKING INSIDE THE  WHEN-MOUSE-CLICK

    Dear friends
    I have following script in when-mouse-click trigger
    BEGIN
    IF NOT Form_Success THEN
    Bell;
    RAISE Form_Trigger_Failure;
    END IF;
    IF :System.Form_Status = 'CHANGED' THEN
    IF :LOCK_FLAG = 1 THEN
    UPDATE PROJ.IM_REQUEST_HEADER
         SET LOCK_FLAG = 1
         WHERE DOC_CODE = :DOC_CODE ;
         SHOW_MESSAGE('DOCUMENT CODE -1'|| ' '||:DOC_CODE);
         SHOW_MESSAGE('LOCK FLAG -1'|| ' '||:LOCK_FLAG);
         Commit_Form;
         MESSAGE('The Record have been changed -1 ');
    ELSE
         UPDATE PROJ.IM_REQUEST_HEADER
         SET LOCK_FLAG = 0
         WHERE DOC_CODE = :DOC_CODE ;
         Commit_Form;
         MESSAGE('The Record have been changed - 2');
    END IF;
    ELSIF :System.Form_Status <> 'QUERY' THEN
    Message('An error prevented your changes from being
    committed.');
    Bell;
    RAISE Form_Trigger_Failure;
    END IF;
    END;
    Note :
    The above trigger is attached to this field LOCK_FLAG and the item type of LOCK_FLAG is check box in the form and the property of the LOCK_FLAG
    is site as the following :
    database item = NO , and the property of the blcok IM_REQUEST_HEADER is site as the following :
    database data block = NO
    and my problem is when i change the value of LOCK_FLAG is not executting the update statement .
    waiting for your valuable answer in details thank in advance for your cooperation.
    best regards
    jamil alshaibani

    Dear Wilfred
    Thank you very much for your cooperation, yes when I change the “Database data block “ property to no, it works, as I wanted to be.
    Notes about my application:
    In my program I provide the store keeper query screen, he can check the orders and lock the specific order by clicking on the LOCK_FLAG field, so after he locked the field the requester user can not change his order content if it is locked by the store keeper
    And the way I was trying to do it ,by query the data from      IM_REQUEST_HEADER Table which is the Order table which is the header table ,the form is displaying doc_code ,doc_date ,lock_flag,and the order store name ,and I provide him a report on the same form that he can see the details of the order items ,and all the field properties set to no, that is update allowed to no ,insert allowed set to no, but the field lock_flag property set as update allowed to yes and insert allowed set to yes
    and I would like to now how it was displaying this message
    ORA-01400 cannot insert NULL INTO “PROJ”.IM_REQUEST_HEADER”.DOC_CODE
    And I was not inserting, I was just updating the lock_flag by the above update statement.
    Best regards
    Jamil Alshaibani

  • Accordion load event does not fire when accordion and load event created dynamically using actionsript

    I cannot get the accordion load event to fire when I have
    created the accordion and load event using actionscript . Here is
    some sample code:
    createClassObject(mx.containers.Accordion, "acc",
    getNextHighestDepth());
    acc.createSegment(mx.containers.ScrollPane, "sc1", "Number
    One");
    acc.createSegment(mx.containers.ScrollPane, "sc2", "Number
    Two");
    var accLis=new Object();
    accLis.load=function(evtObj) {
    trace("load");
    accLis.change=function(evtObj) {
    trace("change");
    acc.addEventListener("load", accLis);
    acc.addEventListener("change", accLis);
    I made sure to add the ScrollPane and Accordion components
    to my library. So the load event does not fire, but the change
    event does fire. And through further testing the other events do
    not fire, including the draw event. Can anyone help? The only time
    I can get the load event to fire on an accordion is if I put an
    accordion on stage, select it and add the actionscript to the
    objects actions like shown below:
    on(load) {
    trace("load");
    on(draw) {
    trace("draw");
    Can somebody help? Unfortunately I must create all my
    components dynamically. Thank you in advance.

    I'm having this issue also...but only apparently with Internet Explorer and only on some machines...ideas?

Maybe you are looking for

  • Attachment to email causes send failure

    I attach a 3,400 kb .pdf file to an email. I notice the 'uploading attachment' icon does not move. after clicking on send, the email frequently fails to send and is 'returned' with a failure notice. using outlook web access light in firefox does this

  • Credit card decline

    I'm from the Philippines, I've using apple for almost 2 years now. My problem just occurred just a week ago. I have been able to purchase apple apps in the apps store successfully for quite some time now. But, my issue lately is that I'm having probl

  • Adobe Flash Player Installer Disappeared

    Hello, OS: Windows 7 Home Premium (32 bit) Browser: Firefox 3.6.12 (32 bit) Flash Player: Adobe Flash Player 10.1 (2010-11-23) I have downloaded and installed the adobe flash player from the following url http://get2.adobe.com/flashplayer/ (filename:

  • Java 1.6 Performance

    I am trying to assist one of our users with a report she is building. Using Discoverer 10g web version: She added a "new total" of type sum on the quantity field. It totals fine except that the "Sum:" label often appears on the wrong lines. For examp

  • Unix script to customising System Preferences

    Whats the unix command to change the Date Format and Keyboard to British?