Forms Alert

I have an Oracle generated alert 'Do you want to save the changes you have made?' which correctly gets displayed by the ENTER_QUERY command. However the alert is displayed with a white background and I want to change it to grey to match my own alerts. How do I do this?

Thanks for you reply.
Set_alert_property does not allow you to change the alert background. Also it is a large application with many places that would need changing. My own alerts are OK as I have a visual attribute assigned that sets the background colour. It is only alerts that Forms is generating that are the problem i.e. display with a white background when I want a grey background.
I presume it is a system setting somewhere. I looked at the help and found under 'About Default Visual Attributes' that the setting may be due to the type of object, the resource file in use and the windows manager. Is there a particular resource file I could change?

Similar Messages

  • Infopath form Alert message

    I wonder if it is possible to have initial InfoPath form open that has a warning and describes what the form is used for.
    Than have either an OK or Continue button which would open the Request Form.
    I already created a Request Form which is submitting the requests into the SharePoint List.
    simam

    Hi Simam,
    Browser enabled InfoPath form does not support alerts (message box).
    One work around is to create a new view within the Request form and make this new view as default view.
    Inside the view you could add two buttons, one for continue and another one for close.
    if the use clicks Continue, you can create a rule to show (Switch view) Request form and Close button with Close Rule.
    One important thing is you should disable switch view while publishing your form.
    here is a reference to get started -
    http://office.microsoft.com/en-us/infopath-help/add-delete-and-switch-views-pages-in-a-form-HA101732801.aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Acrobat Form - Alert if not 100%?

    I have a form where people are supposed to list how they want to split their investment. For example...
    Stocks - 60%
    Bonds - 30%
    Cash - 10%
    The problem is that we need the total to always equal 100% - and we often receive forms that do not total 100%.
    Is there a way to make it so people cannot submit the form unless the total of the fields equals 100%? (ideally with a visible error message)
    * I'm still new to Acrobat, so I'm not sure what is possible or not.
    If you could point me in the right direction (assuming it's possible), I would sure appreciate it!

    It is possible to set up a script that runs when the document is printed, but there is no way to stop the print job from taking place if things don't check out. Still, you could alert the user that there are errors. There are at least two alternatives that may work for you:
    1. Set up a button on the form, labelled something like "Validate Form". When the user clicks the button, a script can run that checks the fields and pops up an alter that tells the user what's wrong, if anything. It can then also issue a print command if everything is OK.
    2. In a script that runs when the document is printed, run a similar script that checks the fields and alerts the user, but additionally set all of the forms fields to not print. So the user prints a blank form. A waste of paper, but at least you're not getting sent invalid data.
    Do either of these sound reasonable? If so, do you have any other fields you want to validate, or just the three?

  • Forms alert message

    Is it possible to control the position of where to alert message display on screen (like LOV window)?
    NB: I am deploying the forms on Intranet via oracle application server.
    Can anyone help?
    Thanks in advance,
    Stan

    Sze,
    no. The alert dialog always comes up in the center of the form.
    Frank

  • Problem in navigation while using Form Alert

    Hi all,
    I've created a form,where i used a Alert in trigger for some text item. If users puts wrong information in text item alerts get populated.
    Now i need to allow user if he clicks OK he can modify the text item without clicking a mouse into the text item.
    Here am facing the problem whenever i click on OK button the cursor gets vanished and i have to manually clicks the mouse to the text item for modifications.
    Please help me...

    Hi,
    I've created a form,where i used a Alert in trigger for some text item. If users puts wrong information in text item alerts get populated.Now i need to allow user if he clicks OK he can modify the text item without clicking a mouse into the text item.
    Here am facing the problem whenever i click on OK button the cursor gets vanished and i have to manually clicks the mouse to the text item for modifications.>
    Forms Version?
    Did you try GO_ITEM, after the Alert, to set focus on the item?
    Cheers,

  • Alert with more than three buttons in forms 6i

    Hi,
    In forms 6i I have a code like:
    first_record;
    loop
    if <validation> then
    **(1)** <alert indicating "Yes", "Yes to All", "No" , "No to All", "Cancel">
    <some action depending on alert response>
    end if;
    exit when :system.last_record = 'TRUE';
    NEXT_RECORD;
    end loop;
    The problem is than forms Alerts only allow 3 buttons (and oracle application, in wich runs the form, function fnd_message.question only allow 3 buttons too).
    I tried to simulate alert in a canvas with five buttons, but when I open the canvas for the simulated alert, program flow goes to other program unit and doesn't stop in point **(1)** waiting user to push any of the five buttons. Consecuentilly it exit de loop in the sample code...
    I appreciate any suggestions.
    Best regards.

    Thank for your help.
    Probably, I shall do a loop process than can be continued any time:
    Procedure continue_loop
    begin
    go_block('b');
    loop
    <message -canvas with five buttons->;
    <process>
    exit when :system.last_record = 'true';
    next_record;
    end loop;
    end;
    Procedure start_loop
    begin
    go_block('b');
    firts_record;
    continue_loop;
    end;
    How there is not a first_record in continue_loop, if it's called a second time (in a button of message canvas) then process continue in the last record that was processed. I hope it works. Thank againg for your response.
    bye

  • HIDING FORMS MESSAGES AND ALERTS (URGENT)

    HI,
    I AM WORKING ON FORMS 4.5 AND 5 AND I AM UNABLE TO HIDE THE
    FORMS ALERTS AND MESSAGES LIKE 'DO YOU WANT TO SAVE CHAGES YOU
    HAVE MADE' AND 'LAST RECORD OF QUERY FETCHED' ETC. THE FORM
    SHOULD WITHOUT PROMPTING ALERT ?
    ANY SOLUTIONS !!!
    AAKASH

    Did you try to use SYSTEM.MESSAGE_LEVEL system variable ?
    This is from help:
    During a Runform session, Form Builder suppresses all messages
    with a severity level that is the same or lower (less severe) than the
    indicated severity level.
    Assign a value to the SYSTEM.MESSAGE_LEVEL system
    variable with standard PL/SQL syntax:
    :System.Message_Level := value;
    The legal values for SYSTEM.MESSAGE_LEVEL are 0, 5, 10, 15,
    20,and 25.
    Form Builder does not suppress prompts or vital error messages,
    no matter what severity level you select.
    You can also use On-Message and On-Error triggers to customize
    messages.
    I hope this will be a little help for you.
    Helena

  • Java Script: Form Submit issue.

    Is there a way where I can submit two forms ?
    Thats is submit 2nd form only when the first form is submitted.
    I tried this it works.
    function formSubmit(){
    document.form1.submit(); //Submit First Form
    alert(); //This will stall the execution thus form2 will not be submitted till I click on OK
    document.form2.submit();
    }But If I dont put an alert in between, only the second form is submitted.
    If I put a delay of say 3 seconds in between then it will throw a SOCKET CLOSED error in the action event triggered due to first form submit.
    Well Basically when the Alert pop's up the parent page "STALLS" and thus the form2 does not submit till I click on OK, Is there a way I can stall the browser/Parent JSP page using JAVA SCRIPT ??

    Relax people... Ok I will move my querries else where :) ..
    But whats wrong if somebody can provide me an answer ? I am sure most of you know java script , if you dont know then don't answer simple as that.
    You do know that Sun did not create JavaScript, right? So the Sun forum sites may not be the best place to look for a JavaScript forum " {code} 
    You mean to say if something is not from sun I am not supposed to ask a question on that, I agree that this is JAVA Programming forum.
    Peace,.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Form personalization to check whether anything to save

    In the Oracle Financials Receivables application Receipts form (ARXRWMAI) there is a Distributions button that launches the receipt distribution screen.
    If a user makes changes to the distribution lines and then selects the Cancel button or X to close the form, they do not get any warning that they have data to save
    Is there any way using Form Personalizations to enable a message to be displayed asking if the user wants to save and saving data if required ?

    The 'WHEN-VALIDATE-RECORD' trigger is available in forms personization.
    Is there any way to raise a forms alert and handle the response without having to use custom.pll
    Found Note:47233.1 that explains how to perform this in Forms. Checks the :SYSTEM.FORM_STATUS = 'CHANGED' property and then displays an alert and handles the result
    In forms personlization I can use the :SYSTEM.FORM_STATUS = 'CHANGED' on a WHEN VALIDATE RECORD trigger but need to know how to save data

  • How to compare two currency form fields and display a message if the fields do not equal?

    My form has 2 fields named Total_1 and Total_2. If one of the fields does not equal the other, a hidden field will display a message in red on the form alerting the user. Otherwise, the message does not display. Looks like a validation script but I would greatly appreciate help in getting it started. Any ideas?
    Thanks, Charlie
    charlie6067

    Since the field values that you want to compare are the results of calculations, you should not normally compare their string values, but rather their numeric values when rounded appropriately (and perhaps then converted to a string). For example, if you have two values that display as 3.14, one could be 3.1400000001 and the other could be 3.13999999999991234. When you get the field values as strings and compare them, they won't be equal though they appear to be. Even some values that are numerically identical won't be equal when compared as strings ("0.0" != "0.00") So the code could be changed to:
    // Get the two field values, rounded to two decimals
    var v1 = util.printf("%.2f", getField("Total_1").value);
    var v2 = util.printf("%.2f", getField("Total_2").value);
    // Hide/Show the error message
    event.value = (v1 === v2 || (+v1 === 0 && +v2 === 0)) ? "" : "Error message here.";

  • Event Alert in Oracle Application

    Hi all,
    Reqquirement-
    I am having one task custom form in that form we assign a task to our employee.when i assign a task on that form, mail alert should fire & mail should send to that employee.
    Query-
    When i save a record on my form alert get fired but not only mail goes to the employee which iave assign the task but also mail goes to the other employee
    who has already save in my table (already assign tasks).how can i over come this issue.
    Please guide me on this.
    Thanks & Regard
    Ashok

    Hi;
    Please see below notes which could be helpful for your issue:
    Control - Workflow: Setup [ID 113664.1]
    Oracle Workflow Best Practices Release 12 and Release 11i [ID 453137.1]
    Also see:
    Oracle Workflow Developer's Guide
    http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15853/T361836T362168.htm
    Regard
    Helios

  • Session Killing - Automatically in 10g Forms

    Dear All,
    We have used when-timer expired-trigger in 6i forms and killed sessions which are idle for more than 30 mins. But the same form does not work with 10g forms.
    Is there any limitation in 10g forms with when-timer-expired trigger.
    How do we enable this. Please help us in fixing this.
    Thanks
    Guru

    I tried with "separateframe=true" in formsweb.cfg and it works fine for me.
    What is not working when you set "separateframe=true"?
    So far my experience with timeoutPJC is it works great with single form, form gets closed when the maximum Inactivity Period is exceeded but it is an issue when we try to implement it in multi-form application. My scenario is like this
    - I have main form which works like a MENU with Hierarchial tree structure,
    each node calls a different form within the application. Menu appears on the
    left while individual forms appearing towards right upon invokation.
    - I am trying to implement the timeoutPJC(Oracle Forms 10gR2 Demos) on this
    form so that when the Maximum Inactivity period exceeds then the whole
    application gets closed. It works GREAT when implemented on a single form
    but in a multiple form application it doesn't seem to work.
    - Also I have requirement to display a WARNING message 2 minutes prior to
    timeout so that user will be notified before the application gets closed. I
    tried to display forms ALERT but until the user acknowledges the alert application
    will not close. As an alternative to the forms alert I tried displaying an
    html document using WEBUTIL it is working ok but ideally I would like to see an Alert and close automatically just like AVG alert which shows timer after it has successfully updated and gets closed once the timeout occurs, anyone has ideas how to build such an alert?.
    - From the main form (MENU) I use OPEN_FORM built-in() to open 1st level of
    forms in the application. From this form I make use of CALL_FORM() to call
    various other forms.
    - If the focus is in the call form and if the form is in NORMAL mode
    everything works great. But if the form is either in ENTER-QUERY mode or LOV
    is opened and timeout occurs nothing happens until I close the called form
    manually then all the forms get closed. How to overcome this situation?
    - I can't understand why this doesn't work if the PJC is associated with the
    JAVA applet?
    **Is there a way we can close all the forms when timeout occurs without implementing timeoutPJC bean on all 600 odd forms in our application given the constraints I have defined above?
    Thanks in Advance,
    Venu

  • How to send error message to forms from Database Trigger

    Hi, Please help me to send error message to forms from Database Trigger?
    RgDs,
    Madesh.R.M

    You are correct, the On-Error trigger is a Forms trigger. However, if your Form is going to display the error generated by the database stored procedure or trigger - you might not see the database error in your Form unless you check the DBMS_ERROR_CODE in the On-Error trigger and manually display the Error Code and associated Text. I've see this happen with a co-worker. The Form she was working on was based on a table with an Before-Insert trigger. Because she was not explicitely handling the error from the Before-Insert trigger in the Forms On-Error trigger, her Form appeared to halt for no reason at all. Once she added code to the On-Error trigger in the Form to handle the DBMS_ERROR_CODE, she discovered the trigger was producing an error and was able to show the error to the user in the On-Error trigger.
    I understand the desire to keep as much as possbile in the database, but with that comes some extra coding in your Forms to handle this. This extra coding could easily be placed in a Forms Library, attached to a Form and called in the On-Error trigger. Your code could look like this:
    DECLARE
       /*This example assumes you have an Alert defined
          in your Form called: 'ERROR' */  
       al_id    ALERT;
       al_text  VARCHAR2(200);  /* Max text of a Forms Alert message*/
       al_btn   NUMBER;
    BEGIN
    IF DBMS_ERROR_CODE != 0 THEN
       /* Error code is ORA-00000 Normal Successful completion
           So only handle non-zero errors  */
       al_text := DBMS_ERROR_CODE||':'||DBMS_ERROR_TEXT;
       al_id := Find_Alert('ERROR');
       set_alert_property(al_id, alert_message_text, al_text);
       al_btn := show_alert(al_id);
    END IF;
    END;Your original question was "How to send error message to forms from Database Trigger?" The answer is you don't because Forms already gets the database error code and database message through the Forms DBMS_ERROR_CODE and DBMS_ERROR_TEXT functions. Look these up in the Forms help and it should clear things up for you.
    Craig...
    Edited by: CraigB on Jun 14, 2010 4:49 PM
    Edited by: CraigB on Jun 14, 2010 4:49 PM
    Edited by: CraigB on Jun 14, 2010 4:50 PM
    Edited by: CraigB on Jun 14, 2010 4:51 PM
    Edited by: CraigB on Jun 14, 2010 4:51 PM

  • Customzed Symbol for Alert

    Hi,
    Can we change the symbol on the alert. I know that it can show i(Note),X(Stop),!(Caution) symbols. One of the requirement is One of my client is asking for the ? symbol instead of these symbols.
    Regards,
    Alok Dubey

    No, you cannot change the generic form alerts' symbols.
    But you can always built your own alerts or use a PJC to to customize them.
    Tony

  • Customize Default Alerts

    Hello all,
    I have been searching here in the forum and in Google for some information about the Forms built-in Alert.
    I want to change the title, message, image and background color from some of the default Alerts that the Forms 10g has, like "Do you want to save the changes you have made".
    There is a list of all default Alerts names or/and id's? Where can i find it?
    Is it possible to change those default Alerts? How can i do it?
    Best regards,
    Pedro.

    Thanks BaiB for your reply,
    The functionality of the application i'm working on it's not a problem. I'm updating an entire stable application to a more modern, prettier layout.
    I'm changing the "Look and Feel" of an entire application (which has more than 2000 forms), using the Oracle LAF Project. To change some triggers, on each form to catch ALL standard Forms errors possible will be at least painstaking. That is why i'm searching another solution for my problem. I would like to know if it is another workaround for this. And i'm curious about the management of those standard Alerts, how are they called and where are they located? Can i use the built-in set_alert_properties(), if so what is the Alert_Id of those Alerts, there is any list of the internal Forms alerts name and ID?
    I want also to know if i can "catch" an standard alert before or after it pops-up, is there any global or system variable that indicates that a standard Forms alert has been fired?
    Any enlightenment will be highly appreciated.
    Best Regards
    Pedro.

Maybe you are looking for

  • Limitation on the number of tables in a Database Schema!

    Hi All, Is there a limitation on the number of tables present in a schema that can be fetched in Designer while creating a universe. Customer is using Oracle schema which contains 22000 tables and while trying to insert tables in Designer XIR2 (or tr

  • Find a specific paragraph style within a table and apply a specific cell style?

    I'm a total beginner when it comes to scripting, but I would like to create a script that finds the paragraph style "resultsUL" within a large table and applies the cell style "female". Sure wish the find/replace was able to account for cell styles a

  • Can i use Intel Centrino Advanced-N 6230 as replace of Ralink RT3090BC4 (broken) in my dv6 3180sd

    Need help of finding the proper replacement for my broken wifi card on by dv6 3180sd. as shown at the hp Maintenance and Service Guide i can use several wifi cards (have an intel i5 processor) one possible is the intel Intel Centrino Advanced-N 6230.

  • How to make Jdeveloper not to put Ctrl^M at Return?

    I am using JDeveloper on NT. When I copy the file to Unix, I see every line of code has these Contrl M charters. How can I change the setting so it won't insert them? Thanks, Linda

  • Air to swf

    Hi guys, I am totally new in flex programming, right now I am trying to have a swf file of my air application. There is no error in my application and when I run the app it works well. I even can package the app and it works as well. when I run the a