Alert Message and linefeeds

I can create a multi-line alert in the Forms 6i Builder, Alert Property Palette, in the Message by using the editor window and typing and using the Enter key to break the line. When I close the edit window, the text shows up on the property with a box where the linefeed is. If I cut the box and paste it into a different editor, I see it is actually the chr(10) linefeed character.
When I compile and run the form on Web Forms 6i, the message displays as a multi-line message, with linefeeds where I wanted them.
However, I cannot use Set_Alert_Property to set the message. The Chr(10) characters are displayed on the web forms as a square box.
An earlier topic here reported that using \n or /n in place of chr(10) would work in Web Forms, but I cannot get either to work.
So if anyone knows how to use Set_Alert_Property to set the message containing a linefeed that works on Web Forms 6i, I would really like to know.
Thanks in advance.

Ok, upon further investigation, I found that I was mixing alert messages with stacked messages via the Message command. We use a generic PLL_ALERT call to display popup windows. It checks to see if an alert named 'ALERT_001' is defined in the current fmb, and if so, AND if the message is less than 200 characters, uses the alert. If there is no alert defined or if the message is more than 200 characters, uses the stacked message command.
It is in the stacked message on the web where both CHR(10) and CHR(13) do NOT work.
Here is what I found:
CHR(10) starts a new line for:
  Forms6 client/server alert
  Forms6 client/server message
  Forms6 web alert
  ***fails (space) Forms6 web message
CHR(13) starts a new line for:
  Forms6 client/server alert
  Forms6 client/server message
  ***fails (a box) Forms6 web alert
  ***fails (a box) Forms6 web message
CHR(138) starts a new line for:
  ***fails (S) Forms6 client/server alert
  ***fails (S) Forms6 client/server message
  Forms6 web alert
  Forms6 web message
The CHR(138) 'S' has a curve (umlaut?) above it in Forms6 client/server.
Here is the code I used in a key-dup-item trigger to get my results above:
DECLARE
  msg VARCHAR2(300) :=
    '____long_line_to_set_alert_window_width____ '
    ||'CHR(10)---a'||CHR(10)||'b---'
    ||'CHR(13)---c'||CHR(13)||'d---'
    ||'CHR(138)---e'||CHR(138)||'f---';
BEGIN
  SET_ALERT_PROPERTY('ALERT_001',ALERT_MESSAGE_TEXT,msg);
  IF SHOW_ALERT('ALERT_001') = 0 THEN NULL; END IF;
  -- stacked messge --
  MESSAGE(msg);
  MESSAGE(' ',NO_ACKNOWLEDGE);
END;

Similar Messages

  • My ipad was is displaying an alert message " A wi-fi connection is required to download your apps and media". So it has been connected to the internet over night and this morning but is still displaying the alert message and it won't go away. what to do?

    Hi,
    My name is Norbert. I am having some difficulties restoring my icloud back up. My ipad was doing an icloud back up and the alert message displayed on the ipad after my internet was interrupted "A wi-fi connection is required to download your apps and media".
    I got the internet working, my ipad is receiving internet network but the alert message is still displayed on the ipad and won't go away, to make matters worse the ipad is frozen and i can't do anything.
    Please can anyone with a similar experience tell me what to do in this situation?
    Thank you

    Welcome to the Apple Community.
    Have you tried a hard restart. Press the on/off button and homescreen buttons together until the device shuts down.

  • Alert message and timeout PJC

    Hi,
    We are using timeout PJC  functionality for our web forms. It's working fine and the form application display the alert/message whenever inactivity time reaches(which is set for 30 minutes). The issue is when you minimized the form application by clicking the browser's minimized button and now let say you are working in Toad or some other application and in a mean time your form application which is minimized and its inactivity time reaches but the alert/message is hidden with the minimized form application. Is there anyway to show the alert/message in my current working window/application? Any advise/suggestion please?
    Thanks
    RM

    Hi Francois,
    The frmall.jar is already in C:\Oracle10g_ds\forms\java location. But still when i try to compile TimeoutPJC.java in jdeveloper i get the comilation errors.
    Compiling...
    C:\Oracle10g_ds\jdev\bin\ojc.exe -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -target 1.2 -encoding Cp1252 -g -d C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes -make C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes\Project.cdi -classpath C:\Oracle10g_ds\jdk\jre\lib\rt.jar;C:\Oracle10g_ds\jdk\jre\lib\i18n.jar;C:\Oracle10g_ds\jdk\jre\lib\sunrsasign.jar;C:\Oracle10g_ds\jdk\jre\lib\jsse.jar;C:\Oracle10g_ds\jdk\jre\lib\jce.jar;C:\Oracle10g_ds\jdk\jre\lib\charsets.jar;C:\Oracle10g_ds\jdk\jre\classes;C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes -sourcepath C:\Oracle10g_ds\jdev\mywork\Application1\Project\src;C:\Oracle10g_ds\forms\demos\timeout\src;C:\Oracle10g_ds\jdk\src.zip C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
      compiling C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
    [1:07:42 PM] Compilation complete: 6 errors, 0 warnings.
    Project: C:\Oracle10g_ds\jdev\mywork\Application1\Project\Project.jpr
    C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
    Error(46,28): cannot access class oracle.forms.engine.Main; file oracle\forms\engine\Main.class not found
    Error(47,29): cannot access class oracle.forms.handler.IHandler; file oracle\forms\handler\IHandler.class not found
    Error(48,32): cannot access class oracle.forms.properties.ID; file oracle\forms\properties\ID.class not found
    Error(49,24): cannot access class oracle.forms.ui.CustomEvent; file oracle\forms\ui\CustomEvent.class not found
    Error(50,24): cannot access class oracle.forms.ui.VBean; file oracle\forms\ui\VBean.class not found
    Error(52,33): class VBean not found in class oracle.forms.demos.TimeoutPJC
    Thanks RM

  • How to position all alert messages in a particular position?

    Hi All,
            I have developed a Application where it contains so many Alert Messages and i want display All Alert messages in a particular position of respected screen. I have tried the following code but it works for individual alert messages. I don't want to set x and y properties individually, i want set x and y properties globally. Is there any way that i can apply for all the alert messages in my application.
    myAlert = Alert.show('Hello World');
      PopUpManager.centerPopUp(myAlert);
      myAlert.x = 0;
      myAlert.y = 0;
    Thanks in Advance

    You could override the Alert class. This would like something like:
    public class MyAlert extends Alert {
    public get x():void {
    return 0;
    public get y():void {
    return 0;

  • Sound for messages and e-Mail get turned off after using handsfree in car

    Does anyone have a solution when sounds alerting messages and e-mails are turned off after using the phone in var with handsfree (using Bluetooth)? The sounds are turned back on when restarting the phone but reoccurs after driving in car with handsfree again. This is very annoying when takling several trips with car during a day. The phone still rings when receiving a call.

    I did find a solution to my iPhone-iPod-music-overriding-streaming-streaming-services-while-connected-to-USB problem  Although, this solution is likely only applicable to BMW owners with the BMW Apps feature aka 6NR.
    There may be other/simpler ways, but this seems to work:
    1) Launch Pandora (or could be Mog, or other BMW Apps app) BEFORE you start iPhone/iPod playback
    2) Start playback of Pandora via ConnectedDrive/BMW Apps.
    3) Press Home button on iPhone, launch your streaming app.
    The car still seems to think it's in the ConnectedDrive audio menu, as evidenced by the Entertainment details screen. You can now consistently play back any other audio service via your iPhone without the iPod audio overriding what you're doing. Good times! The only drawback so far is lack of ability to skip tracks via the steering wheel.
    As long as you haven't started iPhone/iPod playback when you get in the car, you can often skip steps #1 and #2, and go straight into the ConnectedDrive menu, then go to step #3.  Either way, following steps #1-3 works everytime.

  • An alert message pops up upon opening saying could not initiate application security component, and it says to check to see if profile has no read/write restrictions.

    An alert message pops up upon opening saying could not initiate application security component, and it says to check to see if profile has no read/write restrictions. Than when it opens all of my saved passwords are gone, I use a master password and its disabled. When I try to enter in a new on e it says can't change password. I can't even open yahoo e-mail says that my ssl security is down but when I check it its clicked. I'm just very confused as to whats going on.
    == This happened ==
    Every time Firefox opened
    == 5/14/2010 ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5

    See [[Could not initialize the browser security component]]
    Rename (or delete) secmod.db (secmod.db.old) in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] in case there is a problem with the file.

  • Outlook 2016 getting crashed and throws an alert message as "microsoft outlook has encountered a problem and needs to close.

    Hi,
    Today i installed Microsoft Office 2016 preview for my Mac OS X 10.10 Yosemite. Word, Excel and Powerpoint applications are working without any problem. However, Outlook getting crashed and throws an alert message as "microsoft outlook has encountered a problem and needs to close.", it's happens always, when i launch outlook. please suggest me, how can i comet from this issue.
    Thanks in advance,
    Suresh Balakrishnan.

    Go to the Microsoft site for help. These forums are not offering support for MS products, especially not for beta products.

  • Why do i keep getting an Alert message saying "The URL is not valid and cannot be loaded "?

    Why do i keep getting an Alert message saying "The URL is not valid and cannot be loaded "?
    This happens a lot regardless of the web page. I continually have to restart FF and it persists still

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Since i have updated my iphone everytime i open an app it comes up with a message 'connect to itunes to use push notifications, may include alerts, sounds and icon badges, i have backed up my phone on itunes and restored phone but its still doing it, :(

    since i have updated my iphone everytime i open an app it comes up with a message 'connect to itunes to use push notifications, may include alerts, sounds and icon badges, i have backed up my phone on itunes and restored phone but its still doing it  can anyone help?
    Em

    Return the iPhone and get your money back. It has been
    hacked/modified/jailbroken and likely cannot be made
    operative.

  • Push Notifications. The Message "Connect to iTunes to Use Push Notifications "BBC History Magazine" notifications may include alerts, sounds and icon badges" keeps coming up in Newstand, also happens with National Geographic Magazine. HELP!

    The Message "Connect to iTunes to Use Push Notifications "BBC History Magazine" notifications may include alerts, sounds and icon badges" keeps coming up in Newstand, also happens with National Geographic Magazine. HELP!
    I have now followed multiple instructions from this and other forums. have turned push notifications off. Turned them on. Have updated to IOS 6. Have signed out and signed back in, have uninstalled all magazines and reinstalled. Have synced, and updated everything in iTunes.
    Nothing works,. Also cannot use youtube.

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.
    It might also be a good idea to contact Square for assistance.

  • How do I get rid of the iCloud Backup alert message?  I cannot do anything with my iPad and cannot get rid of the alert. I have plugged in the iPad with Wifi on, but it won't reset.  Thanks

    How do I get rid of the iCloud Backup alert message?  I cannot do anything with my iPad and cannot get rid of the alert. I have plugged in the iPad with Wifi on, but it won't reset.  Thanks

    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • How to validate the incoming field value and raise an alert message

    Dear all,
    I have the following structure
    If incoming value for the field externalid is empty then i have to raise a alert message to end user "externalid field is empty for the id : id number" and for all incoming values it should work. I used the following udf on field externalid with two arguments
    if(externalid.equals(""))
    throw new RuntimeException("externalid field empty for the following id : " +id);
    else
    return externalid;
    This is working fine for single record. But for many records(multiple occurences), this logic is not working as if records 2 and 3 fails it is showing exception externalid field is empty for the id : record 2.
    how to achieve the tranformation logic ?
    Regards
    Koti Reddy

    Hi Amit,
    I have tried the above udf, but still stuck-up.
    For the above structure shown in image, i have tested giving the following payload
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:upsertRequest xmlns:ns0="http://sap.com/xi/SFIHCM01">
       <sessionId/>
       <upsert>
          <type/>
          <sfobject>
             <id>1</id>
             <businessKeys>1</businessKeys>
             <type>1</type>
             <status>1</status>
             <externalId>1</externalId>
             <username>1</username>
             <firstName>1</firstName>
             <lastName>1</lastName>
             <mi>1</mi>
             <gender>1</gender>
             <email>1</email>
             <managerExternalId>1</managerExternalId>
             <hrExternalId>1</hrExternalId>
             <department/>
             <jobCode/>
             <division/>
             <location/>
             <timeZone>1</timeZone>
             <hireDate/>
             <empId/>
             <title/>
             <businessPhone/>
             <fax/>
             <addressLine1/>
             <addressLine2/>
             <city/>
             <state/>
             <country/>
             <zipCode/>
             <reviewFreq/>
             <lastReviewDate/>
             <matrixManagerExternalIds/>
             <defaultLocale/>
             <customManagerExternalIds/>
             <secondManagerExternalId/>
             <loginMethod/>
             <proxy/>
          </sfobject>
          <sfobject>
             <id>2</id>
             <businessKeys>2</businessKeys>
             <type>2</type>
             <status>2</status>
             <externalId>2</externalId>
             <username>2</username>
             <firstName>2</firstName>
             <lastName>2</lastName>
             <mi>2</mi>
             <gender>2</gender>
             <email>2</email>
             <managerExternalId>2</managerExternalId>
             <hrExternalId/>
             <department/>
             <jobCode/>
             <division/>
             <location/>
             <timeZone/>
             <hireDate/>
             <empId/>
             <title/>
             <businessPhone/>
             <fax/>
             <addressLine1/>
             <addressLine2/>
             <city/>
             <state/>
             <country/>
             <zipCode/>
             <reviewFreq/>
             <lastReviewDate/>
             <matrixManagerExternalIds/>
             <defaultLocale/>
             <customManagerExternalIds/>
             <secondManagerExternalId/>
             <loginMethod/>
             <proxy/>
          </sfobject>
          <processingParam>
             <name/>
             <value/>
          </processingParam>
       </upsert>
    </ns0:upsertRequest>
    No node is creating for success records, instead it throws exception that "externalid field is missing for the id": id     for empty externalid field value in second record.
    But my requirement is..... when i process 50 records, records with missing value for field externalid should raise an alert message to end user intimating him to check the externalid field for particular id. If the value for externalid field is present in incoming record/payload, then it should be passed to target system.
    How can i implement this logic ?
    Regards
    Koti Reddy

  • Hi. when I'm texting, if the person i'm texting sends a text before i've sent mine, i dont get an alert sound and the message only arrives after mine is sent even though i may know its there waiting. I didnt have this problem till i updated software. 4s

    Hi all. Hope someone can help with this infuriating issue that I didn't have until updating. If a friend texts me while I'm texting them, I don't get an alert sound and the message stays outside waiting for me to send and finish. When I send, my friends message comes in but ive probably gone to home position and missed it. waiting for replies till all hours.

    I think the problem lays with Last.fm. I had the same exact problem as you. In your processes screen, end the task "lastfmhelper.exe" Last.fm still scrobbles. The tracks don't skip, although I notice there is still a bit of a lag in the first part of the song - but if you can deal with that, no skipping. I think you will have to end that task everytime you boot up your computer, or uninstall last.fm completely until they fix it; it is a bug in their software, as opposed to iTunes.

  • I can't connect to the itunes store.  I've tried everything in the articles for trouble shooting and nothing works.  My library comes up, my ipod syncs, and I get no alert messages.  I'm running Vista.

    I can't connect to the itunes store.  I've tried everything in the articles for trouble shooting and nothing works.  My library comes up, my ipod syncs, and I get no alert messages.  I'm running Vista.

    I can't connect to the itunes store.  I've tried everything in the articles for trouble shooting and nothing works.  My library comes up, my ipod syncs, and I get no alert messages.  I'm running Vista.

  • Release notes for 2.16 states that there was a fix for alerts not being modal. We are using 3.0.6 and are experiencing the same issue; was there a regression to the modal fix. What version needs to be used to make sure that alert messages are modal?

    Release notes for 2.16 states that there was a fix for alerts not being modal. We are using 3.0.6 and are experiencing the same issue; was there a regression to the modal fix. What version needs to be used to make sure that alert messages are modal?

    We are trying to determine why alert boxes are not modal
    The fix states it's for Firefox 2.0 - 3.7a1pre
    We are using 3.0.6 not the current version of 3.6.13.
    Add-on release notes 2.16.1
    https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/versions/
    Repeating 2.16 release notes since 2.16 was not made available for more than a couple of hours
    Fixed bug whereby some alert boxes weren't properly parented/owned. This led to some alerts not being properly modal
    with respect to the window/dialog that issued the alert.

Maybe you are looking for

  • Phone calls not showing up on my internet phone list

    I just noticed that I cannot get into my phone call listing. I cannot retrieve voice mails, or the log of missed calls, received calls or sent calls from my comcast phone #'s Please correct ASAP Thank you

  • Unable to install Oracle 8i Enterprise edition on Win2k Professional

    Hi, I upgraded windows98 with Win2k Professional. When i try to install Oracle 8i Enterprise edition from CD on Win2k Professional, i am get the following message: The Java Run time environment was not found at ../stage/components/oracle/swd/jre/1.1.

  • How to get XML child number

    In AS2 you could use numChildren to get the number of children in a given XML file, whats the equivalent in AS3? Ive tried using var myNum:Number = myXMLname.numChildren , but when I trace it I just get 0. Thanks

  • How to we create interface between EP-XI

    How to we create interface between EP-XI... Is there any real time scenario for that.......

  • Users cannot authenticate

    Hello I recently had a lot of errors on two ML servers actinbg as OD Master/Replica, so decided to reinstall from scratch. One is running OS X 10.8.2, the other 10.8. Both are vanilla installs (going so far as to recreate the RAID), and both have the