Can we use the value of a variable in a warning message

I have a variable in forms6i. I want to use the value of this variable in an alert message. How is that possible?

Gul says:
I have a variable in forms6i. I want to use the value of this variable in an alert message. How is that possible?

Try

DECLARE err_txt VARCHAR2(200) t;
 al_id ALERT;
 al_button Number;
BEGIN
al_id := FIND_ALERT('My_Error_Alert');
SET_ALERT_PROPERTY(al_id, alert_message_text, 'Hello how are you mr. variable '||:variable_name );
al_button := SHOW_ALERT( al_id );
END; 

Hope it works...

Hamid

Tags: Oracle Development

Similar Questions

  • I can't use the value of a field in pl/sql

    Hello

    I have all the fields in a form in a table based on dblink.  It is possible to change a single field 'P250_NOTA_PREPARAZIONE_SPED' and I have a dynamic action associated with a botton in pl/sql:

    Start

    Update ordini_produzione@dbl6

    Set nota_preparazione_sped =: P250_NOTA_PREPARAZIONE_SPED, utente_mod_collo =: app_user, data_mod_collo = sysdate

    where

    ROWID =: P250_ROWID;

    end;

    Works of update statement, the column utente_mod_collo and data_mod_collo have been changed correctly but not the column 'nota_preparazione_sped': it is not being updated.

    Why this behavior?

    Concerning

    Gianpaolo

    gianpagi wrote:

    I have all the fields in a form in a table based on dblink.  It is possible to change a single field 'P250_NOTA_PREPARAZIONE_SPED' and I have a dynamic action associated with a botton in pl/sql:

    Start

    Update ordini_produzione@dbl6

    Set nota_preparazione_sped =: P250_NOTA_PREPARAZIONE_SPED, utente_mod_collo =: app_user, data_mod_collo = sysdate

    where

    ROWID =: P250_ROWID;

    end;

    Works of update statement, the column utente_mod_collo and data_mod_collo have been changed correctly but not the column 'nota_preparazione_sped': it is not being updated.

    Why this behavior?

    At the time the dynamic action is executed, the value of P250_NOTA_PREPARAZIONE_SPED is not available for the PL/SQL code in session state, it takes place only in the browser. Include P250_NOTA_PREPARAZIONE_SPED in elements of Page to submit property the dynamics of the action so that the changed value is updated in the State of session before the PL/SQL code is executed.

  • Script folder level? How can I use the value of a field as a pdf file name to save as dialog box

    I read somewhere that if you use a script to the folder level, you can do things like save a PDF with a specific file name - possibly based on a domain name.

    How we put in place a folder level script?

    How to run a script from the PDF?

    What code do you use to change the name of the PDF for the content of the text fFieldName field?

    Or is - this really just impossible to do?

    The function must be placed in a .js file in the following folder:

    C:\Program Files (x 86) \Adobe\Acrobat 11.0\Acrobat\JavaScripts

    You can then call it go another level of the folder or the document itself

    script.

  • Monitor changes in the value of a variable in a module of code labview TestStand?

    Hi all

    A code in Labview module called from an action step has a particular variable that changes its value when running vi. Is it possible to monitor these changes through for example a local variable in TestStand and display different values on UI in real time via UIMessages?

    Thank you very much!

    You must post a UIMessage during execution of your VI.  As the following picture below, you can ignore the SequenceErrorMessage string and use the value of your variable as the numericDataParam.   I guess the trick is to determine where to display the user interface of Message, in your case, the variable updated at certain times or it he constantly updated?  I'm not sure of the performance LAG if at all times you post a UIMessage say every 100ms.

    On the other end, you will need in your interface user create a reminder of the Interface to manage the UIMessage.  See the following link for more details.

    http://www.NI.com/white-paper/4532/en

    Enjoy,

    PH

  • Can I change the values of the variables in the variables view control?

    I want to use the variables view control in Labview. I see only the values, but I can't change the values or create new Variables. Will there be a chance to do?
    I use Labview 8.6.1 and Teststand 4.1.1.

    You must activate the edit mode for the ApplicationMgr, by setting ApplicationMgr.IsEditor to true. Note that you must have at least the license of the custom editor for teststand so that it works (otherwise it will prompt the user to activate a license with these privileges).

    Hope this helps,

    -Doug

  • using the function - how to use the values of the input variables on the table select statement names

    Hello community, I have a problem when creating a function. The purpose of this function is to check the table of weather gave yesterday or not. We must check this on different tables on different sachems. We are creating a function with input variables.

    CREATE OR REPLACE FUNCTION IN_SCHEMA.IS_YDAYDATA_TO_TABLE

    (

    in_schema IN VARCHAR2,

    in_tablename IN VARCHAR2,

    in_datefield IN VARCHAR2,

    )

    RETURNS INTEGER

    AS

    -Declaring variables

    v_is_true INTEGER.

    BEGIN

    SELECT

    CASE

    WHEN MAX (in_datefield) = TRUNC(SYSDATE-1)

    THEN 1

    ON THE OTHER

    0

    END

    IN

    v_is_true

    Of

    in_schema.in_tablename

    ;

    RETURN v_is_true;

    END;

    /

    When creating, I got error: [error] ORA-00942 (44:19): PL/SQL: ORA-00942: table or view does not exist

    How to use the values of the input variables on the table select statement names?

    Hello

    Here's a way you can use dynamic SQL statements for this task:

    CREATE OR REPLACE FUNCTION IS_YDAYDATA_TO_TABLE

    (

    in_schema IN VARCHAR2,

    in_tablename IN VARCHAR2,

    in_datefield IN VARCHAR2,

    in_first_date DATE DEFAULT SYSDATE - 1,.

    in_last_date DATE by DEFAULT NULL

    )

    RETURNS INTEGER

    AS

    -IS_YDAYDATA_TO_TABLE returns 1 if in_schema.in_tablename.in_datefield

    -contains all the dates in the in_first_date of the range through included in_last_date

    - and it returns 0 if there is no such lines.

    -If in_last_date is omitted, the search only the data on in_first_date.

    -If in_first_date is omitted, it defaults to yesterday.

    -Time parts of the in_first_date and in_last_date are ignored.

    -Declaring variables

    sql_txt VARCHAR2 (1000);

    v_is_true INTEGER.

    BEGIN

    sql_txt: = 'SELECT COUNT (*).

    || 'FROM ' | in_schema | '.' || in_tablename

    || 'WHERE ' | in_datefield | ' > =: d1'

    || «AND» | in_datefield | '< >

    || 'AND ROWNUM = 1';

    dbms_output.put_line (sql_txt |) '= sql_txt in IS_YDAYDATA_TO_TABLE");  -For debugging

    Sql_txt EXECUTE IMMEDIATE

    IN v_is_true

    With the HELP of TRUNC (in_first_date) - d1

    TRUNC (NVL (in_last_date

    in_first_date

    )

    ) + 1                -- d2

    ;

    RETURN v_is_true;

    END is_ydaydata_to_table;

    /

    DISPLAY ERRORS

    If you must use dynamic SQL statements, put all the SQL statement in a single string variable, such as sql_txt in the example above.  In this way, you can easily see exactly what will be executed.  Comment out the call to dbms_output under test is completed.

    Try to write functions that will address not only the question that you have now, but similar questions that you may have in the future.  For example, now that interest you only to the verification of the data of yesterday, but later, you might want to check another day or range of days.  The above function combines the convenience of a function simple (looks like yesterday data if you don't tell him otherwise) with the power of a more complex function (you can use the same function to check any day or range of days).

  • You can use the value of a digital indicator in a digital control?

    Hello!

    I have to develop a code where I need to find the maximum value of a waveform and draw a line at 50% of the value. So I chose find the amplitude of say 10 cycles of waveforms and found the maximum value of the amplitude.

    But my real problem is, I have to use the maximum amplitude value I get from the table VI maximum and back into a program to calculate the value of 50%.

    So it is possible to use the value of a digital indicator and put it in a digital control? As in MATLAB or C, you give a name to the variable and use it later to do all the calculations. Is it possible to do something similar in LabVIEW?


  • Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    What is your version of JDev?

    Actually your question is not clear to me, but as I understand, it is you the table in the page and you have popup inside this popup you have the button you need when you click on the button to read the value of the selected table row. In the listener action button, so if you can get the current row of the table and after that you can get any attribute of the line as:

    DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("TableIteratorName"); // from pageDef.
    Row r = iter.getCurrentRow();
    Object value1 = r.getAttribute("attribute1");
    Object value2 = r.getAttribute("attribute2");
    
  • How can I fill the records using the value LOV

    Create a form based on the use of the following output Table EMP

    Create a database block IE control-> Dept No. block


    Create a database block - EMP
    Create a LOV to the Dept not according to the dept table.
    For the current No. Dept. Complete records of the employees

    How can I fill the records using the value LOV?


    Thank you

    Hello

    Create trigger KEY-LISTVAL for control_block.dept_no with code similar to the following:

    IF SHOW_LOV ('LOV_NAME') THEN
            SET_BLOCK_PROPERTY ('EMP_BLOCK', DEFAULT_WHERE, 'DEPT_NO = ' || :CONTROL_BLOCK.DEPT_NO);
         GO_BLOCK ('EMP_BLOCK');
         EXECUTE_QUERY;
    END IF;
    

    Hope this helps

    Best regards

    Arif Khadas

  • Where can I find the Hyperion Planning User Variable details

    Hello

    Currently I use the EPMA Version 11.1.2.3.500 and 11.1.2.3.501.11 planning. I want to know the name of the table, which store the values of user variables. I need to pick the members of dimension of user variables. Please let me know if you have any ideas on this, also let me know the location; where I need browse server. Thanks in advance.

    Soumya

    The paintings are:

    HSP_USER_VARIABLE

    HSP_USER_VARIABLE_VALUE

    The USER_ID and MEMBER_ID can be attached with OBJECT_ID in HSP_OBJECT to return the name in OBJECT_NAME

    See you soon

    John

  • Where can I find the value of ss_nm_jvm_startup_properties?

    Hello

    I am trying to reset the password for the user weblogic using the document Doc-ID 1949675.1

    I am stuck at step 4

    B. start AdminServer:

    Java $ < s_nm_jvm_startup_properties > - Dweblogic.system.StoreBootIdentity = true - Dweblogic.Name = AdminServer weblogic. Server

    Where:

    < s_nm_jvm_startup_properties > is the same as the variable value of context ss_nm_jvm_startup_properties

    Where can I find the value of s_nm_jvm_startup_properties.

    I searched the support site and google it without any result.

    I'm new in EBS and try to upgrade the EBS 12.2.0 to 12.2.4

    Thank you

    Salman

    Hello

    Application contextfile $INST_TOP/appl/admin find the setting "nm_jvm_startup_properties".

    grep nm_jvm_startup_properties context_file.xml

    Thank you

    A H E E R X

  • How can I keep the values previously entered on a form after submission

    Hello DW,.

    I have a form and after it get presented... I have a javascript link, which goes back to the form and values remain to be submitted.  Here's the javascript link: < a href = "JavaScript:history.go(-1) (-2)" > < / a >

    It works very well, but now we use the attribute 'require' and when users click on the link it clears the values.  Is there a simple way to prevent erasure of these values, without having to use the chips and cookies?

    -Alex

    To have a form field to fill in with the value of a variable, we can use PHP like this:

    (input type = "text" name = "address" value ='' / >)

    If the form and its treatment are part of the same script, so it's simple. So, if your form uses the POST method, and you have extracted the values like this:

    extract ($_POST);

    .. then $address will be available to complete the form.

    This can also be done with javascript, but I always use PHP for this.

  • How can I pass a value to a variable binding in a report query?

    I did a query of report to print a PDF report, with a dinamyc source query that has a connection variable, like this:

    SELECT EMPNO, EMPNAME, EMPDEPT

    FROM EMP

    WHERE EMPNO =: PARAMETER;

    I want to call the report print directly from a page, by using the url print showed by apex:

    f? p = & APP_ID.:0 : & SESSION. : PRINT_REPORT = MYREPORT

    How can I pass the value of the variable binding: PARAMETER using this URL?

    I don't think you can use the url parameter passes in a report query.

    the binding variable: PARAMETER must be a page element or an element of the application.

    use the "include session information and application" in the defination of report query to bind the value when the report is run

  • Access the value of a variable assigned to CompositionReady?

    I created a variable called counter inside the 'scene' in the "CompositionReady" using the following code.

    var counter = 0;

    How to get or write the value of this variable

    through a 'trigger '?

    Remove the var on the counter.

    Just so put this in compositionReady

    counter = 0;

    Then you can just call him in a trigger as

    Alert (Counter);

    or

    counter + 1;

    or as if (counter == 1) {}

    }

    or whatever.

    I hope this helps.

  • How to use a value in a variable as a table name in a query?

    I fetch a value in a variable like:

    < select application_short_name in the fnd_application l_appl_nm where application_id =: p_appl_id >

    Now, I need to use the value retrieved in the variable "l_appl_nm" as a name of partition table in the following query.

    Anyone can guide me please on this concept.

    Expected answers as soon as possible!

    Create dynamic SQL statements with your variable, and then run this SQL with the "EXECUTE IMMEDIATE" command.

    Thank you

    Lokesh

Maybe you are looking for

  • When ActionVIOnDownload is executed

    Hi all I have a VI that I used as a custom tool in the workspace.  Essentially, it calibrates some shifts.  The offsets which get zero would are out of a custom device.  There is a desire to have the reset occur automatically to each Homeless deploy.

  • To the number of decimal places control user input

    Hey everybody, I am all new to LabVIEW and just learn how it works. I was wondering if there was a way to allow user input to change the number of decimal places (the output of my function is infinitely extensible). I tried, but it did not work: Usin

  • HP G61 problem with charging the battery.

    Dear Sirs, I have read so many posts but I could not find a solution, so I decide to post one on my own. I have a HP G61 and work properly it works. The problem I have is with the battery. If I scream at the bottom of the laptop and leave it with the

  • WINDOWS XP HOME SP2 - HPIZ311

    Whenever I try to open a file or ie8, I get a pop-up box saying windows Installer tries to configure HPIZ311. If I cancel it (it takes 3 goes to stop him) said then she tries to collect data before proceeding. I even removed the windows installer in

  • external dvd drive not recognized

    Original title: my external dvd player My dvd/rw external elonexs drive does not work. I'm worried cos I really need to use. PLS, any ideas on what I shd do?