Call a dynamic action automatically on a regular basis

Hello
We have a classic report which we would like to refresh that page every X minutes. We did this by using setInterval and $a_report but as I understand it, it is a unsupported feature... So I would go down the road of the dynamic action.

But my question is this... How can I call the dynamic action automatically say every 3 minutes, with no user interaction?

Hello Dev,

You can use [url http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-plug-ins-182042.html] Plugin Timer

Best regards
Fateh
----------
If you believe that my answer is correct or helpful to you, then please check the response as helpful or appropriate.

Tags: Database

Similar Questions

  • Call for dynamic action of an interactive report

    Hello
    I'm on APEX 4.1, 11 GR 2, Windows 7 and the latest version of Firefox.
    I have an interactive report. I want the end user to have the ability to click on a link to line level and launch a modal pop up on another page. Ideally, I would like to be able to use the Skillbuilders plug-in. I can make it work if I just go the road full page but I can't find a way to make it work like a modal pop up.
    I have tried different methods, which work, but I think that I should follow that is using a page-level dynamic action that fires when a found JQuery element selector is selected.
    The problem I have is that I can't find the proper JQuery selector syntax for the column. My report has a static ID of the IDN and my column a header of PARTS.
    The best I can manage is not to see something happen as a page refresh (if the link is on the same page). I don't see no errors in console and firebug.

    I replaced the dynamic action modal page appeal by an alert, which is not displayed, to make sure that it is not the configuration of the plug-in which is the cause of the problem.

    Someone would be kind to give me an idea of what I should be completed in the JQuery selector field of the DA and what should be the attributes of link? Because I want to redirect from page 1 to page 2, what should I put in the other fields in link?
    I've been chasing my tail with this for hours and read all the posts in this area, I could find, but I can't make it work. Any help would be much appreciated.
    Kind regards

    Danny

    That's what I did on my column link of an international registration:

    Link icon: (choose something)
    Link attributes: class = "btndetails" onclick = "return false;"

    (the onclick is vital, it prevents the default anchoring action does not happen)
    Implement the details of the target page that you want in your popup modal

    Create a dynamic action

    Event: click on
    Selection type: jQuery Selector
    jQuery Selector: .btndetails

    Advanced > scope of the event: live

    Real action:

    Modal Skillbuilders page:
    Location of the URL: attribute of the triggering element
    Attribute name: href

    Who should appear in the page without problem. The onclick is the key here, and probably why you were chasing your tail so far.

  • Call the dynamic Action of the link

    Hi guys,.

    I'm sure that there is a super easy way to do it and I'm missing the obvious.

    All I want to do is call a DA for a HTML link, is it possible? Call the function DA like I do with JS?


    Help, please.

    Thank you

    Spam

    Hello

    I do the following to call a DA my link of the report column.

    1. in the link attribute, set the following parameters:

    onclick="return false;" class="my_link_class";
    

    2. in DA, set the 'event' that ' click on ', 'Selection of the Type' "jQuery Selector". "JQuery Selector", enter the name of the class (with the dot) as:

    .my_link_class
    

    You can then define your actions of true/false in the DA.

    Thank you
    Rohit

  • More than one Page objects of value with dynamic action parameter

    Hello

    How to set the values of the two elements of the page based on another page, article in dynamic action IE

    -variable value tr_type is set using the function get_type

    -passing the p1_code parameter

    TR_TYPE; = GET_TYPE (P1_CODE);

    If TR_TYPE = "DR" THEN

    P1_DR: = P1_AMT;

    ON THE OTHER

    P1_CR: = P1_AMT;

    END IF;

    -If I write the function get_type with Exp of PL/SQL of TYPE 'SET', it triggers the error on the use of the service.

    -If I put body of the PL/SQL TYPE of function 'SET', the page displays error unhandled expception.

    How can I achieve this using dynamic action.

    Hi, IK,.

    Can you please quote the u of changes/amendments made to the code, I am unable to find it.

    Included missing: for element names.

    --value variable tr_type is set using function get_type
    --passing p1_code parameter
    TR_TYPE:=GET_TYPE(:P1_CODE); 
    
    if TR_TYPE='DR' THEN
    :P1_DR:=:P1_AMT;
    ELSE
    :P1_CR:=:P1_AMT;
    END IF;  
    

    Here is my scenario with code.

    I have a form with 4 elements (account (P1_CODE), quantity (P1_AMT), DR (P1_DR, hidden), CR (P1_CR, hidden), I am writing a dynamic action on P1_AMT (change) of the code)

    DECLARE

    TR_TYPE char (2);

    BEGIN

    -calling a function "GET_TYPE.

    -passing the P1_CODE parameter

    TR_TYPE; = GET_TYPE (P1_CODE);

    If TR_TYPE = "DR" THEN

    P1_DR: = P1_AMT;

    ON THE OTHER

    P1_CR: = P1_AMT;

    end if;

    end;

    Again, we know not not how you want to call a dynamic action,.

    assuming that on the evolution of the account (P1_CODE), the function call GET_TYPE(:P1_CODE) to retrieve the type of transaction,

    on the basis of the transaction that you want to set the amount of specific element.

    on the change of point P1_code

    Action: execute the PL/SQL code

    Parameters

    DECLARE
    TR_TYPE  char(2);
    BEGIN
    --calling a function "GET_TYPE"
    --passing parameter P1_CODE
    TR_TYPE := GET_TYPE(:P1_CODE);
    if TR_TYPE='DR' THEN
    :P1_DR:=:P1_AMT;
    ELSE
    :P1_CR:=:P1_AMT;
    end if;
    end;
    

    page elements to present - P1_CODE, P1_AMT

    page items to return - P1_DR, P1_CR

    Check the screenshot

    There are other ways to set the values using dynamic action, try the above

    Kind regards

    Jitendra

  • Performance issues with dynamic action (PL/SQL)

    Hello!


    I have problems of perfomance with dynamic action that is triggered on click of a button.

    I have 5 drop-down lists to select the columns that users want filter, 5 drop-down lists to select an operation and 5 boxes of input values.

    After that, it has a filter button that submits just the page based on the selected filters.

    This part works fine, the data are filtered almost instantly.

    After that, I have 3 selectors 3 boxes where users put the values they wish to update the filtered rows and column

    There is a update button that calls the dynamic action (a procedure which is written below).

    It should be in a straight line, the issue of performance might be the decoding section, because I need to cover the case when the user wants to set a null (@), and when it won't update the 3 columns, but less (he leaves ").

    That's why P99_X_UC1 | ' = decode(' ||) P99_X_UV1 |', "«,» | P99_X_UC1 ||',''@'',null,'|| P99_X_UV1 |')

    However, when I click finally on the button update, my browser freezes and nothing happens on the table.

    Can anyone help me solve this problem and improve the speed of the update?

    Kind regards

    Ivan

    PS The procedure code is below:

    create or replace

    DWP PROCEDURE. PROC_UPD

    (P99_X_UC1 in VARCHAR2,

    P99_X_UV1 in VARCHAR2,

    P99_X_UC2 in VARCHAR2,

    P99_X_UV2 in VARCHAR2,

    P99_X_UC3 in VARCHAR2,

    P99_X_UV3 in VARCHAR2,

    P99_X_COL in VARCHAR2,

    P99_X_O in VARCHAR2,

    P99_X_V in VARCHAR2,

    P99_X_COL2 in VARCHAR2,

    P99_X_O2 in VARCHAR2,

    P99_X_V2 in VARCHAR2,

    P99_X_COL3 in VARCHAR2,

    P99_X_O3 in VARCHAR2,

    P99_X_V3 in VARCHAR2,

    P99_X_COL4 in VARCHAR2,

    P99_X_O4 in VARCHAR2,

    P99_X_V4 in VARCHAR2,

    P99_X_COL5 in VARCHAR2,

    P99_X_O5 in VARCHAR2,

    P99_X_V5 in VARCHAR2,

    P99_X_CD in VARCHAR2,

    P99_X_VD in VARCHAR2

    ) IS

    l_sql_stmt varchar2 (32600);

    nom_table_p varchar2 (30): = ' DWP. IZV_SLOG_DET';

    BEGIN

    l_sql_stmt: = "update". nom_table_p | 'set '.

    || P99_X_UC1 | ' = decode(' ||) P99_X_UV1 |', "«,» | P99_X_UC1 ||',''@'',null,'|| P99_X_UV1 |'),'

    || P99_X_UC2 | ' = decode(' ||) P99_X_UV2 |', "«,» | P99_X_UC2 ||',''@'',null,'|| P99_X_UV2 |'),'

    || P99_X_UC3 | ' = decode(' ||) P99_X_UV3 |', "«,» | P99_X_UC3 ||',''@'',null,'|| P99_X_UV3 |') where ' |

    P99_X_COL | » '|| P99_X_O | » ' || P99_X_V | «and» |

    P99_X_COL2 | » '|| P99_X_O2 | » ' || P99_X_V2 | «and» |

    P99_X_COL3 | » '|| P99_X_O3 | » ' || P99_X_V3 | «and» |

    P99_X_COL4 | » '|| P99_X_O4 | » ' || P99_X_V4 | «and» |

    P99_X_COL5 | » '|| P99_X_O5 | » ' || P99_X_V5 | «and» |

    P99_X_CD |       ' = '         || P99_X_VD;

    -dbms_output.put_line (l_sql_stmt);

    EXECUTE IMMEDIATE l_sql_stmt;

    END;

    Hello Ivan,.

    I don't think that the decoding is relevant performance. Perhaps the update is suspended because another transaction has changes that are uncommitted to any of the affected rows or where clause is not quite selective and has a huge amount of documents to update.

    In addition - and I may be wrong, because I only have a portion of your app - the code here looks like you've got a guy here huge sql injection vulnerability. Perhaps you should consider re - write your logic in the static sql. If this is not possible, you must make sure that the entered user contains only allowed values, for example by P99_X_On white list (i.e. to ensure that they contain only values known as 'is', ')<', ...),="" and="" by="" using="" dbms_assert.enquote_name/enquote_literal="" on="" the="" other="" p99_x_nnn="">

    Kind regards

    Christian

  • Using the button ID in dynamic Action

    Hi all

    I want to call a dynamic action at the click of a button.
    To this I added a button id in the template button and by calling the ID number that is the DOM object in dynamic action.
    Is it possible that I can call the Id button dynamically in dynamic action?
    I support the demand both in 4.0 and 4.1 so I can't take full advantage of 4.1 features now.


    Thank you
    RD

    RD,

    Sorry to interrupt, but I just wanted to report that hard-code the ID of the button as it will cause problems you are application 4.1, because of some behaviors changed between 4.0 and 4.1. I blogged about it here:

    http://anthonyrayner.blogspot.com/2011/07/application-express-41-ButtonID-changed.html

    There are a few ways around this, but I think that probably the simplest here would be to remove the id = "" #BUTTON_ID # "in your template button, ensuring you have the placeholder #BUTTON_ATTRIBUTES # in your model, then set a custom ID (for example id = 'submit_button') directly in the attributes of your button." You can then simply view this ID in your DA "DOM object" and it should work in 4.0 and 4.1.

    Apart from that, and as says VANJ, your DA looks good and you should just be able to define all the measures 'True' you want, which fire when the button is clicked.

    Kind regards
    Anthony

  • Dynamic action in Apex - automatic text field display based on the definition of value

    Hello

    I have two text elements. Need to create dynamic action for what follows,

    1 Order_number

    2 Order_type

    When a user enters an order number starting at 1, the order type should type should automatically posted as CONSUMER.


    When a user enters an order number starting with 2, the order type should type should be automatically displayed as COMPANY to another display null.

    Can anyone help please have solved this issue.

    Thanks in advance!

    Hi 2932464,

    2932464 wrote:

    Please change your login username of "2932464" to something meaningful. Reference: Video tutorial how to change username available

    I have two text elements. Need to create dynamic action for what follows,

    1 Order_number

    2 Order_type

    When a user enters an order number starting at 1, the order type should type should automatically posted as CONSUMER.

    When a user enters an order number starting with 2, the order type should type should be automatically displayed as COMPANY to another display null.

    Can anyone help please have solved this issue.

    Hereby you mean something like this: https://apex.oracle.com/pls/apex/f?p=52380:11:129938442406997:

    If Yes, then create dynamic action as follows:

    • Create a dynamic action on the Order_number change event say. P11_ORDER_NUMBER.
    • Event-> change, Type of selection-> item (s), article (s)--> P11_ORDER_NUMBER Condition-> is not null
    • Real Action-> to run the JavaScript Code
    • JavaScript code:
      var ordernum = $('#P11_ORDER_NUMBER').val();
      var startdigit = ordernum.substr(0,1);
      if (parseInt(startdigit) === 1) {
        $('#P11_ORDER_TYPE').val('CONSUMER');
      } else if (parseInt(startdigit) === 2) {
        $('#P11_ORDER_TYPE').val('BUSINESS');
      }
    

    I hope this helps!

    Kind regards

    Kiran

  • Dynamic action calling JavaScript with parameters

    I have a DA who called some JavaScript to Hide/Show/cancel 2 P110_PARENT_SOLUTION_ID text elements, P110_ANSWER_TEXT be part of radio P110_DIRECTORY_TYPE.

    DA > settings > Code:

    If ($v ("P110_DIRECTORY_TYPE") == 'R') {}

    $("label[for=P110_HEADER_TEXT]").text ("name of the root directory")

    $x_Hide ('P110_PARENT_SOLUTION_ID');

    $x_Value('P110_PARENT_SOLUTION_ID',"");

    $x_Hide ('P110_ANSWER_TEXT');

    } ElseIf ($v ("P110_DIRECTORY_TYPE") == 'E') {}

    $("label[for=P110_HEADER_TEXT]").text ("header text")

    $x_Show ('P110_PARENT_SOLUTION_ID');

    $x_Show ('P110_ANSWER_TEXT');

    } ElseIf ($v ("P110_DIRECTORY_TYPE") ==' no) {}

    $("label[for=P110_HEADER_TEXT]").text ("directory name")

    $x_Show ('P110_PARENT_SOLUTION_ID');

    $x_Hide ('P110_ANSWER_TEXT');

    $x_Value('P110_ANSWER_TEXT',"");

    }

    This works perfectly, however I need to reproduce this code for 2 more areas on the same page. To do this, I created a JavaScript function with 3 parameters and call it in the dynamic action

    Page header > Javascript > function and Global Variable declaration:

    function ProcessDirType

    (I_DirectoryType

    I_ParentSolutionId

    I_AnswerText

    )

    {

    If ($v (I_DirectoryType) == 'R') {}

    $("label[for=P110_HEADER_TEXT]").text ("name of the root directory")

    $x_Hide (I_ParentSolutionId);

    $x_Value(I_ParentSolutionId,"");

    $x_Hide (I_AnswerText);

    } ElseIf ($v (I_DirectoryType) == 'E') {}

    $("label[for=P110_HEADER_TEXT]").text ("header text")

    $x_Show (I_ParentSolutionId);

    $x_Show (I_AnswerText);

    } ElseIf ($v (I_DirectoryType) ==' no) {}

    $("label[for=P110_HEADER_TEXT]").text ("directory name")

    $x_Show (I_ParentSolutionId);

    $x_Hide (I_AnswerText);

    $x_Value(I_AnswerText,"");

    }

    }

    DA > settings > Code:

    ProcessDirType

    ("P110_DIRECTORY_TYPE"

    , "P110_PARENT_SOLUTION_ID".

    , "P110_ANSWER_TEXT".

    );

    Her DA stopped working correctly, I tried to replace the parameters with single quotes but not joy.

    Can someone give me the correct syntax so that I can make my code more generic and call in three different DA?


    Concerning

    ADE

    I didn't think there would be syntax errors, everything looks good from here. Single or double quotes can be used.

    Maybe it's something to do with the way in which the dynamic action is called. Is what event listening? Nothing has been changed in order to manage several regions?

    You can add this sort of thing to your javascript to help determine what is invoked and view the output in the javascript console.

    console.log('I_DirectoryType:'+I_DirectoryType);
    
  • Alertify Plugin - how to call via Javascript and not by a dynamic Action

    Hello

    Environment: Oracle APEX v4.2.1 | Oracle 11g R2 | IE8 Web browser

    Hoping someone can help, I use the plugin Alertify via a dynamic Action, but my question is, instead of use this via a dynamic Action, I actually want to make the same call I do via a dynamic Action but rather using javascript.

    So, by using a shape any JavaScript API in the Alertify plugin, I want to call an alert notification standard with the message and the delay effect until it disappears once more.

    Is it possible to call this plugin in this nature using javascript?

    Thank you.

    Tony.

    You can always use the plugin and a custom event.

    Create a dynamic action:

    • Event: Custom
    • Custom event: ALERTIFY_DELAY
    • Selection type: jQuery Selector
    • Selector: body
    • 1 real action:

    Add the following code to the section "run when Page Loads:

    window.setTimeout(function(){
      $('body').trigger('ALERTIFY_DELAY');
    }, 3000);
    

    This will cause the "ALERTIFY_DELAY" event fires after three seconds.

  • Dynamic action to email from automatic calculation of the fields in the form created in the APEX firstname and lastname

    Hello

    I am working in the form based on the employees table. I have email_id (P169_EMAIL_ID), last_name(:P169_LAST_NAME) and 3 fields/items first_name(:P169_FIRST_NAME). I am trying to create a dynamic action Auto Fill the id field of electronic mail with the email ID immediately when the user enters first name and family name, he clicks on the e-mail id field. Please help me with suggestions for the code I should use in dynamic action. For example, if a user enters rakesh in the first name field and choudhury to registered name the by clicking the id field e-mail should automatically show [email protected]

    Thanks in advance!

    Hello

    957450

    You need to change your name to something more appropriate

    I work in the form based on the employees table. I have email_id (P169_EMAIL_ID), last_name(:P169_LAST_NAME) and 3 fields/items first_name(:P169_FIRST_NAME). I am trying to create a dynamic action Auto Fill the id field of electronic mail with the email ID immediately when the user enters first name and family name, he clicks on the e-mail id field. Please help me with suggestions for the code I should use in dynamic action. For example, if a user enters rakesh in the first name field and choudhury to registered name the by clicking the id field e-mail should automatically display [email protected]

    You can use a DA to set the email in the agenda of the Email page when there is a change in the maybe the first name of the person if it follows in the order you presented above.

    E.g.

    Event: change

    Point: P169_LAST_NAME

    Action: Set

    Fires when the event is the result: true

    Parameters

    Set tYpe: PL/SQL body Funtion

    declare
    l_email varchar(40);
    begin
    l_email := :P169_FIRST_NAME||'.'||:P169_LAST_NAME ||'@oracle.com' ;
    return l_email;
    end;
    

    Page items to submit: P169_FIRST_NAME, P169_LAST_NAME

    Items concerned:

    Article: P169_EMAIL_ID

    NB: I recommend that you look at the dynamic Actions of the sample under the application package.

    Hope this helps

    Kind regards

    Benjamin.

  • Dynamic action to execute PL/SQL that calls a JavaScript alert - does not

    Greetings,

    I'm stuck!  I use the Apex Version 4.2.2.  I have a requirement that, when the user fills Field1, I check the database to see if the value of field1 has already been used.  If it was used, I have to inform the user, but the user is allowed to reuse the value - that is to say, duplicates are allowed.  My thought is to use a dynamic action to check the onchange of value running pl/sql to check (via a function in the database) and if it returns true, use a javascript alert to inform my user value is used.  They can then close the alert and change (or not change) the duplicate value

    I did the following:

    1 wrote a PL/SQL function in my utility package in the database - we'll call it apps.my_utils.check_value_use (p_my_val in varchar2) return Boolean - it works.

    2. created a dynamic Action with the following properties for P1_FIELD1:

    Event: change

    Selection type: item (s)

    Product (s): P1_FIELD1

    Condition: is not null

    3. the dynamic Action has an action - real Action

    Action: Execute the PL/SQL Code

    Page items to submit: P1_FIELD1

    PL/SQL code:

    BEGIN

    IF apps.my_utils.check_value_use(:P1_FIELD1) = TRUE THEN

    HTP.p ("< script type =" text/javascript "> '");

    HTP.p ("alert (" this value is used ""); ")

    ');

    HTP.p ("< /script >" ");

    END IF;

    END;

    When I run the page and fill in Field1 with a value that I know is in use, I get the following error:

    Error: parsererror - SyntaxError: JSON.parse: unexpected character

    Help, please.  I already spent too much time on this apparently simple requirement.

    Thank you

    J.

    BEGIN

    IF apps.my_utils.check_value_use(:P1_FIELD1) = TRUE THEN

    HTP.p(' ');

    END IF;

    END;

    Avoid doing this. Try the following method:

    (1) create a dummy hidden element to store the result of your validation of PL/SQL. Lets call it P1_DA_ERR

    (2) in your PL/SQL block put this point hidden in the field "Page point back.

    (3) in your PL/SQL block placed the result of your validation in this element hidden as

    DECLARE
    l_err PLS_INTEGER := 0;
    BEGIN
    -- An example
    IF 1=1 THEN
    l_err := 0;
    ELSE
    l_err := 1;
    end if;
    :P1_DA_ERR := l_err;
    END;
    

    (4) add a true other "Run Javascript code" type action. The could should look like:

    if(parseFloat($v('P1_DA_ERR'))==1)
    {
    alert('Error occurred');
    }
    
  • Cannot call a dynamic report link action after dynamic refresh

    I have a shopping car, that I'm trying.  (apex 4.2 database 11 g 2)

    In the basket, I have a link change which performs the dynamic action to open the modal page plugin.   I also have a button on the region to do a region of dynamic action refresh if you modify the cart in modal region.  After the updating of the region, I can no longer click on the link Edit (nothing happens)

    the link is defined as class = "lines" onclick = "return false".

    and lines is a dynamic action of jquery to call the page target in the link for the modal skills builders page.

    I checked the JS console and I saw no errors... any suggestions?

    Thank you

    Scott

    Hello

    When the page is loaded, Jquery listen event trigger on document.ready

    But in your case, when you refreshed your region, the values on the screen are from this point while it was loaded before.

    Go to your dynamic action

    Change extended the event live or dynamic.

    Scope of the event: DYNAMIC or LIVE

  • can the dynamic action call function already?

    I have a dynamic action that keeps a total on the screen for two columns of numbers.

    Now I need to have a total cumulative where X column > column Y. I don't know if I can do that in an expression javascrip t. I had hoped to call a JavaScript function that returns the value... but the function does not return anything right now.


    This could be a thing of syntax sillly - I hope so, but before you spend more time looking for in this I but I would like to ask - is it still possible?

    Assuming that column1 is apex global table 1(name=f01) and column 2 picture 2 (name = f02).
    Name of the item page that show the total operation: P100_TOTAL
    Dynamic action
    Event: change
    Triggered by: jQuery selector
    selector: * input [name = f01], input [name = f02] *.
    Event type: javascript

    var total = 0;
    /* Go up untile report table */
    var this_table = $(this.triggeringElement).parents('table:first');
    
    /* Loop through each report row */
    this_table.find('tr').each( function(){
    var colX = ( $(this).find('input[name=f01]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f01]').val() );
    var colY =  ( $(this).find('input[name=f02]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f02]').val() );
    /* Add colX if its greater than Y */
    if ( colX >colY)  {
       total += colX;
      }
    }
     /* Assign Page itme with total*/
    $s(' P100_TOTAL',total);
    
  • Use Dynamic Actions with pl/sql, calling a javascript alert function

    Hello

    I use Apex 4.0.1.00.03 with IE7.

    The problem I have is:

    I am converting an Oracle Forms application that has a lot of logic in it. In the application forms, it is a pl/sql function, based on a If/else condition call a popup alert box, which displays a warning message. He called pl/sql functions that return raising to the IF statement.

    Example of pl/sql code:

    If check_records() > 0 Then
    message to the alert box
    ElsIf TypeA_record then
    message to the alert box
    On the other
    message to the alert box
    End If;

    I need to replicate this functionality to the Apex 4. I tried to create dynamic Action on a page element, using a pl/sql function, however, when I call the popup javascript, this code not popup an alert box. I need the pl/sql to be run when the element of the page changes, not when the page is sent.

    The code I used to test the pl/sql code, which does not work in dynamic Actions > pl/sql is:

    Begin
    HTP.p ("< script type =" text/javascript"> '");
    HTP.p ("alert ("today runs javascript code!");"
    );
    HTP.p ("< /script >");
    End;

    I need to create a pl/sql function that can do alert areas based on an IF condition.

    Could someone point me in the right direction? Using dynamic shares the best way forward? I need to trigger on a page element, change the value.

    Works fine now.
    In the javascript code, I changed:

    get.addParam ('x 01', $v ('P105_PREP_TYPE'));

    by

    get.addParam ('x 01', $v ('P1_PREP_TYPE'));

    P1_PREP_TYPE is the correct name of the element.
    Now when I choose the OTHER, 1 message.

    Concerning

  • I need to call a function in a dynamic action is possible

    I'm creating a value for a field...
    Now, here's a function I created...
    Now the question is... In dynamic action... I put the body of the function as...
    *: p200_combo_amt: = find_combo_amt(:p200_magazine_no,'COMBOONEYEAR'); *
    Can we define the body of the function in da for the value set in the highest way?
    and set the items affected on p200_combo_amt
    But the value is not affected.... I'm doing something wrong?
    Below you will find my function, etc.
    I thought that p200_combo_amt should have been 5... but it shows me as null...

    create or replace
    function find_combo_amt (mmagazine_no number, mcombo_name varchar2)
    Return number
    is
    number of mag_no1;

    number of mamt;
    Start
    mamt: = 5;
    return mamt;
    end;
    Though some may let me know its appreciated.
    Thank you

    Hello

    Try the body of the function

    DECLARE
      l_num NUMBER;
    BEGIN
      l_num := find_combo_amt(:P200_MAGAZINE_NO, 'COMBOONEYEAR');
    
      APEX_UTIL.SET_SESSION_STATE('P200_COMBO_AMT', l_num);
    
      RETURN l_num;
    
    END;
    

    Kind regards
    Jari

    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

Maybe you are looking for

  • Screen sharing group, no premium rate?

    Hello in a conference call, each participant can share the screen? is this available if none of the participants has award-winning Skype? Note, audio and video are not necessary, the screen just sharing. THX!

  • Motorola Charm MB505 apps

    Where can I get the file of all applications of the MB505 charm? such as youtube, wrobser, news...

  • Pavilion 500-413nl: which download to choose?

    Hi all My question is very simple: what download, among the ones available on this page, choose to download and install to my PC? I see that some of them, like AMD, are not applicable, my PC is not an AMD graphics card. So, what should I do?

  • I can't install Adobe Photoshop 5.0

    The CD opens, when I click on the install button nothing happens

  • Check the internet connection

    Hello everyone, I am applying, and I want to know when the phone is to have internetI tried with this code: