How to validate an element of the shuttle in the oracle apex

Hello

I have an element of the shuttle in the page. I want to validate the shuttle. use 3.2.1 on oracle 11g oracle apex.

I want to trigger an alert if the value of not selected by the user to shuttle on the other displays the value selected in alert.

Please help me solve this problem.

Thank you

Published by: kumar73 on April 17, 2010 14:15

Hello

This might help
http://download.Oracle.com/docs/CD/E14373_01/AppDev.32/e11838/bldr_pgs.htm#sthref565

Create the validation level element non-Null step

BR, Jari

Tags: Database

Similar Questions

  • How do for elements to create the shuttle cascading in Oracle Apex

    Can everyone please create me Articles of the shuttle in cascade in the oracle apex.

    The same way as you do that for selection only lists the condition is a little different. Here is an example of the second Shuttle in my case:

    SELECT pcat_title d, pcat_id r

    FROM (SELECT pcat_id, pcat_title, pcat_pt_code

    Of om_prod_categories

    WHERE pcat_parent_id IS NULL)

    WHERE INSTR (': ' |: p3_prod_pt_code |) ':',

    ':' || pcat_pt_code | ':') > 0

    Denes Kubicek

  • How to hide the field element of text based on true or false cases in the oracle apex

    Hello

    I have a set of text field in the oracle apex:

    1. Order number
    2. Revision number

    When we open the report, the review must be hidden.

    Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.

    If he enters the number of duplicate order, the revision number should be hidden.

    Help, please.

    Hi 2932464,

    2932464 wrote:

    Hello

    I have a set of text field in the oracle apex:

    1. Order number
    2. Revision number

    When we open the report, the review must be hidden.

    Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.

    If he enters the number of duplicate order, the revision number should be hidden.

    Help, please.

    Give you an example of how to do to get there.

    Step 1. Create three elements of the Page

    (1) P1_ORDER_NO - text field

    (2) P1_REVISION_NO - text field

    (3) P1_ENABLE_DISABLE_REVNO - hidden, protected value - no.

    2 create dynamic Actions 3

    (1) disable the revision on the loading of the page number

    Event - loading of the Page

    Action - disable

    Fires when the result of the event is - real

    Selection type - point

    Point - P1_REVISION_NO

    (2) check the number of duplicate order

    Event - change

    Selection type - item (s)

    Article (s) - P1_ORDER_NO

    Condition - is not null

    Action - to execute the PL/SQL Code

    Generate in front of false action - not checked

    Fires when the result of the event is - real

    Fire on page load - disabled

    Stop execution on error - checked

    Wait for the result - verified

    PL/SQL - code

    declare
    l_count number;
    begin
      select count(*) into l_count
        from emp
       where empno = :P1_ORDER_NO;
    
    if l_count > 0 then
      :P1_ENABLE_DISABLE_REVNO := 1;
    else
      :P1_ENABLE_DISABLE_REVNO := 0;
    end if;
    end;
    

    To present the page = P1_ORDER_NO

    Page referred to return = P1_ENABLE_DISABLE_REVNO

    (3) enable and disable the revision number

    Event - change

    Selection type - item (s)

    Article (s) - P1_ENABLE_DISABLE_REVNO

    condition - greater than or equal to

    value - 1

    Action - disable

    Fire on Page Laod - disabled

    Generate the opposite action of false - verified

    Selection type = item (s)

    Article (s) - P1_REVISION_NO

    Hope this helps you,

    Kind regards

    Jitendra

    DER_NO

  • How to validate an entry when the focus leaves the intensity absorbed in

    How to validate an entry when the focus leaves the intensity absorbed in a form?

    "Ansury" wrote in message
    News:garo90$L71$1@forums. Macromedia.com...
    > Not AFAIK. Event.Target has a reference to the object that sent the
    > event. In livedocs:
    >
    > "Every event object has a goal and a currentTarget property that help."
    > you
    > Hold where it is being spread. The target
    > property
    "> return to the sender of the event.
    "
    >
    > BUT...
    > Your if statement will never evaluate true because you compare one
    > UITextField to a TextInput. A UITextField (stored internally in a
    (> TextInput, it makes the text) actually dispatches the event.

    currentTarget gives you the object on which the event actually listener
    attached to...

  • 2 How to remove an element from the tree and the database block tree?

    Hello

    2 How to remove an element from the tree and the database block tree?

    Kind regards

    Abdetu...

    The problem is caused by not sending forms is not a VALIDATION of the database because he thinks that there is no changes to save.

    Forms does know that changes to the data block, he does not know the changes made by the PLSQL INSERT, UPDATE, DELETE calls and procedure.

    Try to remove the line to block, rather than using a DELETION like that...

    go_block ('INSP_EQUIPMENT_TYPE');if form_success then   do_key ('DELETE_RECORD');end if;
    
    
    

    If you wish to continue using your original DELETE instead of my change above code, you can use different techniques to force forms to issue the COMMIT to the database, including this one...

            DELETE ...        FORMS_DDL ('COMMIT');
    

    Be careful... This will be the VALIDATION of the database, but the changes to the data block will not be sent to the database!

    I posted a few other ways to issue a VALIDATION of forms here
    www.seeristic.com/Forum_Posts/Forms_COMMIT.txt

  • How to get special characters in the oracle column only

    Hi all

    with spec_tab

    as

    (

    Select ',' col1 of double

    Union

    Select ',' col1 of double

    Union

    Select 'something' double

    )

    Select col1

    of spec_tab

    How to get special characters in the oracle column only

    You mean like this?

    -------------

    WITH spec_tab
         AS (SELECT ',,,,' col1 FROM DUAL
             UNION
             SELECT ',' col1 FROM DUAL
             UNION
             SELECT 'some thing' FROM DUAL)
    SELECT col1
      FROM spec_tab
      where translate('~'||col1,'~0123456789abcdefghijklmnopqrstuvwxyz ','~')<>'~'
    

    Output:

    -----

    COL1

    ,

    ,,,,

    See you soon,.

    Manik.

  • How to find this value in the oracle database to find out the table

    Hi expert,

    I know there is a value in the oracle database, please show me how to find this value in the oracle database to find out the table that contains this value.

    Thank you very much

    918440 wrote:
    Hi expert,

    I know there is a value in the oracle database, please show me how to find this value in the oracle database to find out the table that contains this value.

    Thank you very much

    Go to the online documentation and discover the data dictionary. You may be interested in reading about ALL_TAB_COLUMNS, but you will need to know what you want until you can query the view to find information

  • How to remove buttons in the buttons of the region in the oracle apex?

    How to remove buttons in the buttons of the region in the oracle apex?

    I created unwanted buttons... so I have to remove...
    but I don't know how to do this?

    Hello

    -> Page of the apex towards the region of buttons where the list of buttons.
    -> Click on the button you have to remove.
    -> Click on the button 'Delete' at the top of page.
    -> It ask for confirmation click 'OK' to delete this button

    OR

    -> Page of the apex towards the region of buttons where the list of buttons.
    -> Click the "Change all" and go to the tab "delete several buttons.
    -> Check the buttons which yo I want to delete.
    -> Click on the button "Delete Botton" for button remove selected

    Kind regards

    Patel Kartik
    ------------------------------------------------------------------------
    http://patelkartik.blogspot.com/
    http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1

  • APEX dynamic action - how to hide an element after the loading of the page

    Hello

    I have a form with the element Type, lesson and page.   I want to create a dynamic as action ' on page load "If Type = x don't then see the lesson and the elements of the page. .

    How can I know if Type = x don't see the lesson and the page. It does not show them.

    Please note the dynamic, action = Page load event

    Thank you

    Try adding

    When the Condition "Javascript expression."

    Value: $v ('P1_TYPE') == 'x')

  • How to upgrade PVE political in the Oracle 11 g 2 database

    Hello

    I am trying to connect to a SFTP with JAVA server in the Oracle database (using Java lib jcraft jsch (lib)

    I added JAR files in database, compile my proc stored without errors.

    When you try to perform my procedure, I have this message

    "" Aes256-cbc"cipher is required, but it is not available.

    On my desk, I can update my JDK with UnlimitedJCEPolicyJDK7 PVE security

    But how do I update PVE of the JDK to the database? h

    I've updated the files $ORACLE_HOME/jdk/jre/lib/security/local_policy.jar and $ORACLE_HOME/jdk/jre/lib/security/US_export_policy.jar but it does not work.

    Any ideas?

    Thank you

    The PVE for JDK6 is evil, because the version of the JDK in Oracle Database 11 g 2 is JDK5 (!)

    So I updated with this JCE jar files: Java Archive downloads - Java platform Technologies

    And it works!

  • How to insert vidio file in the oracle database

    Hi Experts,

    Can you please tell me, how to insert video in the oracle database.
    and what are the formats it supports.

    Thanks in advance,
    Sanjeev,

    To do this, you don't need an expert, you only need the capacity and the ability to googleor search this forum.
    This question was asked here several times by people who, like you, have refused to use online resources.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • How to reset the password for the oracle apex 4.1

    Hi all
    I forgot my password of oracle apex how do reset it please, my version is 4.1
    Thank you

    Hello

    I think that you have reached the wrong forum for your question, because it is dedicated to specific questions for the Oracel Database XE. Have your post would fit better {forum: id = 137}
    Anyway, your question can be easily answered: there is a script for resseting your password in the APEX installation package you used when you upgrade your APEX 4.1. See the corresponding section in the [url http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#BABDEAFD]APEX Setup Guide for more details.

    -Udo

  • How to handel, a batch in the oracle database

    How handel a batch in the oracle database?

    Concerning
    Alok

    You can use DBMS_SCHEDULER.

    See:
    http://www.Oracle-base.com/articles/10G/Scheduler10g.php
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14220/mgmt_db.htm#sthref2285
    Or the Oracle Documentation @ http://tahiti.oracle.com

    Published by: hoek on March 16, 2010 09:57 docs are available again

  • How to change the oracle APEX application after the Oracel APEX 3.2 to 4 upgrade

    I have already installed Oracle APEX 3.2 and Oracle database 11.2 in the linux machine. I want to improve Oracle APEX of 3.2 to 4.1. I just want to know that the application developed in Oracle APEX 3.2 will be automatically upgraded or I have to do this manually after the upgrade to Oracle APEX 4.1.

    Published by: 908266 on January 16, 2012 01:49

    you mean the usefulness of "Request for upgrade"?
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/bldr_app_rpt.htm#CHDJJJAA

  • How to run a function in the oracle plsql object when the object dies

    I have an object plsql function member as exec_last.
    I want this procedure that is called when the plsql object is cleaned or when the accommodation session this object dies.

    In C, we have a system call as atexit(). Is there such a feature in Oracle 10 g or no workaround using embedded java.

    This feature is required to empty the contents stored in the plsql in the object to the database, when the program terminates.

    Thank you
    Best regards,
    Navin Srivastava

    navsriva wrote:

    Is there a better way to cache in memory.

    What is the Oracle buffer cache? It is exactly that - a cache for data blocks. The two new blocks (created by inserting new rows) and existing blocks (used by selects, updates and deletions and reused (freespace) inserts).

    The Oracle buffer cache is a cache of very mature and sophisticated. Trying to do "+ best +" to the db, buffer cache in another layer of software (such as PL/SQL) is mostly a waste of time and resources... and invariable introduced another layer of s/w which simply increases the number of moving parts. This in turn usually means increased complexity and slow performance.

    Why use the treatment in bulk from PL/SQL? The basic answer is to reduce switching between the PL and engine SQL context.

    During the execution of a code to insert data in SQL, the data must be passed to the SQL engine, PL PL engine must perform a context to the SQL engine switch so that it can process these data and execute the SQL statement.

    If there is a 1000 lines of inserts, this means that a 1000 context switches.

    In bulk treatment makes the "+ pipe communication / data + ' between the two biggest ones. Instead of passing data from one line to the SQL engine via a context switch, a collection of in bulk / picture of a 100 lines is passed. There are now only 10 changes of context necessary to push this 1000 lines of the PL engine to the SQL engine.

    You can do the same on any other client SQL... (remember, that the PL itself is also a SQL client). You can, using C/C++ for example, do exactly the same thing. When the row data to the SQL engine to insert, pass a collection of 100 rows instead of the data for a single line.

    The exact result of the same benefits as in PL/SQL. A pipe communication more, allowing more data to be transferred to and from the SQL, with engine for result less context switching.

    Of course, a context switch ito C/C++ is much more expensive than in PL/SQL - as the engine PL is located in the same physical process as the SQL engine. Using C/C++, this will usually be a separate process, to communicate with the SQL engine on the network process.

    The same applies to other languages, such as Java, c#, Delphi, Visual Basic, and so on.

    It not be wise to introduce another layer of s/w, the motor of PL/SQL and the customer "+ insert +" stored in his memory structures... and then use the PL engine to '+ flower' + for the SQL engine via a process control in bulk.

    It will be faster and more scalable, have the language of the client with treatment directly and dealing with the SQL engine directly in bulk.

    Simple example. What is SQL * Loader program (written in C), use? It uses no PL as a proxy to move data from a CSV file into a SQL table. He calls SQL directly. It uses a treatment in bulk. It is very fast to load data.

    There is an exception to this rule. What PL is used as a layer of processing and validation of business. Instead of the client code, implementation of this logic, it is done using LP. The customer then will not is more manually add an invoice to the table of the INVOICES for example. He called the procedure of PL/SQL AddNewInvoice instead - and this procedure does everything. It checks the valid client code. Ensures that there are stocks of the products ordered on the invoice. Etc.

    But in this scenario, PL is not used a flea market "buffer cache. It is used for what it was designed for - a correct application inside the database layer.

Maybe you are looking for