Why sometimes we have to use two message( ) to display one message ?

Sometimes one message( ) function is not working properly ? We have to use two message( ) to display one message ? Why ?

And just to add a little on what dave said:
You can also detect which button the user has clicked and do some action accordingly.
DECLARE
al_id ALERT;
al_result NUMBER;
BEGIN
  al_id := Find_Alert('MESSAGE');
  SET_ALERT_PROPERTY(al_id, ALERT_MESSAGE_TEXT, 'your message here');
  al_result := Show_Alert(al_id);
  IF al_result = ALERT_BUTTON1 THEN
     ...  --do some action.
  END IF;
END;

Similar Messages

  • How can I use two screens to display one window

    Before Mavericks, MAC OS allowed you to use two screens (next to each other) in order to display one (big) window of one application.
    That would mean that a window would start on your left screen en would continue on the right screen.
    With Mavericks, however, this not possible any more. The window of the application can only be seen on ONE of the screens (i.e. the left one).
    Can any one tell me whether I've missed certain options or how to adjust my settings in order to get this feature back?

    Hey CGNL,
    First, if you haven't already, set up the displays as an extended desktop:
    Choose Apple menu > System Preferences, click Displays, then click Arrangement.
    Follow the onscreen instructions.
    Then, use Mission Control preferences to uncheck/turn off the option for "Displays have separate Spaces":
    Choose Apple menu > System Preferences, click Mission Control
    Uncheck "Displays have separate Spaces"
    That should enable you to stretch whatever window you want across multiple displays.
    via: OS X Mavericks: Connect multiple displays to your Mac
    http://support.apple.com/kb/PH13814
    and
    OS X Mavericks: Mission Control preferences
    http://support.apple.com/kb/PH13925
    Welcome to Apple Support Communities!
    Have a good one,
    Delgadoh

  • New Ipad air is so bad at surfing on the internet, why does it not update the page as you scroll up ? Why is it so slow? Why do you have to use two fingers to scroll up sometimes is so anoying !!!

    i dont want a discussing I want this fixed !!!

    Well you could have asked if i had the last update,which i had not,so after updating to ios7.1 it seems to work much better now.
    So the question is why did you write to to me ....? And look how many there are having had the same problems here, so it is not a unique case...
    I did buy an ipad mini with retina first but it had even worse problem with scrolling and very bad wifi reception,so I took it back to the store and bought this ipad air instead....
    It seems to be a difference between every ipad,so the stability of production of ipads is not really as it should be !

  • Why do I have to use View Message Best alternative to view graphic?

    Often in the last 3 years, back to when I was using Leopard, Mail messages would appear in my mailbox which obviously contained graphics or pictures but which didn't show up in the email. (There would be paperclip icon in the right column.)
    By going to View>Message>Best Alternative I can get the picture to show up.
    Why do I need to do this? I recall in earlier versions of Mail this never happened.
    Is there a way in Mail Preferences to change that? I can't find any setting that relates to that.
    I am using 10.7 Lion, I have Mail set to Classic Layout. Thanx.

    Netflix determines which program their movies are to use. Firefox has no control over it.

  • HT204053 What are the pros and cons of 1) choosing to use the SAME Apple ID for iCloud services on one side, and purchases on the iTunes Store, App Store, and iBookstore, on the other side; or 2) to have and use two separate Apple Ids for these "two sides

    All is in the title, so I repeat it below with a better identation.
    What are the pros and cons of
    1) choosing to use the SAME
                                                  Apple ID for iCloud services on one side, and
                                                  purchases on the iTunes Store, App Store, and iBookstore, on the other side; or
    2) to have and use two separate Apple Ids for these "two sides"?
    P.S.
    I have loads and loads of free podcasts in iTunes in my iMac, that are certainly more thant the 5 gigas the iCloud provides for free, so I don't want those to go to the cloud. But this is perhaps a different question...
    Also need to mention that I have itunes on a mac, a pc and an iphone.
    Sorry to look so silly with this question, but I don't get the "big picture".

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • Why do i have to use nextLine() when there is an InputMismatchException

    I dont understand why do i have to use this line of code to avoid an infinite loop here...help appreciated.
    import java.util.Scanner;
    import java.util.InputMismatchException;
    public class InputTest {
         public static void main(String [] args){
         Scanner in = new Scanner(System.in);
         int n = 0;
         while(true){
              try{
                   System.out.println("Input a number:");
                   n = in.nextInt();
                   break;
              }catch(InputMismatchException exc){
                   System.out.println("Error, non-valid input.");
                   //in.nextLine(); <--If i use this line of code it doesn't get into an infinite loop
                             System.out.println("Integer read is: " + n);
    }

    Rix87 wrote:
    When i run the program if i input something that triggers the exception, it infinitely loops through the question and the catch method block outputs, weirdest thing of all is that i can't even input again after the exception is thrown, but with nextLine() it avoids that, but i still dont understand why do i have to use nextLine().Exactly what I said.
    You enter "A". The exception is thrown. The "A" is not consumed. It calls nextInt on "A" again... and again... and again...
    If you do nextLine, the "A" and the newline are consumed.
    Even on good input, I don't think nextInt consumes the EOL.

  • WHy should we have to use to update ipod touch

    WHy should we have to use to update ipod touch

    Your question does not make sense. Please clarify.
    GamingChamp wrote:
    WHy should we have to use to update ipod touch

  • HT201250 Why do i have to use the password for time capsule every time i start my computer

    Why do I have to use thr password for time capsuel every time I start my imac?

    With hindsight, the previous response I got from Apple was just a way of shelving the problem.
    Having just had to reset my password after another 3 months, I contacted Apple again, and it happened that the senior advisor whom the phone agent consulted had had exactly the same problem as me, and had found that iTunes could fix it.  However when I spoke to iTunes they told me I needed to speak to Apple ID account security.  The Apple ID account security representative spoke to a senior adviser, then told me that it would be fixed after I reset my password.  However I am not convinced that anything was actually done, so I may be back here in another 3 months ...
    To modify Roger's advice, the solution I was given is: go to https://expresslane.apple.com ; select 'All Products and Services' in the first column, 'iTunes' in the second column, 'iTunes Store' in the third column, then "Account Management" and "Apple ID account security", then "Talk to Apple support now". A complication is that the "Talk to Apple support now" option only appears when UK English is selected.  So you either need to select UK at the top, or find another way of making phone contact (the email link just went back to the person in iTunes)!

  • The on/off button on my iPhone 5S is difficult to use.  Sometimes I have to use a golf tee to get it to shut off.  Is this a common problem and can it be fixed?

    The on/off button on my iPhone 5S is difficult to use.  Sometimes I have to use a golf tee to get it to shut off.  Is this a common problem and can it be fixed?

    I'm not sure what difference it makes if its a common problem or not but as its a hardware problem it needs to fixed so take it into an Apple store or authorized iPhone service provider and ask them what can be done.

  • Why sometimes I have to click twice on a Button?

    Hello All.
    I have a curiosity. Why sometimes I have to click twice on a button to its to run event?
    For example, I have a button that changes the presence of a page for hidden, but I have to click twice on it to run the event.
    Thanks

    Srini.
    Exactly this! My script was with error. Now It´s works very well.
    Thanks you for your correct reply.

  • How can I use two single-dimensional arrays-one for the titles and array

    I want to Use two single-dimensional arrays-one for the titles and one for the ID
    Could everyone help me how can i write the code for it?
    Flower
    public class Video
    public static void main(String[] args) throws Exception
    int[][] ID =
    { {145,147,148},
    {146,149, 150} };
    String[][] Titles=
    { {"Barney","True Grit","The night before Christmas"},
    {"Lalla", "Jacke Chan", "Metal"} };
    int x, y;
    int r, c;
    System.out.println("List before Sort");
    for(c =0; c< 3; ++c)
    for(r=0; r< 3; ++ r)
    System.out.println("ID:" + ID[c][r]+ "\tTitle: " + Titles[c][r]);
    System.out.println("\nAfter Sort:");
    for(c =0; c< 3; ++c)
    for(r=0; r< 3; ++ r)
    System.out.println("ID:" + ID[c][r]+ "\tTitle: " + Titles[c][r]);

    This is one of the most bizarre questions I have seen here:
    public class Video
    public static void main(String[] args) throws Exception
    int[] ID = {145,147,148, 146,149, 150};
    String[] Titles= {"Barney","True Grit","The night before Christmas", "Lalla", "Jacke Chan", "Metal"};
    System.out.println("List before Sort");
    for(int i = 0; i < Titles.length; i++)
       System.out.println("ID:" + ID[i]+ "\tTitle: " + Titles);
    System.out.println("\nAfter Sort:");
    for(int i = 0; c < Titles.length; i++)
    System.out.println("ID:" + ID[i]+ "\tTitle: " + Titles[i]);
    Generally you don't use prefix (++c) operators in you for loop. Use postfix (c++).
    Prefix means that it will increment the variable before the loop body is executed. Postfix will cause it to increment after.

  • Can I use two Time Capsules? one as an extension of my laptop (for music and video storage) and the other one to back up everything from the laptop and  Time Capsule (for music and videos)

    Can I use two Time Capsules? one as an extension of my laptop (for music and video storage) and the other one to back up everything from the laptop and  Time Capsule (for music and videos)

    Not via Time Machine.   It cannot back up from a network location.
    The 3rd-party apps CarbonCopyCloner and ChronoSync may be workable alternatives.
    EDIT:  And, if you're going to do that, you could back up from the Time Capsule to a USB drive connected to the TC's USB port.  Second TC not required.
    Message was edited by: Pondini

  • Can i Use two qery hints in one SQL(Oracle)?

    Hi,
    Can i Use two Query hints in one SQL(Oracle)? USE_HASH and No_Merge
    Thanks

    user10916886 wrote:
    Can I use like
    /*+ USE_HASH(X,Y) NO_MERGE(X) */
    will this work?Not really: NO_MERGE relates to mergeable views, not base tables. So whilst the USE_HASH may result in a hash join between the tables X and Y, USE_MERGE will be ignored for X.
    As hoek says, however, HINTs should be a last resort only, and if they're to be used at all you're best to stay with those that don't involve explicit objects, like ALL_ROWS, FIRST_ROWS_10, etc.
    user10916886 wrote:
    Im my database, if i don't use query hints. The expalin plan uses Nested loops, hence the query takes a lot of time.You would be better trying the ALL_ROWS hint here, instead of USE_HASH.
    Edit
    The optimizer, however, will have chosen NESTED LOOPs where it did because it believed that to be the most efficient data retrieval path with the information that it had to hand. So, if your statistics are comprehensive and up-to-date, yet the optimizer is continually opting for the less efficient plan, there's something else wrong, and HINTs are only masking that problem in the short-term.

  • Using Two Minotors with Display Spanning Monitors

    I'm interested exploring the option of using two monitors to display apps such as: Aperture, CS2 Photoshop (used as the external editor to Aperture), FinalCut Express and iMovie. My G5's video card will handle two monitors so that shouldn't be a problem. But was wondering how the spanning of the video display between two monitors works for these apps and if this is an efficient workflow?
    I have an Apple 20" Cinema Display and wish I had purchased a bigger monitor. However a Windows friend insists two monitors that span the application display accross both monitors is more efficient than a larger monitor. Two 20" monitors certainly would have more screen "real estate" than a single 23" monitor but I don't know how well a dual monitor set up would actually work!
    Interested in your experience here!
    Thanks!

    Hello Sven
    The only issue with dual monitors is not having them once you've had them!!! It is very addictive and very very productive..
    Having used monitors of odd sizes and now have two the same size, I would strongly suggest having two the same size!!
    Steps in the use of
    1. Level the two tops of the monitors slightly above eye height
    2. Put the monitors in a very slight arc
    3. Now sit slightly in front of one (just off centre), this is your main monitor. Your work window with the menu at the top.
    4. Now move all the junk to the second window, toolbars, palettes email RSS newsgroups and so on..
    You now can glance at the second monitor WITHOUT moving your head and this is where time is saved. As you get used to the same items being in the same place I can seem to change things from my peripheral vision.. Now your flying !!
    So to run two applications dependently eg a picture in photoshop from Aperture. Aperture in the main window and Photoshop in the other with all the junk!!
    I have also sat for long periods at a friends 32" and get terrible neck ache, your always sat/looking in wrong the place
    Good luck, any more questions fire away..
    Miles

  • Hi, I use two email addresses within one account with gmx.  I created one account with the first email address now. How do I add the second one to this account? Now it looks like this. One account was opened with address A. I receive in this account email

    Hi, I use two email addresses within one account with gmx.
    I created one account with the first email address now. How do I add the second one to this account?
    Now it looks like this.
    One account was opened with address A.
    I receive in this account emails for address A and B.
    But I can only write and answer with address A.

    Hi Rudegar,
    Sorry for my late reply.
    It s not the amount of accounts I'm struggling with.
    When I create now for both email addresses one account, then I receive the same emails two times.
    That is not what I want.
    Because on gmx the two email addresses have the same inbox and outbox.
    E.g. I can login to my gmx account either with email A or B. It doesn't matter.
    Now I want to have the same on my ipad.
    One account with both email addresses.

Maybe you are looking for

  • Itunes encounters an error and closes when I try to sync pictures

    When I try to sync pictures to my itouch itunes encounters an error and shuts down. I have the itouch attached to the computer and my settings are to get pictures from file folder. I have done all the updates and have searched the support discussions

  • "Hide specified Control Panel items" no effect on 2012 R2?

    That is from gpresult /h from user that is logged in viewing the control panel. Also weird behavior. When I type "control panel" from the start screen I get no results. Only way I can open control panel is from PC Settings...?

  • It is still doing the same thing

    It is going crazy when i click on the start it goes crazy and will not let me click on anything

  • Getting the n900

    Guys i should be getting the n900 in two weeks, it seems like the best phone in the market, but i have a few questions, first i live in lebanon, so will my n900 gets fm transmitter enabled ?? And guys i don't know anything about flashing the device,

  • Flash Player Problem on Mac

    You appear to have found one problem with the update (13). My Mac is running 10.6.8 and was mfg. during the time frame yo noted. Please advise once this is fixed. I did load the older "12" version after running uninstall. Videos seem to be running co