Confirm that an end-user wants to exit the application...

Hi ,
Is it possible... to impose the user to answer the question : "Do you want to exit the application"... when presses an exit menu item...????
When the answer is positive then exit form....
I use Oracle Forms 10g....
Thanks , a lot
Simon

If I understood:
a do_key('exit_form');
and KEY-EXIT at form level, with this code?
IF LIBGEN.alert_conferma('CONFERMA Uscita',chr(10)||chr(10)||     'Sicuro? '||chr(10)||chr(10))= 1 THEN
    IF :System.Mode = 'ENTER-QUERY'     THEN 
                /* Prevent 'Query cancelled' Message */   
                     :System.Message_Level := 10;        
                     /* Cancel Query */      
                      Exit_Form(no_validate);     
    END IF;   
    Exit_Form;
END IF;
  Change for you, if code is what you want
Regards
Ros

Similar Messages

  • I want to check that how many users are connected to the wifi which i m using at present

    i want to check that how many users are connected to the wifi which i m using at present???

    Go to Utilities > Airport Utillity
    If you click on your router it should show you the "wireless clients" that are connected

  • When i try and open the auto cad Lt that i just downloaded i get this error The directory may be locked by another process or have been set Read Only. Directory: '/Users/hockaday' Please correct this problem and press OK to exit the application.

    i get this error why i try and open the auto cad that i just downloaded
    The directory may be locked by another process or have been set Read Only.
    Directory: '/Users/hockaday'
    Please correct this problem and press OK to exit the application.

    I did install it in the admin account.  Actually the computer has four accounts, one for my husband, where I installed it.  One for me which also is set to admin, one is called TEST and has nothing in it and one is guest user.
    I don't know how AutoCad is interfacing with the account.  That is why I am not sure what to do about it.  I read other threads in various places and some seemed to point to something having to do with having multiple users.  The solutions were not clear.  I was hoping someone else had this problem and could tell me what to do.  I tried apple support but no help.  I have not tried AutoCad yet as I assumed they wont help since this is a free educational version of their product.

  • The end user want to choose chart type

    Hi experts,
    I have WAD reports and the end user wishes to select the chart type and graphics color at runtime. This is possible do it in BW version 3.5?
    Greetings & Regardas,
    Leonel

    Hi
    Check the following steps :
    1) Drag and drop a Button group item ( BUTTON_GROUP_ITEM_1)  from Standard Web Item panel .
    2) Goto Web item Properties  of BUTTON_GROUP_ITEM_1 .
    3) Under internal display -> List of button -> Create first button ->click right most button there
    This follows a Edit parameter Dialog box
    4)Provide a caption
    5) Action ->select  :  Command via Command wizard
    6) Command-> Select by clicking right most button
    This follows a Edit command Dialog box.
    7) Click on All commands tab -> Commands for Web item ->Double click on Call Chart Properties  Dialog
    8) Then in Command Target  -> Target web item -> Select the target chart say CHART_ITEM_1 -> OK -> Ok
    Hope this helps.. Ask if  you stuck somewhere
    Sonal...

  • Let end user to set up the query

    Hi all!
    Is there a way to let end user to set up a query/report with forms?
    = users can use a form (whit predefined values) to determine which column(s) shows in the result and can add filters before submit.
    Because a cube is stored in relational tables i think it's not an olap question.
    But here is why i asked this:
    I make an application that query an olap cube. I can make reports with apex from the cube view and from dimension views. But i want to let users to select from the available dimensons and measures and set filters on selected dimensions (on first page) using a form. When user submit the form the second page shows the result.
    Thanks
    Edited by: qenchi on 2009.08.09. 7:27

    Hi,
    This is what I've done in that application example.
    1 - I have two pages. Page 1 is the select columns and filters page and Page 2 is the report
    2 - On page 1, I have created a PL/SQL page process, called P1_CREATE_COLLECTION, that runs "Before Header". This is unconditional and has a Source Process of:
    BEGIN
    IF NOT APEX_COLLECTION.COLLECTION_EXISTS('FILTERING') THEN
      APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY('FILTERING', 'SELECT COLUMN_NAME, DATA_TYPE, ''Y'' SHOW_YN, '''' FILTER FROM ALL_TAB_COLUMNS WHERE OWNER = ''#OWNER#'' AND TABLE_NAME = ''EMP3'' ORDER BY COLUMN_ID');
    END IF;
    END;ALL_TAB_COLUMNS contains records for all columns in all tables. In this example, I'm retrieving a list of all of the columns in the EMP3 table (which is just a copy of EMP plus a few extra fields). I'm also getting the data type for the column, setting the "Show" value to Y and starting with an empty filter string for each column. The actual data is retrieved into a collection called FILTERING. In this way, I can store all of the user's selections for use on Page 2. The IF test just ensures that I don't overwrite the collection if it already exists - that is so that I can keep any settings that the user made when they were last on Page 1.
    This collection gives allows me to store the following:
    SEQ_ID - the collection's sequence ID
    C001 - The COLUMN_NAME
    C002 - The DATA_TYPE
    C003 - The Y/N flag for SHOW_IN_REPORT
    C004 - The filter to be applied to the column
    3 - I created a "SQL Query (updateable report)" report. To do this you need to create a report using the SQL Wizard - any SQL statement will do - then you can change the report type from "SQL Query" to "SQL Query (updateable report)". I haven't found another way to do this.
    The report's SQL was changed to:
    SELECT APEX_ITEM.HIDDEN(1, SEQ_ID) || C001 COLUMN_NAME,
    C002 DATA_TYPE,
    APEX_ITEM.SELECT_LIST(3, C003, 'Yes;Y,No;N') SHOW_IN_REPORT,
    APEX_ITEM.TEXT(4, C004) FILTER
    FROM APEX_COLLECTIONS
    WHERE COLLECTION_NAME = 'FILTERING'
    ORDER BY SEQ_IDThis is a "manual tabular form" and is based on the collection created by my process.
    4 - I then created a button on the page called P1_CREATE_REPORT. This is just a normal submit button - the branch for this is to Page 2. On the branch, I ticked the option to "reset pagination for this page"
    5 - Finally, on Page 1, I created a PL/SQL process, triggered by my button, and in the "On Submit - After Computations and Validations" process point. The Process code for this is:
    BEGIN
    FOR x IN 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
    APEX_COLLECTION.UPDATE_MEMBER_ATTRIBUTE(p_collection_name=>'FILTERING', p_seq=>APEX_APPLICATION.G_F01(x), p_attr_number=>3, p_attr_value=>APEX_APPLICATION.G_F03(x));
    APEX_COLLECTION.UPDATE_MEMBER_ATTRIBUTE(p_collection_name=>'FILTERING', p_seq=>APEX_APPLICATION.G_F01(x), p_attr_number=>4, p_attr_value=>APEX_APPLICATION.G_F04(x));
    END LOOP;
    END;This loops through the tabular form after it is submitted and updates the collection with the Y/N Show values and the filters
    Now onto Page 2
    1 - I created a SQL Query report using *SELECT 1 FROM DUAL".  When created, I changed the report type to "SQL Query (PL/SQL function body returning SQL query)" and change the Region Source to the following code:
    DECLARE
    vSQL VARCHAR2(8000);
    vQ CHAR(1);
    vSEP1 VARCHAR2(2);
    vSEP2 VARCHAR2(6);
    BEGIN
    vQ := CHR(39);
    vSEP1 := '';
    vSEP2 := 'WHERE ';
    vSQL := 'SELECT ';
    FOR x IN (SELECT SEQ_ID, C001, C002, C003, C004 FROM APEX_COLLECTIONS WHERE COLLECTION_NAME = 'FILTERING' ORDER BY SEQ_ID)
    LOOP
      IF x.C003 = 'Y' THEN
       vSQL := vSQL || vSEP1 || x.C001;
       vSEP1 := ', ';
      END IF;
    END LOOP;
    vSQL := vSQL || ' FROM EMP3 ';
    FOR x IN (SELECT SEQ_ID, C001, C002, C003, C004 FROM APEX_COLLECTIONS WHERE COLLECTION_NAME = 'FILTERING' ORDER BY SEQ_ID)
    LOOP
      IF LENGTH(x.C004) > 0 THEN
       IF x.C002 = 'VARCHAR2' THEN
        vSQL := vSQL || vSEP2 || x.C001 || '=' || vQ || x.C004 || vQ;
       ELSIF x.C002 = 'DATE' THEN
        vSQL := vSQL || vSEP2 || x.C001 || '=TO_DATE(' || vQ || x.C004 || vQ || ',' || vQ || 'DD/MM/YYYY' || vQ || ')';
       ELSE
        vSQL := vSQL || vSEP2 || x.C001 || '=' || x.C004;
       END IF;
       vSEP2 := 'AND ';
      END IF;
    END LOOP;
    RETURN vSQL;
    END;This loops through the FILTERING collection twice. The first time to build up a SQL SELECT statement containing all of the columns in EMP3 that the user wants to show
    The second loop then builds up a WHERE clause for the statement based on any filters the user wants to apply. I have used the DATA_TYPE values stored in the C004 field to identify the format of the value in the WHERE clause - either VARCHAR2, which puts the string in quotes, DATE, which casts the string as a date using DD/MM/YYYY format and then any other value (which should be NUMBER), which just outputs the value entered.
    Note that I've used vQ to hold the quote character (CHR(39)) as I find this easier than trying to work out how many single, double or triple quotes I need to get quotes within the string.
    All of this just builds up a string (vSQL) which is returned to Apex at the end of the code so that it can build the report.
    Note that I have also ticked the option under the Region Source setting to show "Use Generic Column Names (parse query at runtime only)". This needs to be done as the columns are changeable.
    2 - I created a button called P2_BACK_BUTTON which branches back to Page 1
    Obviously, this is a very basic example. You could, for instance, go one step further and allow the user to pick the table (SELECT TABLE_NAME FROM ALL_TABLES) or view (SELECT VIEW_NAME FROM ALL_VIEWS). As the final report is being constructed as a string, it doesn't matter how the table/view name is derived. You could also add popups for calendars and calculators, where appropriate, on Page 1.
    Andy

  • User wants to schedule the process chain - what is the best practice

    I posted earler and got the anwser.
    Create a custom ABAP program that calls the RSPC_API_CHAIN_START Function Module, with a selection for the Process Chain where your user can enter the Meta Chain name to start the process.
    To make it simpler for the user to execute this, create a custom tcode for them in SE93, so that they logon to your BW environment, call up that tcode, enter the Meta Chain name and execute. With this, they wouldn't have to have access to RSPC.
    I did the above and the user not able to execute it since he doesn't have access to the cube/dso to update the cube.
    To overcome this I wrote another abap program and used the
    SUBMIt program user ALEREMOTE
    and there is a problem.I called the process chain start program using ALEREMOTE .
    Now the user  needs access to authorization object S_BTCH_NAM and authorization field BTCUNAME with value ALEREMOTE.
    So again due to SOX the basis doesn't want to give the necessary access.
    What is the best solution.
    How in general if the user needs to execute the process chain how they do it.
    Please let me know. Thanks for your help in advance.
    Senthil

    Hi Senthil
    In general production scenerio, we do not run process chain manually. To execute a process chain you should have necessary authorization. As you have assigned alertmote in the start variant, any user other thatn that will not be able to trigger the same.
    Instead of alertmote , use the nornal start variant to trigger the process chain and give the user the normal authorization. Whenever user wants to run the infopackage manually or via process chain they should have the auth to view the infoprovider content as well....

  • 2 users want to use the same folder

    which is the best way when 2 users want to use the same folder.
    i know that i can use the public folder
    or
    create a folder and change the protection so that the 2 users have all rights
    is this correct or exist more solutions for this problem?

    you could consider a solution such as Dropbox ...

  • How do you delete old music that it don't want anymore for the iOS 7 update. It gave me all the music I deleted in the past.

    How do you delete old music that it don't want anymore for the iOS 7 update. It gave me all the music I deleted in the past. I tried going to settings and turning off music from the past and it got rid of my music I recently purchased.

    Hello there, Syd_ma22.
    The answer to how to delete a song on your phone in iOS7 is found on page 62 of the iPhone User's Manual:
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    Specifically:
    Remove a song from iPhone. Tap Songs, swipe the song, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • Delivery is to be done at the end user location not at the storage location

    Hai Gurus.
       I have a problem
    I am working for a construction industry.. I had a storage location at say" X":. And in case of emergency for the material to the end user at different locations, delivery is to be done at the end user location not at the storage location.. Where to give the end user location address .As delivery address in PO item details will be plant address. pl help
    regards
    chandrasekhar

    As i underdstand from your  description of issue .You dont want to recive the material in the storage location of your  main plant but you want to recive the goods directly to the end user from the vendor.This is typical scenario of Third party PO ..so kindly traise third part PO to vendor ..by changing the item category ...and so the delivery addfres popolutaed in ur PO will be directly from the ship to address from your sales order.rathewr than the storgae location you wd have specified in ur material master

  • F110-Enhancement: User want to reran the same proposal after delete

    Hi guys
    It would be great if ane one having answers.
    User want to rerun the same proposal  when he likes to update the exchage rate after the payment proposal made   .For this, he will delete the proposal and reran the same proposal.
    This is for only Customers and not for Vendors as F110 itself taking care of vendors.
    Here the requirment is when he reran the same proposal he checks  new proposal documents with the documents  existed in ZTABLE earlier(needs to be crated z table for entries RUN DATE,IDENTIFICATIN,ALL DOCUMENTS belongs to each proposal ). if all documents are same then no issue ..payment ran takes place and then delete those documents from ZTABLE.if not same, for those documents payment should  be blocked(
    i.e any new  documents created  first propal and reran  proposal  those new documents shold be blocked) and then delete those documents from ZTABLE too.
    I found one BADI:   FI_F110_SCHEDULE_JOB which is triggering before proposal made.
    its having one structure  F110V having only contains one vendor(lower limit of vendors) and only one customer ( lower limit of customers) so here i could not get all the vendors and all customers but i can get all open doucments from table BSID and BSIK .
    it can be used to some extent but anyway useless.
    BTE: 1860.
    this can be used but user has to click the line item of the proposal run.if suppose there are more documents , it is also useless.
    Another BTE:2040,2060
    I can use these BTEs to delete those documents stoed in ZTABLE after payment made.
    kindly suggest me if anybody have any idea on this enhancement.
    Thanks
    Babu

    Hi,
    When delete event is fired, in PFR capture the selected tab details
    tabBean.getSelectedIndex(pageContext);
    store it in session
    then
    forward it to warning/dialog page
    post the warning page results to calling page
    in the process form request of calling page capture the event
    use
    tabBean.setSelectedIndex(pageContext,value)
    value get it from session
    pageContext.getSessionValue() API
    Regards
    ivar

  • There is an error when I want to reinstall the applications that came with my mac (after having reinstalled the Mac OS X DVD). What can I do?

    I erased my hard disk and then installed the Mac OS X DVD. After having done this I wanted to install the applications too, for which I introduced the Applications DVD. The DVD is recognized and I follow the instructions given. On the last step, the installation, the Installer shows me a Message. It says that there is an error, and that I should contact the Software developer. It is very weird, because there is no error number or any other explanation. If somebody could help, I would be enormously thankful.

    If you have a backup (and I hope you did one as before any potentially dangerous task), you can restore it.
    If you don't, but have a recent system, you may try to boot in recovery mode.
    If you can't, you have to get another computer (or simply your Windows Mac) to "burn" your system image either on a DVD or a flashdisk (.dmg are just .iso so you can change suffix).
    Anyway, each and every data you had on you HDD, including 3rd party apps, would be lost.

  • My Adobe trial for Photoshop Elements 10 for the Mac was over and I wanted to buy the application. The screen message was "Your trial has expired...but the fun doesn't have to end! Buy now to continue using Photoshop Elements 10 without having to download

    My Adobe trial for Photoshop Elements 10 for the Mac was over and I wanted to buy the application. The screen message was "Your trial has expired...but the fun doesn't have to end! Buy now to continue using Photoshop Elements 10 without having to download or re-install. " and then the button "Buy Now". When I hit the Buy Now button I am put in a field to buy Photoshop Elements 13, with no way to change to Elements 10. I do not want to go through the hassle of reinstalling etc. In fairness, it's been over a month since making the decision to buy. Still, I consider this a nightmare. Any ideas on how to buy the app I've got withou having to purchase a whole new one? Thanks.
    If worse comes to worse, will I need to uninstall the trial if I buy a new version? Can I use part of it lime download assistant?

    Adobe does not sell older versions of their software.  If you wish to purchase an older version you will have to find and take your chances with a third party vendor.

  • I updated my first generation iPad to version 5.1.1 and won't go past the setup screen that asks if I want to use the iPad locator. I can go back but can't get any further.

    I updated my first generation iPad to version 5.1.1 and won't go past the setup screen that asks if I want to use the iPad locator. I can go back but can't get any further

    I just updated my original iPad 32 GB WiFi to iOS 5.1 about fifteen minutes ago.  But I did it with the system restore feature in iTunes.  So it wiped out everything on my iPad.  But it did work.  Then I restored an earlier backup and all went fine.  Maybe you could try backing up your iPad and then using Restore to get it back to factory settings to see what happens. 

  • After changing a mail list name in Server end, users can't see the update in outlook client

    Dear all,
    This is a real issue. I am a Help-desk in a global company and after changing a mail list name in Server end, users can't see the update in outlook client. Even I download Offline address book in full detail, user still can't see the change in her outlook.
    Does anyone know how to fix it?
    Thanks,
    Franklin hong

    Hi,
    Would you please detail what you did by "changing a mail list name in Server end"? What is the mail list and what server?
    If you switch to Online Mode instead of Cached Exchange Mode, does the user see the change?
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • End user can't see the KM content

    Hi,all
    If the end user can't see the KM content(pictures,text documents)
    what may e the problem?On my pc all is working fine.
    May be it depends on InternetOptions->Security options on
    specific computer?
    Regards,
    Michael

    Hello Michael,
    1> Are you an end user as well/
    2> Try and chek the permissions of each Km content i.e pictures, text, documents.
    If the end user does not have rhe permissions then you will have to assign the permissions before the nd user could see rh content
    Thanks
    Pradeep Bhojak

Maybe you are looking for