with regard to the command 'message '.

Hello experts,

is there a way I can customize the message box displayed.

the default message is a stop message. I need to be a warning or a note

Thank you

Kevin - looks like you just need to go to alerts, look for that particular one and change the Style of "alert" make a remark, but maybe that I don't understand the question.

In almost all the forms I create, I create a generic alert so I can enter any TITLE and any MESSAGE at any time. This is how you would do that:

--
-Create a new alert.
-Under "Alerts" section, create a new alert:
--
Name - GENERIC_ALERT
Style alert - notes
Button 1 label - Yes
2 Label button - don't
Alert button by default - key 2

--
-Create a new procedure
-Under "program units" to create a new PROCEDURE.
--
PROCEDURE call_generic_alert (p_title varchar2,
p_message varchar2)
IS
alert_id ALERT;
button_pressed number (12);
alert_not_found exception;
BEGIN
alert_id: = FIND_ALERT ('GENERIC_ALERT');
If id_null (alert_id) then
raise alert_not_found;
end if;

set_alert_property (alert_id, p_title TITLE);
set_alert_property (ALERT_MESSAGE_TEXT, alert_id, p_message);
button_pressed: = show_alert (alert_id);

If button_pressed = ALERT_BUTTON1 then
null;
on the other
raise form_trigger_failure;
end if;

EXCEPTION
WHEN alert_not_found then
message ("alert STOP does not exist '");
raise form_trigger_failure;
END;

You can now use this generic alert, when you want. You can pass in the title you want to give it and the message that you want to display. If they hit the YES button then the alert will just go and continue the treatment. If they hit the button NO (by default) then the alert will disappear but the treatment stops. He would just put the next call to where ever you need (triggers, program units):

call_generic_alert ('employee search',
"You're about to do something you'll regret, do you want to continue?');

Don't forget the title and the message is everything you want to put in there because they are just settings will the procedure - it is just an example where the title is "Employee Lookup" and «you are about to do something...» "message.

If you want only one button, then change the alert to only display a single button and change the procedure only look for a button.

Hope this helps - mike

Tags: Oracle Development

Similar Questions

  • split with regard to the text message

    Hello

    I want to extract the number of text Message

    for example:

    number is 9876543211

    another number is 1234567890

    I want to extract these number two chain.

    How I could do it, I got listening on the split string, but I don't know how to divide or extract the GSM number

    I want to extract like this:

    9876543211

    1234567890

    Only numbers

    If another number then it is the new line

    Thanks in advance

    I just extract the number, but as a '98765432111234567890 '.

    I want to split it.

    Thanks and greetings

    Anthony singh

    You can use CharacterUtilities.isDigit (char ch) method to check if supplied character is numeric or not. Regarding the splitting of the text, I guess you need to build your logic according to your criteria of cleavage.

  • With regard to the application of Nook on the Surface RT. Is there a way to change the way that newspapers appear?

    With regard to the application of Nook on the Surface RT.  Is there a way to change the way that newspapers appear?  Like corners, they give a better way to navigate and get the overview for the different sections.

    Probably not "such what."  Next time you launch the application, make sure that the menu bar to it and see if there is a feedback icon.  You may be able to comment on what features you want and they can do just that.

  • I had Photoshop CS for a while. I use it for one purpose, which is to standardize my bronze products photos, all photos are identical with regard to the composition, lighting, backgrownd, actually, I always place the same scale of assessment pr

    I had Photoshop CS for a while. I use it for one purpose, which is to standardize my bronze products photos, all photos are identical with regard to the composition, lighting, backgrownd, actually, I always place the pillar of satisfaction even scale and then only switch products bronze... a simple task of worm. For this reason I have is no need to upgrade my old version of Photoshop. My problem is that it doesn't work anymore since Windows 10 recently installed in my PC. IO have tried to install it several times but can't. Is anyone out there help me please!

    Activation for CS is closed. Adobe provides you with a free replacement of CS2.

    Uninstall CS

    Go here: Download Adobe Acrobat 7 and Adobe Creative Suite 2 products

    Click English, download Photoshop CS2 and also copy the serial number that comes with it.

    Install CS2 and use this serial number CS2. There no need activation.

    Take your copy of the CS, it is no longer usable.

  • With regard to the previous discussion on the recent settings of the workspace page

    With regard to the post Re: recent files page , when I went back to answer, there is no way to reply to the post.  After trying the settings using the provided screenshots, page of recent files always came every time.  So the answers you have provided are not correct for my particular case.  Finally, I tried without any control in the preferences and that my custom workspace save as I wanted.  Here is how I had to define it.

    Thank you.

    cc-152.jpg

    It is doubly strange.  I just check and that the other thread is not locked and can be answered.  Someone else has a problem, you reply to this thread.

    Secondly, I turn off the settings described works for me and Photoshop opens without MRU and start work space.

    You did _uncheck_ these settings?  I like the new workspaces, so mine are checked, but it clearly says _Show_ at the beginning of each line.

  • With regard to the update of the locations of cards-oracle

    HII everyone,

    In my application, we using mapviewer, which was installed locally on our server, for map rendering and showing the locations of a client like pinball machines.

    Suppose that some places (address, City) is updated map... How mapviewer (which has been installed on our server locally) will update this site all in rendering...

    Thank you

    learner

    It depends on how you got the map features.  Mapfeatures are usually stored in the cache.  If a change in database may not appear in the card immediately.  If, however, given the characteristics of the map as a vectorlayer, then simple vector update updates map.  You should consider two options with regard to the update database process.  You can store the geometry as a function that is updated on the fly as change attributes of database, or you may use a database trigger to update the geometry when the attributes change.  Thus, using a combination of correct space architecture and mapviewer correct functions.

  • With regard to the management of exceptions in coherence

    Hello
    I use c ++ connection of consistency

    try {}
    String::handle gridHandleCache = GridCacheName;

    if(hCommCache == null) {}
    hCommCache = CacheFactory::getCache (gridHandleCache);
    }
    else {}

    "cost < <" Info: "< < GridCacheName < <" Cache already in a State of assets "< < endl;"
    }
    }
    {catch (exception::handle Vex)}

    "' cost < < ' consistency exe;
    }
    {} catch (std::exception (e)
    cost < < e.what ();
    }
    catch (...) {
    cost < < 'unknown exception ';
    }


    When the error occurred (duration or other errors), I still get an exception unname. It will never enter the Exception::Handle part of vex.

    When he calls on Wrestling (Exception::Handle vex) {.} I want to separate the duration and connection error ecpetion sepeartyely.

    Can I know what would cause / or how to handle it separately.

    What are the mistakes is possible to connect / put/get/invoke (touchprocessor). serializable cast?


    -Thank you

    Edited by: 882600 August 31, 2011 05:51

    There are several ways to achieve this. Perhaps the simplest is to simply catch Exception as std::exception const &, or one of its derivatives, then call what(). However, if you want to use the specific exception hierarchy richer consistency, you can get the equivalent of the what() result by calling getDescription()-> getCString(). With regard to the rankings largely what types of exceptions are "fatal", which would be RuntimeException and its derivatives, but the scope which it was caught in general is going to be more telling.

    Mark
    The Oracle coherence

  • With regard to the RTF model: enter the commands in your RTF model

    Hi all



    I read the Oracle Documentation saying: "entry of the orders in your RTF model."


    I tried to look at this one, I have a requirement.

    Really how can I enter the commands in RTF model. I didn't get this one a lot.

    Any help is very appreciated as always :)

    Thank you
    Xavier

    Well, my OPE user's guide did not have the mentioned pages but I watched this guide: http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12188.pdf

    and given the documents, you need just to include controls in a form field in the foreach loop for the element you want to split the document by... You could insert a form field and then double-click the field, go to the properties of Word-> add-> the status bar help text and change the code following the instructions in the guide.

    Hope that helps.

    Bipuser

  • With regard to the creation of the event company

    Hi people,

    My requirement is to create a workflow using professional event. It's done and working as expected in 'development' example.

    Then, I need to move the workflow and implement events pending 'Production '. But'm not have sysadmin for production credentials and this is the option to create business events.

    Please suggest me any solution for this

    Thanks in advance

    You can do this via the command-line utility WFXLoad, but you will need the password system apps.

    In the environment of the source, where the event and its subscriptions are set, download the data as follows:

    -Download the definition of business events
    Java apps d oracle.apps.fnd.wf.WFXLoad:: thin US eventDef.wfx EVENTS
    example of
    Java oracle.apps.fnd.wf.WFXLoad d apps apps thin myserver.oracle.com:8068:PROD US myEvent.wfx oracle.apps.fnd.wf.myevent.created EVENTS

    -Download subscriptions to corporate events
    Java apps d oracle.apps.fnd.wf.WFXLoad:: thin US eventSubs.wfx SUBSCRIPTIONS

    In the instance target, where you don't have access to the studio of events:

    -Send an event definition company
    Applications Java oracle.apps.fnd.wf.WFXLoad u :: thin eventDef.wfx US

    -Download subscriptions to corporate events
    Applications Java oracle.apps.fnd.wf.WFXLoad u :: thin eventSubs.wfx US

    In the syntax, I used eventDef.wfx and eventSubs.wfx, but you can use any file name.

    Kind regards

    Alejandro

  • With regard to the dynamic variable repository

    Hi Experts,

    I made a dynamic variable repository. This variable is calculated the date of beginning of the week.
    I use this variable in the command as a default prompt.
    the problem I am geeting that its value is not getting updated. It shows the static value that I gave you in default initializer
    RPD.i want to, its value is changed in every week, but it does not change, his shows always value that have default
    in view of the RPD.

    Please share any solution for this problem.

    Hello

    Please use the below SQL syntax in the default selection of the guest of dashboard.

    SELECT CASE WHEN 1 = 0 THEN date_column of another TIMESTAMPADD(SQL_TSI_DAY,-0, CURRENT_DATE) END OF SH

    Concerning
    Young

    NOTE: Please mention if this solved your problem/still face and close the message.

  • sqlplus connects well with SID on the command line, but not with setora

    I can connect to my database using sqlplus if I specify the SID on the command line; However, I get an error if I try to connect after using setora to set the SID. Any ideas on why this is happening?

    Oracle version is 10.2.4.0
    OS is SunOS 5.9 Generic_122300-46 sun4u sparc SUNW, Sun-Fire-V490
    MYDB resides on a host machine that is different from the one where I'm under sqlplus. We'll call this REMOTEHOST machine.
    I am sure that MYDB is running on REMOTEHOST
    MYUSER@MYHOST% setora MYDB
    MYUSER@MYHOST% sqlplus MYUSER
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Mar 8 09:38:58 2010
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    
    
    Enter user-name: ^C^C
    MYUSER@MYHOST% sqlplus MYUSER@MYDB
    
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Mar 8 09:39:10 2010
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    Enter password:
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Oracle environment variables:
    MYUSER@MYHOST% env | grep -i ora
    PATH=/u01/home/bin:/u01/app/oracle/product/10.2.0/OPatch:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/lib/cobol/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/banvol/uncg/bin:/etc:/usr/openwin/bin:/opt/hsqr/ora/bin:/opt/hsqr/jre/jre141/bin:/u01/app/oracle/product/10.2.0/bin
    SQRDIR=/opt/hsqr/ora/bin
    LD_LIBRARY_PATH=/usr/ccs/lib:/opt/lib/cobol/lib:/opt/SUNWspro/lib/v9:/opt/SUNWspro/lib/v9:/opt/SUNWspro/lib:/u01/app/oracle/product/10.2.0/lib:/opt/hsqr/ora/bin:/opt/hsqr/jre/jre141/lib/sparce/native_threads:/opt/hsqr/jre/jre141/lib/sparc/client:/opt/hsqr/jre/jre141/lib/sparc:/u01/app/oracle/product/10.2.0/lib32
    ORACLE_BASE=/u01/app/oracle
    ORABIN=/u01/home/bin
    OWB_HOME=/u01/app/oracle/product/owb102
    ORACLE_SID=MYDB
    ORACLE_HOME=/u01/app/oracle/product/10.2.0
    TNSNAMES entry:
    MYDB =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = REMOTEHOST)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = MYDB.MYDOMAIN.COM)
        )
      )

    TWO_TASK = MYDB
    Export TWO_TASK

  • With regard to the compensation of ASO data

    HI friends,

    What is the command of maxl erase data in a database of the ASO, where, as in the ESSCMD, we use "reset db". Please let me know.

    Thank you
    KRK.

    You can check here: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/utils/cmd2mxl.htm because it has all the Esscmd commands (redundant?).

    The order that you are specifically looking for is: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/aso/altdb_as.htm

    Try: alter database appname.dbname reset data;

    NB - Do not have a reset as who will remove the database completely - ask me how I know.

    Kind regards

    Cameron Lackpour

  • With regard to the cloning of database

    RMAN > DUPLICATE TARGETS DATABASE to the 'pfile=c:\orcldb\initTest.ora test ';

    From duplicate Db 10 December 08
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid = 156 devtype = DISK
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command duplicate Db at 2008-12-10 12:26:57
    RMAN-05520: name of database incompatibilities, auxiliary instance a TEST, the specified command TEST PFILE = C:\ORCLDB\INITTEST. ORA

    How to solve this error?

    RMAN > run {}
    2 > allocate auxiliary channel c1 device type disk;
    3 > double-target database prod1 pfile='c:\oracle\ora92\database\initprod1.ora'
    4 > logfile 'c:\oracle\oradata\prod1\redo01.log' size m 50.
    5 > 50 m, size "c:\oracle\oradata\prod1\redo02.log"
    6 > 'c:\oracle\oradata\prod1\redo03.log' 50 m size ;}

    output channel: ORA_DISK_1
    allocated channel: c1
    channel c1: sid = 15 devtype = DISK

    From duplicate Db 18 February 08

    stored print script: Script memory
    {
    until the SNA 2122254.
    the value of newname for datafile 1 to
    "C:\ORACLE\ORADATA\PROD1\SYSTEM01. DBF ';
    the value of newname for datafile 2 to
    "C:\ORACLE\ORADATA\PROD1\UNDOTBS01. DBF ';
    the value of newname for datafile 3 to

    .......

    Concerning

  • With regard to the interactive report

    I've created the interactive report, then I remove the function of adding/deleting/changing inside, because I put my function all in plsql package. I could handle the add and delete function changed, however, is totally giving me a headache. I create an anonymous PL/SQL (process) block when the click on the button Delete, then delete the button will trigger the javascript confirmation. and then in my anonymous PL/SQL block, I key in

    myPLSQLpakacage.myDeleteProcedure(:p1_tableid);

    When I run the system, the process got through, and the "success" message. However, registration is still there stay. I check my point, process and compare to that of the sample «Document Library 0.92» I just found out they got from the additional hidden (P75_RETURN), after the process, it will go to the Page (and P75_RETURN) which I don't understand.

    Please help on this point, why my plsql did not, I try just to run the query in the anonymous pl/sql block as

    declare
    Identification number;
    Start
    ID: = v('p1_tableid');
    delete from the table where tableId = id;
    commit;
    end;

    but it's still not. So what's the problem with that?

    Hello

    BEGIN/END; It must be for all PL/SQL code.

    However, your problem is actually on this piece:

    0.01:... Process "reset page": CLEAR_CACHE_FOR_PAGES (AFTER_SUBMIT) 52
    0.01: removal of application cache "103" page: 52

    You have a "reset page" process that runs immediately before your process - this clears the value of P52_TABLEID. This process is usually provided automatically when you create a form by using a wizard. Delete it or the Never value condition.

    Andy

  • with regard to the text of the translation

    Greetings

    When I enter the text from the user, it translated the franch language show it on the screen.

    Means, I can translate the text enter the french language by the user.

    Now the problem is that when I run the Simulator, guest also began.

    The command prompt and blackberry simualtor runs.when (both), I send to translate them the text he tranlsate, but when I close the guest started at the time of the Simulator, then it does not translate the text in the other language. I used the api googel translate into the present.

    Please suggest me, what to do?

    concerning

    Antoine Singh

    You close the command prompt is the MDS Simulator.  It is essentially the internet connection for the Simulator.  close the connection to the internet, you would not be able to reach the service transaction from google on the device Simulator.

Maybe you are looking for