Re:Close all Forms in Multi-form application

how to Close all Forms in Multi form application's

The easiest way would be to create an "initialize"-procedure in a pll, which simple default all the needed globals, if the do not already exist (using DEFAULT_VALUE), and call that procedure form every form in the PRE-FORM-trigger. It won't affect the "integrated" system because it only defaults values if they are not already initialized.

Similar Messages

  • Close all apps with multi users???

    Is there a way to logout to let other users use the computer and not have to close all your open applications?
    I have 3 users
    User 1 to be using email, Things and have iTunes open.
    User 2 needs system so user 1 logs out but wants to keep all applications open.
    User 2 needs system to check email and surf the Internet... then logs out to let User 3 on-line.
    User 3 wants to surf Internet for a bit then also logs out.
    User 1 wants to go back on to continue work.
    Can User 1 do this without having to close all the applications he had open?
    Thanks

    Turn on Fast User Switching in the Accounts System Preferences. When you want to switch users (or return to the login window), select the account from the FUS menu in the right side of the menu bar.

  • Closing all JFrames without killing the application

    Is there a way I can close all JFrames without quiting the application? I have several JFrames open that I want to dispose of at the same time. Is this possible?

    If you close all the JFrames, then how does the user
    interact with the application?I think that's outside the scope of the original question, but there are a number of possibilities. To name just a few:
    1) The console
    2) The program opens a new JFrame after some time has elapsed (maybe an appointment reminder application, or an instant messenger client, for example)
    3) The program is really a server, so you don't need to see anything
    4) The program is "spyware" so it's meant to be hidden
    5) The program runs in full-screen mode part of the time (for example, a game which uses JFrames to choose options, then full-screen for game play)
    ...

  • My wife changed start up somehow. Now 7 or 8 files open when restart. Have to  close all to do anything. How do adjust setting so that it open do normal screen with icons etc?

    my wife changed start up somehow. Now 7 or 8 files open when restart. Have to  close all to do anything. files, applications, internet, folders etc. How do adjust setting so that it open do normal screen with icons etc?  before this, it started up and went to main screen with dock, save folders ICOns etc

  • Multi-form applications

    I have a created a multi-form application where i have a calling form which calls another form. The user could commit changes in the called form and return to the calling form and either have changes in that form committed or rolled back. However, a commit in the called form SHOULD NOT commit any changes in the calling form. All this works fine.
    I have implemented this using "autonomous transaction". I am using the call_form --> open_form sequence for this purpose. i.e there is a call to a dummy form using call_form and this dummy form calls the other form using open_form call. Now, the problem that i have is that, at times the called form gets hidden behind the calling form and what is visible to the user is the calling form - with no access to any items on the form as this form is now NOT the active form in the application. This problem, though not reproducible has occurred many times. I do not have a solution to this. Any suggestions/pointers/soultions most welcome.
    Thanks in advance..

    What are OPEN_FORM,CALL_FORM,NEW_FORM? diff?
    CALL_FORM : It calls the other form. but parent remains active, when called form completes the operation , it releases lock and control goes back to the calling form.
    When you call a form, Oracle Forms issues a savepoint for the called form. If the CLEAR_FORM function causes a rollback when the called form is current, Oracle Forms rolls back uncommitted changes to this savepoint.
    OPEN_FORM : When you call a form, Oracle Forms issues a savepoint for the called form. If the CLEAR_FORM function causes a rollback when the called form is current, Oracle Forms rolls back uncommitted changes to this savepoint.
    NEW_FORM : Exits the current form and enters the indicated form. The calling form is terminated as the parent form. If the calling form had been called by a higher form, Oracle Forms keeps the higher call active and treats it as a call to the new form. Oracle Forms releases memory (such as database cursors) that the terminated form was using.
    Oracle Forms runs the new form with the same Runform options as the parent form. If the parent form was a called form, Oracle Forms runs the new form with the same options as the parent form.
    Call_form.
    BEGIN
    CALL_FORM('FORM2',
    NO_HIDE,
    DO_REPLACE, -- replace menu
    NO_QUERY_ONLY,
    SHARE_LIBRARY_DATA);
    END;
    Syntax
    OPEN_FORM(form_name);
    OPEN_FORM(form_name,activate_mode);
    OPEN_FORM(form_name,activate_mode,session_mode);
    OPEN_FORM(form_name,activate_mode,session_mode,
    paramlist_name);
    OPEN_FORM(form_name,activate_mode,session_mode,
    paramlist_id);
    sarah

  • How to get names of all Windows in a Form Application at runtime

    Dear All,
    I want to get the name of all windows in a form module programatically at run time. How to get it?
    Any help or comments will be highly appreciated.
    Thanks in Advance.
    Best Regards
    Bilal

    Hi Francois Degrelle,
    First of all thanks for the response.
    What if I have no items on a content canvas? In my application, I am using content canvas to hold the Image banner and help text of the current form, having no items at all. I am also using tab canvases to hold all items of form. The tabs are displayed on the content canvas at run time. So the tab canvases acts like frames (In my case).
    Now if I am looping through items, it gives me the list of all of the tab canvases. Whereas the tab canvas always has no window assigned, as it is displayed on content canvas which has that Window which I need. Thus I am unable to get the names of windows in my case through the above stated procedure.
    Another option could be if I can get the name of the content canvas upon which the given tab canvas is displayed?
    Any way to do this or some other way to achieve the use case?
    Any help will be highly appreciated.
    Thanks in advance
    Bilal

  • Avoid "close all windows" form

    Hello guys,
    I'm just working on an add-on where there is the need to create several user defined tables and user defined fields at the beginning.
    During the creation, the B1-user gets the form "Database has been modified, close all windows" (no quote)
    And if he presses "Yes" to close all windows this could cause errors in the add-on.
    So my question is:
    Is there any possibility to get this form only ones (right after I finished creating the tables)
    Thanks in advance and
    Best regards,
    Mario

    Hi Mario,
    Take a look at the progressbar object. While a progressbar is active, a user can't interact with the GUI. I use this method also with my initialisations, works like a charm!
    <b>Code (C#):</b>
    /* Create a progressbar (10 steps, cancel button disabled) */
    ProgressBar pbProgress = m_SBOApplication.StatusBar.CreateProgressBar("Creating user tables", 10, false);
    pbProgress.Value = 1;
    /* Create a user table and set the progressbar value */
    pbProgress.Value = 4;
    /* Create another user table and set the progressbar value */
    pbProgress.Value = 8;
    /* Stopping the progressbar */
    pbProgress.Stop();
    pbProgress = null; /* <-- IMPORTANT! */
    Hope it helps,
    Rowdy

  • How to close open cursors in a forms app

    All,
    I'm not a forms developer. I'm a database administrator so I'm asking this question from that perspective. I know nothing about forms development.
    We have several forms applications that appear to hold many SELECT cursors open when they run. I've asked my forms developers about this and they are giving me the idea that they don't have much control over this. I have no idea myself so I'm asking here.
    When one issues selects from a form, do those selects remain as open cursors while the form runs? Is it possible to close those select cursors from within the form so that the application does not keep so many cursors open simultaneously?
    I am typically seeing a forms application with 70-100 open cursors. And we have hundreds of end users each running the forms application which is causing a lot of problems with the sheer number of open cursors.
    I've already bumped the database OPEN_CURSORS parameter but it's my feeling that developers should be doing a better job of closing cursors from within the form.
    Can anyone give me some guidance here or point me to some documents that describe how to reduce the number of open cursors to the database from a forms app?
    Thanks,

    There are several ways Forms use cursors. In the standard default method, users enter a query where condition and then execute the query. This process opens a cursor on the server, and the form fetches a few (20 or so) rows and displays on the screen (in a base-table "block"). If the user scrolls down, more rows are fetched from the cursor. This can go on and on if the user keeps scrolling down through the data. I am not sure when the cursor gets closed -- there is no Forms command to close this one. Only closing the form, or else re-executing the query process would close such a cursor.
    In the PL/SQL code, where the developer has control, a cursor can be opened, rows fetched, and then closed. This can be done either with Open-Fetch-Close or in a For... Loop. The developer can explicitly close this cursor, or PL/SQL theoretically closes the cursor when the block of code is exited.
    There is of course the SQL Select into, but that only works in PL/SQL for single-row selects. I doubt this is a major problem.
    And finally, there are the record groups, where Forms runs the select to draw all the data into an array in the form. These should be closed automatically, I believe.
    Now... if you can determine which tables the cursors are remaining open, maybe your developers can zero in on the forms, and maybe clean up some things. However, I am doubtful much can be done. It seems to me that if the open cursors are causing some database sluggishness, then maybe adding more memory on the server is the best option.

  • Custom Popup on a Tabular Form for Multi Row Operation

    I am trying to implement a custom popup on a tabular form that I can pass a value typed in to a text item like “Name” to the popup so it can filter a list of names on what was already typed in.
    Once a selection is made I need to have the selected name passed back to the text item.
    This is easily done when not using a Tabular Form. Any ideas would be great?

    Can someone please help me with this?
    I've read the Thread:
    "Custom Popup on a Tabular Form for Multi Row Operation",
    and have tried following the instructions provided by Willi Firulais.
    I've also tried to integrate the instructions provided by RWeide in response within the same Thread.
    I cannot get the passBack function to Pass the value to the Calling Page.
    (I've tried to organize the pertinent information as it pertains to my application,
    and have included it here below:)
    A. Calling Page (Page# 141)
    1. HTML Header: (Page# 141)
    <script> function callMyPopup(item) { var url;
    url = 'f?p=&APP_ID.:143:&APP_SESSION.::::P143_ITEM:'+ item;
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
    if (w.opener == null) w.opener = self; w.focus(); }
    </script>
    2. Region Definition: (Orders) - SQL Query (Updateable Report)
    a. Query:
    select
    'f01_'||to_char(rownum ,'FM0999') ITEM,
    "ID",
    "ID" ID_DISPLAY,
    "ID_PROJECT",
    "ID_SUPPLIER",
    "DESCRIPTION",
    "JOB_NO",
    "QUANTITY",
    "UNIT_PRICE",
    "EXTENDED_PRICE",
    "MANUFACTURER",
    "SUPPLIER",
    "PART_NO",
    "GROUP_LIST",
    "BILLED_PRICE",
    "DATE_NEEDED",
    "DATE_DELIVERED",
    "SUPPLIER_TYPE",
    rownum
    from "#OWNER#"."OAX_MAT_ORDER_ITEMS07"
    where job_no = :P141_JOB_NO
    3. Report Attributes: (ITEM) - URL
    javascript:callMyPopup('#ITEM#');
    B. PopUp Page (Page# 143)
    1. HTML Header: (Page# 143)
    <script language="JavaScript"> function passBack(passItem1, passVal1)
    { opener.document.forms["wwv_flow"].SUPPLIER[&P143_ITEM.].value = passVal1;
    close(); }
    </script>
    2. ITEMS:
    P143_ITEM
    3. Region Definition: (Suppliers) - SQL Query(Structured Query)
    OAX_SUPPLIERS.ID
    OAX_SUPPLIERS.NAME
    4. Report Attributes: (NAME) - URL
    javascript:passBack('&P143_ITEM.','#NAME#');
    Thank you in advance for you help!

  • Unable to exit forms session deployed through application server10G R2

    Hi all,
    I'm having an issue where I'm unable to exit the forms session.
    1) Installed Oracle Application Server 10g R2 on Windows 2003
    2) Upgraded custom forms from 6i to 10g
    3) Created a forms configuration for the custom forms
    4) Deployed forms.
    5) Accessed the main startup form from the server / client machine
    Browser : Internet Explorer 7.0
    Sun JRE : Java Plug-in 1.5.0_14
    6) Form works fine, but when Action => Exit or Forms window is closed, it
    hangs. Have to close form session by going to task manager and clicking end
    task.
    No issues are there whatsoever with test.fmx and a sample form created with EMP table.
    I'm not sure whether this is an issue with the Java plugin, upgraded forms or with the application server settings.
    Pls help !!
    Regards,
    Sam

    i am also facing the same problem
    pls guide
    ragards
    Ravi

  • "1) it takes TOOOOOO LONG for multi-row tabs to close when i click "close all/other tabs" and 2) it takes TOO long for Firefox to appear after i click the icon on the desktop"

    1) When many tabs are opened in multiple rows (say 50 or 100) it may take an enternity for them to close after I click the appropriate command
    2)MOre often than not, it takes the browser too long to appear (open) after I initiat it by clicking the desktop or start menu icon.
    NB: My first question is PRIMARY (critcally important) and second is additional (would very much like to receive an answer but it's not critical).
    Thanks a lot in advance!
    Best regards, Dmitry.

    Sorry about the bookmarks misread, I installed a Multi-Row Tab style, not for me but it in use deleted 126 of 130 tabs in about 3 seconds and then the last 4, no idea why that happens with the with the multi-row style.
    Did those 100 pages have web forms in them that you filled in an Firefox may be saving data along with the session.
    Here is a test page that you can quickly load up to 120 tabs at a time with an extension such as "Linky". See it if it takes an eternity to close them with the Multi Row tabs extension you are using, then try the same with the extension disabled. Works fast for me all tabs are on one row.
    * 001 '''Tab Capacity Test'''<br>http://dmcritchie.mvps.org/firefox/tab_capacity/001_with_underscore.htm
    Two Extensions to Help -- you may already have one or both
    * '''Stylish-Custom''' :: Add-ons for Firefox<br>https://addons.mozilla.org/en-US/firefox/addon/stylish-custom/
    * '''Linky''' :: Add-ons for Firefox<br>https://addons.mozilla.org/en-US/firefox/addon/linky/
    Style that can be installed after installing "Stylish" extension, style will show two rows of tabs you have to scroll up/down. '''This style does not recognize app-tabs formatting, new in Firefox 4.'''
    * '''App: Multi-Row Tab Bar''' - Themes and Skins for Browser <br>http://userstyles.org/styles/10930
    I put all my tabs on one row you probably would not like it, but you might like the one with the tab borders, which almost works again using multi-row tabs:
    * Tabs Bar Minimal Size - Themes and Skins for Browser <br>http://userstyles.org/styles/9043
    * '''Tab Color Underscoring active/read/unread''' - Themes and Skins for Browser<br>http://userstyles.org/styles/9023

  • Need to Find Total number of InfoPart form in our Web application

    Hello,
    We have to find total number of Infopath forms in our web application. IS there any Power sheell Scripts or anuthing which can output the Infopath Forms location and file count .
    Thanks
    Kundan

    How about something like:
    Get-SPWebApplication http://yourWebAppUrl |
    Get-SPSite -Limit All |
    Get-SPWeb -Limit All |
    Select -ExpandProperty Lists |
    Where { $_.GetType().Name -eq "SPDocumentLibrary" -AND -NOT $_.Hidden } |
    Select -ExpandProperty Items |
    Where { $_.Name -LIKE "*.xsn" }
    Select {$_.Web.Url}, Url
    The above will list all of the files. Do you need counts by library, by site or other?
    Mike Smith TechTrainingNotes.blogspot.com

  • Oracle forms to j2ee/web application

    Hello all,
    I need help with converting "oracle forms" to j2ee/web application. There are only 2-3 forms. But I needed to know how to do it from scratch. I looked at some softwares available to do it. But its costly.
    Basically the company I am working with, needed all the forms online, so that they can access it using a browser. As part of the development, I am using jdeveloper 10g.
    could some help me out
    Thanks a lot
    san

    Well if you need your Forms accesible from a browser you don't need to convert them to Java - you just use Forms on the Web - http://otn.oracle.com/formsupgrade
    If you still want to convert to Java have a look at the Forms page for more info:
    http://otn.oracle.com/products/forms
    and also here:
    http://www.oracle.com/technology/products/jdev/collateral/4gl/formsdesignerj2ee.html

  • Not getting the Parameter Form in Multi-tier Enviroment.

    Hi all,
    I am using Forms 6i and Reports 6i.
    The reports run fine in Client Server mode. It asks for the desired
    parameters based on which I am building the dynamic query.
    But in 3-tier env., it just skips parameter form.
    What is happening I don't know. It is not displaying the errors either.
    Any help is appriciated.
    Thanks.
    SKPani

    Hi,
    Thanks Geeta & Jbaker for your help. But the problem is the user may run it in Client/Server mode as well as in browser. Is there any way to find out whether the application is running in Client/Server or web, so that accordingly i can call run_product or web.show_document().
    Where can i find the file cgicmd.dat and what entry should i add to that file.
    Thanks for your help
    SKPani

  • Passing value from Adobe Interactive form, to the Webdynpro Application

    Hi,
    I have followed all the tutorials on interactive forms in WD for Java, & am able to successfuly display my context data in an interactive form.
    However, i need help with the following:
    1. Online scenario:
    User has filled details in an interactive form & clicks on the submit button.
    The Data from the form is NOT getting passed back to the WebDynpro application.
    2. Offline Scenario:
    User has filledup a pdf file(form), & has uploaded the form to the webdynpro application, using the file-upload UI element.
    How do i read the data that the user has entered in that pdf file?
    Any help with regard to these two queries, will be appreciated.
    Thanks,
    Hanoz

    1) Online Scenario
    check if the context mapping between UI elements and Context is properly done
    check if the cardinality of the Context is alright.
    2) Offline Scenario
    you will have two views.
    one upload view
    and one interactive form view
    in the upload view use the File Upload UI element.
    in the Interactive Form View.... use the same view which you used to create the offline form, thus the interactive form UI element will already know the structure of data and the context mapping in the pdf file when you upload it.
    Add the following line of code to the
    method wdDoInit.
    wdContext.getNodeInfo().getAttribute
    ("pdfObject").getModifiableSimpleTyp
    e();
    Add the following line of code right
    before
    wdThis.wdFirePlugOutToDisplay()
    in the method onActionShowForm().
    wdThis.wdGetTravelRequestCompControl
    ler().wdGetContext().currentContextE
    lement().setPdfObject(wdContext.curr
    entContextElement().getPdfObject());
    in the interactive form view, change the property of the interactive form.... MODE to usePdf.
    regards,
    -Ag.

Maybe you are looking for