Recognizing open forms when using Open_Form

Hi. I have a single application I use as a point of entry to many other forms. Users open the main form and select their desired form by picking it out of a menu in the application. All applications are opened using Open_Form and users can alternate between applications by selecting them from the default 'Window' menu.
At the time a user attempts to close the main form I would like to be able to recognize programatically if there are any forms still open and prompt them to close those applications before exiting my main form.
Any suggestions?

if you use a global-variable with the names of all open forms, then you append to that string in the PRE-FORM the name of the new form and you cut this out of the string in the POST-FORM.
So you can use this global to look, if other forms are open at closing-time

Similar Messages

  • Slow response in opening form when using webutil

    Hi,
    When I try to use the webutil functions, I find it is very slow in opening the form.
    It takes about 30 seconds.
    But if I remove the frmwebutil.jar in the server directory /forms/java/, it takes
    less than 3 seconds.
    Any suggestion ?
    Thanks in advance.
    Ivan

    Do you find the slow startup everytime with webutil or only the very first time you use webutil. The JAR file should be cached which means if the jar download is make it slow then it should be faster next time you run it.
    The other point is do you actually have any webutil code running when you use webutil - maybe that code is causing the problem.
    REgards
    Grant

  • When on Facebook (for example), Firefox is not allowing me to open pictures; when using apps, the bottom of the screen is missing so cannot utilize the apps. All working on Safari; just downloaded new Firefox 4, so seems to be a problem with this version?

    Question
    When on Facebook (for example), Firefox is not allowing me to open pictures; when using apps, the bottom of the screen is missing so cannot utilize the apps. All working on Safari; just downloaded new Firefox 4, so seems to be a proble

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    See also "Help About".
    *Tap the Alt key or press F10 to show the Menu bar.
    In current Firefox releases (29 and later) the orange Firefox menu button has been replaced by the three-bar Firefox Menu button at the far right end of the Navigation Toolbar and this button is always visible, whether you have the menu bar visible or hidden<br>A consequence of this location is that you no longer can hide the Navigation Toolbar
    *There is a star like button next to the search bar on the Navigation Toolbar to bookmark the current web page and a "Show your bookmarks" button next to it to open the Bookmarks in a drop down menu.<br>You can find "Show All Bookmarks" to open the Bookmarks Manager (Library) at the bottom of this drop-down list
    *If you bookmark a page then "Bookmark This Page" in the Bookmarks menu changes to "Edit This Bookmark"
    *You can make the title bar visible via the "Title Bar" button at the bottom left in the Customize palette window
    It is still possible to have the menu bar visible via the right-click context menu of a toolbar to have menus like the File menu with Print (Ctrl+P) and Print Preview and the Bookmarks menu available.
    See also:
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox

  • HT1277 Cannot open links when using Safari (will open in Chrome). Anybody have an idea? Settings??

    Cannot open links when using Safari (will open in Chrome). Anybody have an idea? Settings??

    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.

  • Unable to open forms when Launching another application on same browser.

    Hi,
    I have a server with configuration Oracle EBS 12.1.1 on RHEL 5.5, Database 11.1.0.7. On client machine we use Internet explorer, Firefox and Chrome to access the EBS and forms.
    We are able to open the forms from all browsers, but problem arise when we access another application on same browser, resulting in not opening of oracle forms.
    This is a java application using the same database on the server. This application works fine but Our Oracle Forms has to face the problems.
    When we try to launch the forms, it results in FRM-92101 error. I read the MOS documents for
    R12: "FRM-92101:There was a failure in the Forms Server during startup" Error When Attempting to Launch Forms [ID 454427.1]
    Then I checked the application log file, it says that:
    13/08/12 18:47:41.891 formsweb: Forms session <207> failed during startup: no response from runtime process
    13/08/12 18:50:43.704 formsweb: Forms session <209> aborted: runtime process failed during startup with errors
    Unable to switch to Working Directory: /oracle/TEST/apps/tech_st/10.1.3/forms
    When I further investigate I found there is no such "forms" directory under "/oracle/TEST/apps/tech_st/10.1.3".
    Then I read Oracle Notes:
    FRM-92101 : Unable To Switch To Working Directory. (Doc ID 1434888.1)
    FRM-92101 Error in Application.log: Unable to Switch to Working Directory (Doc ID 432708.1)
    But no luck with all these. Please suggest something. Can't open both application simultaneously on same browser.
    Regards,
    Prashant Namdeo

    Hi,
    Please state whether the application was working fine before.
    Please provide log file  of:
    --$LOG_HOMEora/10.1.3/j2ee/forms/forms_default_group_1/application.log
    --DB alert logfile --check whether you can find any valuable information.
    Please have a look at the following MOS notes:
    FRM-92050 java.lang.UnsatisfiedLinkError: no frmjsl in java.library.path [ID 438522.1]
    Troubleshooting FRM-92XXX Errors in Oracle Applications [ID 365529.1]
    And have a look at:
    http://oracleared.blogspot.com/2012/11/frm-92191-there-was-failure-in-form.html
    Best Regards,

  • OPEN FORM WHEN-TREE-NODE-SELECTED

    hello all...
    i have a tree and i wanna when i click on the node another forms open due to form name
    i have table includes form_if,form_name " as in H.D.D"
    when i present all nodes and i click on the node the form opened and when i click on other node from the tree
    " the last previous selected node also opened and when i close it the new form is opened and so on"
    the code in when-tree-node-selected is
    DECLARE
    node_value varchar2 (100);
    frm_name varchar2 (100);
    path varchar2 (100);
    BEGIN
    node_value := ftree.get_tree_node_property('block33.sub_TREE',:SYSTEM.TRIGGER_NODE, FTREE.NODE_VALUE);
    select FRM_NAME into frm_name
    from forms_list
    where FO_ID = node_value
    path :=(frm_name||'.fmx');
    call_form(path);
    path:=null;
    frm_name:=null;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
    END;

    Hi,
    >
    when-tree-node-selected
    >
    Fires when a node is selected or deselected.
    So your code is getting executed for selection and deselection
    use SYSTEM.TRIGGER_NODE_SELECTED to check
    IF SYSTEM.TRIGGER_NODE_SELECTED THENRegards
    Yoonas

  • IPhone not recognized in iTunes when using WiFi sync

    I have found that my iPhone is frequently not recognized when using WiFi sync.  The only way to sync my phone when that happens is to use the old fashioned way--connect it to my computer via USB.  Then the phone is recognized and syncs fine.  The device shows even when I take my iPhone off power.  But when I close iPhone and later reopen it and plug in my iPhone to power, often it is not recognized.  I've tried everything I can think of but nothing works.
    Any ideas?
    talbryn

    I am having the same problem.  It was working just fine and then just mysteriously stopped showing up in iTunes (my iPad still shows up & syncs via wifi just fine--it is just my iPhone).  Someone please reply soon, this is driving me nuts! Thanks in advance!!

  • Security Exception in Oracle Forms when using with JRE.

    Hi,
    I am am getting an exception whenl I try to dispose a message box(FWindow) received as a popup from an Oracle form page(configured using JRE).
    When I hit over the OK/Cancel button to dispose off the messagebox,it is not I get the following error.
    Exception in thread "AWT-EventQueue-2" java.lang.SecurityException: this KeyboardFocusManager is not installed in the current thread's context
         at java.awt.KeyboardFocusManager.getGlobalFocusOwner(Unknown Source)
         at java.awt.KeyboardFocusManager.processSynchronousLightweightTransfer(Unknown Source)
         at sun.awt.windows.WComponentPeer.processSynchronousLightweightTransfer(Native Method)
         at sun.awt.windows.WComponentPeer.requestFocus(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocus(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.requestFocus(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.processMousePressed(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
         at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp.mousePressed(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Proxy.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I am able to dispose the messagebox, when I configure the oracle form with Jinitiator, the issue happens only with JRE.
    These are the configurations I use.
    10g Release2
    Windows XP Professional Version 2002, Service Pack 3
    IE version 6.0.2900.5512.xpsp_sp3_gdr.090804-1435
    JInit-JInitiator 1.3.1.22, Sun JRE- 1.6.0_17
    I am working on Developer suite.
    Privilege: Windows Administrator
    Kindly guide.
    Thanks & Regards
    Sunil

    Hi Sunil,
    Did you ever find a fix for this problem?
    I'm having exactly the same issue.
    I have an oracle form with a java bean that runs against J Initiator 1.3.1.28, and it works fine, with J Initiator. The java code was compiled against JDK 1.3.
    My form now uses the Sun JRE 1.6, update 16. I've recompiled the java code against JDK 1.6.
    And now when the java code sends an event to the form and I show an alert I get the same error you were getting:
    Exception in thread "AWT-EventQueue-2" java.lang.SecurityException: this KeyboardFocusManager is not installed in the current thread's context.
    I recompiled the java code against JDK 1.3, and ran it through the Sun JVM 1.6, and I still get the error.
    Any idea how to fix this?
    Regards,
    Chris.

  • WUO-709: Unable to get Property: Open == Forms application using Webutil

    Hi everyone,
    I have configured Webutil and tested a demo application for loading excel data into a forms application. The application works just fine. Here is the code:
    DECLARE
    application Client_OLE2.Obj_Type;
    workbooks Client_OLE2.Obj_Type;
    workbook Client_OLE2.Obj_Type;
    worksheets Client_OLE2.Obj_Type;
    worksheet Client_OLE2.Obj_Type;
    filename                varchar2(2000);
    cell Client_OLE2.OBJ_TYPE;
    args Client_OLE2.OBJ_TYPE;
    cell_value varchar2(100);
    eod boolean:=false;
    j integer:=1;
    BEGIN
         -- The following set up communication with the excel spreadsheet
    application := Client_OLE2.create_obj('Excel.Application');
    Client_OLE2.set_property(application,'Visible','false');
    workbooks := Client_OLE2.Get_Obj_Property(application, 'Workbooks');
    args := Client_OLE2.CREATE_ARGLIST;
    Client_OLE2.add_arg(args, 'c:\test\test.xls');
    workbook := Client_OLE2.GET_OBJ_PROPERTY(workbooks,'Open',args);
    Client_OLE2.destroy_arglist(args);
    worksheets := Client_OLE2.GET_OBJ_PROPERTY(workbook, 'Worksheets');
    worksheet := Client_OLE2.GET_OBJ_PROPERTY(application,'activesheet');
    --Go to the first record
    go_block('planets');
    first_record;
    loop
              If :system.record_status <> 'NEW' then
    create_record;
              end if;
    exit when eod;
         for k in 1..3 loop --3 fields per record
         args:= Client_OLE2.create_arglist;
    Client_OLE2.add_arg(args, j);
    Client_OLE2.add_arg(args, k);
    cell:= Client_OLE2.get_obj_property(worksheet, 'Cells', args);
    Client_OLE2.destroy_arglist(args);
    cell_value :=Client_OLE2.get_char_property(cell, 'Value');
    if upper(cell_value) = 'EOD' then
         eod:=true;
         Message('End of Data');
         exit;
    end if;
    --Could be done this way also ->
    /*if k =1 then
         :dept.deptno:=cell_value;
    end if;
    if k =2 then
         :dept.dname:=cell_value;
    end if;
    if k =3 then
         :dept.loc:=cell_value;
    end if;
    --Less code this way ->
    copy(cell_value,name_in('system.cursor_item'));
    next_item;
         end loop; --for
         j:=j+1;
    end loop;--main loop
    -- Release the Client_OLE2 object handles
    Client_OLE2.release_obj(cell);
    Client_OLE2.release_obj(worksheet);
    Client_OLE2.release_obj(worksheets);
    Client_OLE2.release_obj(workbook);
    Client_OLE2.release_obj(workbooks);
    Client_OLE2.invoke(application,'Quit');
    Client_OLE2.release_obj(application);
    END;
    -- cell_value :=Client_OLE2.get_num_property(cell, 'Value');
    The issue comes when I try to supply filename and path (here, c:\test\test.xls) through a file open dialog. I tried each of these:
    1.
    filename := client_get_file_name
    (directory_name => 'C:\'
    ,file_name => 'test'|| '.xls'
    ,file_filter => 'Excel (*.xls)|*.xls|'
    ,message => 'Select client side filename where App Server file will be saved'
    ,dialog_type => OPEN_FILE
    ,select_file => TRUE
    2.
    filename := Client_Get_File_Name(directory_name => 'C:\'
    ,file_name => null
    ,file_filter => null
    ,message => null
    ,dialog_type => null
    ,select_file => null
    3.
    filename := client_get_file_name ('','','','Select a file to Upload ',null,TRUE);
    On using the above, I DO get a file open box. However, after browsing and selecting a file, I am getting the error message:
    WUO-709 [OleFunctions.get_obj_property_args()] Unable to get Property: Open; Exception com.jacob.com.ComFailException: Can't map name to dispid: Open
    I have checked the documentation on 'WUO-709' but cannot seem to figure out why it's not working.
    Sorry for the lengthy description. Would greatly appreciate help on this.
    - Amit

    I forgot to mention that in the modified code, I am supplying 'filename' as:
    filename := client_get_file_name ('','','','Select a file to Upload ',null,TRUE);
    args := Client_OLE2.CREATE_ARGLIST;
    Client_OLE2.add_arg(args, filename);
    Thanks,
    Amit

  • Problem in Master Detail form when using ADF table for Detail

    hi,
    jdev version-11.1.2.1.0
    i have create Master detail form using datacontrol drag as ADF Master Form Detail Table.
    Now when i create a new row in Detail table using CreateInsert button a blank new row created on the top of detail table.
    and other row show that data of previous record based on master.
    problem is that i want when i click on createInsert button all row of detail table should be blank and when user fill two or three row then commit.
    Thanks in Advance

    Hi,
    if a detail table has data, then createInsert adds to these. If you want to hide existing rows, create a new View Object instance and set its "Retrieve from the Database" option to "No Rows". The use an af:switcher to change the table shown when the user clicks the createInsert button. There is a bit of coding required to have this use case in ADF, but its mostly declarative. Bottom line is that there is no automated option other than creating new rows in a separate page or dialog if you are bothered by existing rows
    Frank

  • Ipod touch 2G not recognized by itunes when using wifi

    I can connect to internet by wifi through network set up with Linksys. iPod recognized by network, Norton, and set as Full Trust. Windows Firewall turned off. iTunes does not show connection to ipod with wifi in iTunes. Tried everything on Apple webpage regarding connection. I can't use Documents to Go, Remote, unless connected to itunes by wifi. Any suggestions?

    I am not trying to connect the ipod to the internet. it is already connected to it via wifi. I have no problem with that. I am trying to get iTunes to recognize the ipod through wifi, and not through a direct USB connection. Documents to Go will only download to the ipod through a wifi connection to iTunes. It will not download through the USB connection. If that is not possible, is there another app that I can download my Word or Excel documents, and work on them on my iPod?
    Thanks.

  • External HDs not recognized by iMac when using USB cable

    I just bought a new iMac & plugged in my two Western Digital 1tb drives using the supplied USB cables and neither of them are recognized by my iMac.
    I've been using both of these drives with my other G5 iMac using the firewire cables & have not had any issues. I also purchased an adapter (USB -->firewire 800) and each hard drive mounts ... but neither will mount using the USB connections.
    Any suggestions as to how I can get the second drive to work using the USB cable ...
    Thanks,
    Brent

    +do I need to move the contents of the external drive off the unit before the partition?????+
    YES! Absolutely! The partitioning process erases the drive, so you need to temporarily copy data onto your old Mac.
    +how do I achieve this? I'm guessing there's a piece of hardware that I'll need to connect the two hard drives together and then feed another line into the iMac ... correct?+
    All you need are firewire cables (hard drive to hard drive to iMac). See Dennis' link and the excerpt here:
    +Question 7: Can FireWire devices be connected in a daisy chain?+
    +Answer: Yes, and if the devices are designed according to the FireWire standard, they can be turned on and off as needed. For example, all devices don't need to be powered on to use the last device in the chain. For the best result, and to avoid overstressing the FireWire port, connect one FireWire device to the Macintosh, then add one device at a time to the chain. Avoid plugging in live power adapters into devices connected to the chain.+
    And congratulations on your new iMac - you'll love it; I got mine about a month ago.

  • How to insert multiple rows in oracle forms when using TEMPLATE FORM

    I got a case study on PO creation nd in that I have to insert multiple rows in form especally when PO creation screen is there.
    I tried by different syntaxes but its not working.I need correct syntax to insert the multiple rows in to the table in oracle forms

    Please Oracle EBS queries on EBS forums.

  • Open fails when using DB_DIRECT_DB

    Hi,
    I'm trying to use the DB_DIRECT_DB flag to bypass the filesystem cache for some experiments I'm running (to clarify results, not for performance reasons). I'm using BDB 4.5.20 (C++ API) with kernel version 2.6.17-1.2142_FC4smp on Fedora Core 4.
    I initialize a database handle as follows:
        Db* db = new Db(NULL, 0);
        db->set_cachesize(0, 1024*CACHE_SIZE, 1); // in kB
        DbEnv* env = db->get_env();
        env->set_flags(DB_DIRECT_DB, 1);
        env->set_msgfile(stderr);
        env->set_errfile(stderr);
        db->set_bt_compare(compare_int);
        db->open(NULL, file, NULL, DB_BTREE, 0, 0);The file already exists (was created by the same version of Berkeley DB, although without the O_DIRECT flag) and is 37MB on disk. Calling db->open generates this error:
    read: 0x86735f0, 4096: Invalid argument
    terminate called after throwing an instance of 'DbException'
      what():  Db::open: Invalid argumentThat address doesn't seem to be aligned to anything...
    Without DB_DIRECT_DB, everything works. I've google'd around but can't find anything useful--I'd appreciate any suggestions!
    Thanks,
    Daniel

    hello,
    You may find the information in the following post helpful as
    it is on a related issue with read() and DB_DIRECT_DB.
    Bug: Specifying DB_DIRECT_DB crashes BDB 4.4.20
    thanks,
    Sandra

  • FRM-40010 - Cannot read form when using Call_form on Unix 9iAS

    Hi,
    I'm using 9iAS on a unix server. However, the main form calls several other forms using CALL_FORM('formnam'); but it cannot read any of the forms. I've ensured that they have all been compiled on the server. They compiled successfully.
    I've also ensured that they are all residing in the FORMS60_PATH. Although it can find the main form OK, it cannot read any of the other forms. They are all located in the same directory.
    What can be causing this error?

    Make sure that formname is the name of the .fmx file and that you use the same case as it is in the file system, because UNIX is case-sensitive.
    How are you setting FORMS60_PATH? If you're using the Forms Listener Servlet and are setting the FORMS60_PATH in default.env, be sure that the variable name is spelled correctly. In the early versions of default.env that came out, there was a typo: FORSM60_PATH. So if people didn't notice this and just uncommented the line and set the path, they would get FRM-40010.

Maybe you are looking for

  • Cache.cluster.multicast.ip and Installing Oracle Identity Analytics

    After following the configuration steps outlined below, and deploying the war to Glassfish, I get an error starting RBACX that I think must be related to the cache.cluster.multicast.ip property settings below (error log follows the configuration step

  • Macbook pro trackpad and keyboard don't function

    I was working on my photography coursework monday night, and my keyboard froze, but the mouse worked. then I restarted it (losing all my unsaved editing, by the way) and neither the trackpad or internal keyboard worked. after that, for a few days, th

  • I Phone & outlook 2003 not syncing

    When attemping to sync my Outlook 2003 calendar& contacts I am getting an error message that says " cannot connect because iphone has disconnected" I went in and unchecked addin that was not apple and I did a re sync history. Help!

  • Several new cameras for the RAW support

    Adds RAW image decoding support for the following cameras: Panasonic DMC-LX1, Panasonic DMC-LX2, Leica M8, Leica D-LUX 2, Leica D-LUX 3, Fuji S5 Pro, Nikon D40x, and Canon EOS 1D Mk III. Resolves an issue in which some DNG images may appear tinted or

  • IPhoto 8.1.2 bug during import

    For whatever reason, my iPhoto gives me this error, whether I import through my Canon MX700 card reader, or after copying the photos to my hard drive and then importing into iPhoto.   If I hit cancel or OK, it won't import the photo, if I hit Find ph