How do I group by with NULL

If I want to get the count of a table, but I want group not null and null values in a column

If the final result should be

Column count
118 non-null
501 null

Hello

Do you mean that you want NULL values in a group and all values not NULL, regardless of what they are in another group?
Here's one way:

SELECT       COUNT (*)     AS cnt
,       NVL2 ( comm
            , 'non-null'
            , 'null'
            )     AS columnA
FROM       scott.emp
GROUP BY  NVL2 ( comm
            , 'non-null'
            , 'null'
            )
ORDER BY  columnA
;

Note that the NLV2 expression in the SELECT must be repeated in the GROUP BY clause; You may not use the alias column (columnA), as you can do it in the ORDER BY clause. If you don't want to repeat the GROUP BY expression, you could comput it once, in a subquery and then use the alias as many times as you have wanted in the main query.

Tags: Database

Similar Questions

  • How to set group radio default null value option?

    I have a dynamic LOV that appears as a group of radio buttons. I want to display null values (Null display value set to 'All values') to use a custom search page. How to set the default to "all values"? I tried to use the value default '% null' area without success.

    O all values (value zero)
    O Option 1
    O Option 2
    Option 3

    Hello

    In order to ensure that "ALL" is selected, you must do a few things:

    1. on the definition of your radiogroup, set the following parameters:

    Display Null: No.
    Value null, display value: (leave empty)
    Value null, return value: (leave empty)

    2. then, update the list of parameter values to include a NULL value. Something like:

    SELECT ' ALL ' d, -1 r FROM DUAL
    UNION ALL
    SELECT DNAME d, DEPTNO r FROM DEPT ORDER BY 1
    

    (in this way, EVERYTHING becomes a part of the data). Note that in this example, I used-1 as "return value zero"-that's because I use a numeric field (DEPTNO). Change a string if you are using a field of VARCHAR2.

    3. create a new calculation of Page. It should run on the radiogroup element header before. The calculation would be a static assignment of the "return value zero" you set above - in my example, it is -1 the calculation should depend on the value of the element being null radiogroup. This, I found it, is the best way to make sure you get a default value before the page is loaded.

    I did all this on: [http://apex.oracle.com/pls/otn/f?p=33642:216]. My report SQL query is then:

    SELECT EMPNO, ENAME, DEPTNO
    FROM EMP
    WHERE :P216_DEPTNO = -1 OR DEPTNO = :P216_DEPTNO
    

    Andy

  • Remove data with null value

    Hello

    I'm using Oracle 11 g. I have a table with an id of 3, node, the value column. Combination of the column id and node, that must be taken account for deletion on the registers.

    Here, I need to delete lines with the NULL value in the value column. If for a combination of id and node with non-null values, then I need to delete rows with a null value for this combination.

    If the combination of id, node is not null value then this records should not delete.

    Below table, I need to remove the second row, for which is a value not zero VOICE CAL '10' is there, so I need to delete the row with null values. (VOICE, CAL, NULL)

    Network, FL, there is no value is non-null then I should NOT delete this line.

    This table is to have 100 s of this association, we can delete data in a single delete query?

    Or how I can delete rows with nulls for this combination.

    Tab1

    VALUE OF THE NŒUD ID

    VOICE CAL 10
    VOICE CAL NULL
    NETWORK NULL FL

    Thank you

    Hello

    oradba11 wrote:

    Hello

    I'm using Oracle 11 g. I have a table with an id of 3, node, the value column. Combination of the column id and node, that must be taken account for deletion on the registers.

    Here, I need to delete lines with the NULL value in the value column. If for a combination of id and node with non-null values, then I need to delete rows with a null value for this combination.

    If the combination of id, node is not null value then this records should not delete.

    Below table, I need to remove the second row, for which is a value not zero VOICE CAL '10' is there, so I need to delete the row with null values. (VOICE, CAL, NULL)

    Network, FL, there is no value is non-null then I should NOT delete this line.

    This table is to have 100 s of this association, we can delete data in a single delete query?

    Or how I can delete rows with nulls for this combination.

    Tab1

    VALUE OF THE NŒUD ID

    VOICE CAL 10
    VOICE CAL NULL
    NETWORK NULL FL

    Thank you

    You can do this in a single DELETE statement (it is not a request), using an EXISTS or IN the subquery.  For example:

    REMOVE table_x m

    WHERE the value IS NULL

    AND THERE ARE)

    SELECT 0

    FROM table_x s

    WHERE s.id = m.id

    AND s.node = m.node

    AND s.value IS NOT NULL

    )

    ;

    If you would care to post CREATE TABLE and INSERT instructions for the sample data, and then I could test it.

  • How to stop grouping Adobe 'MALWARE' with their updates.

    We must launch a petition to Adobe to stop the McAfee group automatically with each update. Not everyone is tech savvy (including my parents) and I'm sick of helping those who have accidentally install this shit on their machines. If they are unable to stop the group he have at least the box unchecked on the page set up so people can manually check themselves after they read whatever it is if they still want installed. It of bad netiquette and doing business, and it must end now.

    This isn't a good reason for self opt in. There is very little reason to auto opt in anything, especially something unrelated to your software.

    A lot of people do not trust McAfee in particular for many reasons arising from their history of advertising, mediocre ability, wrong size, wrong gear and many other things. Even IF they did a reliable product, flash is too ubiquitous to think that end users do not already have an AV installed.

    Software AV usually don't play well with other AV software, including McAfee and Symantec.

    This also opens the Adobe Flash Installer for Trojans tie so that the portion of McAfee requires a high level of function security. If you think this is a reason for direct downloads, it's not that it would not be a big problem to the Adobe servers target for a feat.

    The latest incarnation of McAfee AV is very buggy and creates its own weird UI with no warning is another very bad question.

    Note that this problem is on top of the already bad issue of the update of flash too often; always use automatic updates is enabled instead of remember the choice of the user; and the additional steps new, horrible to have to go to adobe.com to update while keeping the annoying popup previous installer.

    [mug shot = response to reply comments section]

    Jeromie Clark wrote:

    Thanks for your comments.

    Flash Player is extremely expensive to develop, maintain and distribute.  It requires the effort of a large number of specialized and talented people, and by pushing a single implementation to day consumes approximately 50 petabytes of bandwidth.  To offer Adobe products free bundles represent a necessary cost-recovery mechanism.

    If Adobe had "50 petabytes with a value of bandwidth", they wouldn't need McAfee for advertising revenue they'd already one of the richest companies in the world. Why? Because Google uses only 25 ~ TB of bandwidth, and it would take 2,000 times more than that. Check your knowledge before the representative of your company.

    If you mean that the total amount of data transferred to end users by adobe for an update, then you have another problem, which would be > 1 billion downloaded best!

    If it's so expensive to Adobe to "develop, maintain and distribute" flash drive, maybe Adobe should look to make a few changes:

    • Stop requiring direct downloads (they are irritating and considered dangerous)

      • Deliver via the channels of the torrent/cloud/normal add-on: secure, fast and efficient
    • Rewrite your drive (it's already slow, outdated, bloated, buggy, proven risk security, etc.)
    • Open source (what are you afraid of?) We will steal your crappy code, create a better product in less than a year, know that there are really malware?)

    "bundles represent a necessary cost-recovery mechanism.

    • Explain why you and Oracle are the only two major software providers who do this
    • Is this the reason why you must group an AV program, to mitigate the cost of garbage on the computers of people fed by force?

    To get more technical account users use only your product to avoid legal issues surrounding copyright godawful Adobe Flash there solutions much better flash out there who are in questionable legal territory (although probably safe).

    [/rant]

  • How to display the line empty as a line with null values

    Hi all

    Pls advise me if it is possible to use a single query statement to display
    Empty row (i.e. not a single return line) as a line with null values.

    For example,.

    Select the names of names_mst whose name = "sgasfgs".

    Result:
    Names of
    =====
    < null >

    Hello
    If you desire to join external to double, as shown below, you still get at least a line of production

    SELECT  nm.names
    FROM            dual
    LEFT OUTER JOIN names_mst   nm  ON nm.name='sgasfgs';
    
  • How to change the Rectangles with buttons

    I'm working on this example that does not work correctly:

    public class test extends Application
    {
    
        private void init(Stage primaryStage)
        {
    
            Group root = new Group();
            primaryStage.setScene(new Scene(root));
    
            String pillButtonCss = DX57DC.class.getResource("PillButton.css").toExternalForm();
    
            // create 3 toggle buttons and a toogle group for them
            ToggleButton tb1 = new ToggleButton("Left Button");
            tb1.setId("pill-left");
            ToggleButton tb2 = new ToggleButton("Center Button");
            tb2.setId("pill-center");
            ToggleButton tb3 = new ToggleButton("Right Button");
            tb3.setId("pill-right");
    
            final ToggleGroup group = new ToggleGroup();
            tb1.setToggleGroup(group);
            tb2.setToggleGroup(group);
            tb3.setToggleGroup(group);
            // select the first button to start with
            group.selectToggle(tb1);
    
            //////////////////////////////////////////
    
            final VBox vbox = new VBox();
    
            final Rectangle rect1 = new Rectangle(300, 300);
            rect1.setFill(Color.ALICEBLUE);
            final Rectangle rect2 = new Rectangle(300, 300);
            rect2.setFill(Color.AQUA);
            final Rectangle rect3 = new Rectangle(300, 300);
            rect3.setFill(Color.AZURE);
    
            tb1.setUserData(rect1);
            tb2.setUserData(rect2);
            tb3.setUserData(rect3);
    
            group.selectedToggleProperty().addListener(new ChangeListener<Toggle>()
            {
                @Override
                public void changed(ObservableValue<? extends Toggle> ov, Toggle toggle, Toggle new_toggle)
                {
                    if (new_toggle == null)
                    {
                        //rect.setFill(Color.WHITE);
                    }
                    else
                    {
                        vbox.getChildren().addAll((Node[]) group.getSelectedToggle().getUserData());
                        //rect.setFill((Color) group.getSelectedToggle().getUserData());
                    }
                }
            });
    
    
            ///////////////////////////////////////////
    
    
            HBox hBox = new HBox();
            hBox.getChildren().addAll(tb1, tb2, tb3);
            hBox.setPadding(new Insets(20, 20, 260, 20));
            hBox.getStylesheets().add(pillButtonCss);
    
    
    
            vbox.getChildren().add(hBox);
            //vbox.getChildren().add(rect);
    
            root.getChildren().add(vbox);
        }
    
        @Override
        public void start(Stage primaryStage) throws Exception
        {
            init(primaryStage);
            primaryStage.show();
        }
    
        public static void main(String[] args)
        {
            launch(args);
        }
    }
    
    
    

    I want to create several Rectangles (or in which object or object) in which I want to store data. I want to spend the Rectangles (objects) that appear in front of the user by using the buttons. The example that I put in place does not work correctly. Can you tell me what is the right way to implement this?

    REF javafx 2 - How to change the Rectangles with buttons - stack overflow

    You have two problems:

    User data that assign you to each button switches are a node, not a [Node]. Thus, the cast will fail on line 43.

    When the selected toggle changes, you add another Rectangle to the vbox. You want to replace the rectangle that is in the vbox.

    Try

    vbox.getChildren () .setAll ((Node) group.getSelectedToggle () .getUserData ());

  • How to remove a shortcut with the command line?

    How to remove a shortcut with the command line?

    How to make a backup of the local users and groups with command line?

    You delete a shortcut, just as you would remove any other file.  A shortcut will end with the extension ".lnk".  So assuming you are trying to remove the shortcut named "Shortcut.lnk" which appears to the user 'Bob's Office, you use the button Delete (del) or 'clear' command by specifying the full path to the file.  (Remember to put filename in quotes if there is a space anywhere in the path or name) as in:

    del "C:\documents and settings\Bob\Desktop\Shortcut.lnk".

    What kind of a backup 'users and groups' you want to do?  If there is a backup of the users and groups as written in the registry, a good registry as C:\WINDOWS\ERUNT backup program that will make the command line.  If you are trying to backup all users and their data as well, then you are better off with a backup program.

    HTH,
    JW

  • How to close share it with others that my conversations on MSN live?

    I can't find how to disable share them with others who maybe have me on their contact lists my MSN live converstions. Of course it is the default.

    Hello

    ·        Are you by chance on a discussion group?

    You can try to change the settings and check if that helps.

    Also, try to post in the below data community for assistance.

    http://windowslivehelp.com/product.aspx?ProductID=17

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How do I ignore the blanks/Null in mapping FDMEE

    Hello team, I have a file source format below.

    In it so I need to ignore the lines which is having the entity as null how do I design the data mapping in FDMEE. Please notify. I have need the lines with null to go on the target system

    Account entitty year project pc SupportSystem Site
    645WE2014growthPc1100BSSSite1
    6552014growthpc1230Site1
    656PEUT2014growthPc1234BSSTraining3

    Thank you

    Mouline

    Hello

    Do not export data, you must set the target value to IGNORE

    To capture entities null (empty), you have the mapping, but it works only with whitespaces channels not empty...

    However, you have several ways to achieve what you want according to your needs. For example:

    -Option 1: create a script to import then empty entities are imported as white space and then use the mapping of (see details in the Administrator's guide) to map to IGNORE

    -Option 2: create mappings for the valid entities, and then create a mapping rule that maps to IGNORE (this mapping rule is performed last)

    -Option 3: skip lines with an empty entity in the import format. Then these lines will not be imported in FDM so you don't need to map...

    -The other options...

    I hope that clarifies.

    See you soon

  • How to modify the data with dynamic TableView with dynamic columns in JAVAFX

    Today, it is the demo to display the data from the CSV to the custom class without doing DAT file on tableView in JavaFX 2.0. I call this TableView as dynamic TableView because the tableview automatically manages the columns and rows.
    My research on the editable on tableView, we have a custom of the class and apply it to tableView to show that this demo is > http://docs.oracle.com/javafx/2/ui_controls/table-view.htm

    But in this case I can't do that because we don't know how many example of column with the csv file or .dat file... I want to make editable on this tableView in this case add TextField in the TableCell. How do custom class (because you don't have how column...) and so to do custom class then what thedesign of a custom for this case class?

    Could you please help me?

    It's the demo of code to display your csv or dat file in TableView

    private void getDataDetailWithDynamic() {
      tblView
    .getItems().clear();
      tblView
    .getColumns().clear();
      tblView
    .setPlaceholder(new Label("Loading..."));
      
    // @Override



      
    try {
           
    File aFile = new File(txtFilePath.getText());
           
    InputStream is = new BufferedInputStream(new FileInputStream(aFile));
           
    Reader reader = new InputStreamReader(is, "UTF-8");

           
    BufferedReader in = new BufferedReader(reader);

           
    final String headerLine = in.readLine();
           
    final String[] headerValues = headerLine.split("\t");
           
    for (int column = 0; column < headerValues.length; column++) {
                 tblView
    .getColumns().add(
                 createColumn
    (column, headerValues[column]));
           
    }

           
    // Data:

           
    String dataLine;
           
    while ((dataLine = in.readLine()) != null) {
                
    final String[] dataValues = dataLine.split("\t");
                
    // Add additional columns if necessary:
                
    for (int columnIndex = tblView.getColumns().size(); columnIndex < dataValues.length; columnIndex++) {
                      tblView
    .getColumns().add(createColumn(columnIndex, ""));
                
    }
                
    // Add data to table:
                
    ObservableList<StringProperty> data = FXCollections.observableArrayList();
                
    for (String value : dataValues) {
                     data
    .add(new SimpleStringProperty(value));
                
    }
                 tblView
    .getItems().add(data);
           
    }
      
    } catch (Exception ex) {
           
    System.out.println("ex: " + ex.toString());
      
    }


      
    for(int i=0; i<tblView.getColumns().size(); i++) {
           
    TableColumn col = (TableColumn)tblView.getColumns().get(i);
           col
    .setPrefWidth(70);
      
    }
    }

    private TableColumn createColumn(
      
    final int columnIndex, String columnTitle) {
           
    TableColumn column = new TableColumn(DefaultVars.BLANK_CHARACTER);
           
    String title;
           
    if (columnTitle == null || columnTitle.trim().length() == 0) {
                title
    = "Column " + (columnIndex + 1);
           
    } else {
                title
    = columnTitle;
           
    }


           
    Callback<TableColumn, TableCell> cellFactory = new Callback<TableColumn, TableCell>() {
           
    @Override
           
    public TableCell call(TableColumn p) {

                
    System.out.println("event cell");
                
    EditingCellData cellExtend = new EditingCellData();
                
    return cellExtend;
           
    }
      
    };

      column
    .setText(title);
      column
    .setCellValueFactory(cellFactory);
      
    return column;
    }


    Thanks for your reading.

    See this thread: Re: dynamically create columns

    This example is not editable, but to do so, simply add something like

        column.setCellFactory(TextFieldTableCell.>forTableColumn());
    

    the createTableColumn (...) method.

    Either said by the way, where did you code that you pasted in your post? It looks like in my previous post.

    Post edited by: James_D

  • EPMIE-00065: Impossible to import children in the group. The group name is null or empty.

    Hi all

    I'm trying to migrate groups of EPM 11.1.1.3 to EMP 11.1.2.2

    and during the import of 'Groups.csv' I get the following error:-

    Error in migration artifact, "/ native/groups directory.

    EPMIE-00065: Impossible to import children in the group. The group name is null or empty. Provide the name of a valid group in the csv file.

    Before you import the Group.csv file I did due to changes in the file 'Sourceinfo.xml ':

    1 product version (9.5.0 to 11.1.2.2) & LCM Version (11.1.1.3.22 to 11.1.2)

    I missed something?

    Thank you

    You probably have lines with empty group names. For the children of group you will see something like this:

    #group_children

    group_id, group_provider, user_id, ID, user_provider

    MY group, User1, native Directory name

    MY group, user2, native Directory name

    If you have a line with just commas "," so maybe it's why you get the error message

    Pablo

  • Throw the records with null values columns

    Hi all.

    Anyone know how to dispose of records containing null column values?

    In the target table, I have the set Null option? with "N"... then the process sqlldr load some records. I need to load all of this without the records with null column values. by result, if the field X is null then load the file.

    Kind regards.

    Published by: ASzo on 05/06/2013 12:37

    Published by: ASzo on 05/06/2013 12:38

    Published by: ASzo on 05/06/2013 12:42

    load data
    INFILE...
    in the table...
    When x! = ''
    fields completed by...
    (x ...)

  • How to run execute immediate with variables

    Hi friends,
    How to run execute immediate with variables in v_stmt below?
    I don't know how to declare value I have here.
    Set serveroutput on;
    DECLARE
       i        VARCHAR (20);
       v_stmt   VARCHAR2 (100);
    
       CURSOR c
       IS
          SELECT sqlid FROM temp1;
    
    
    BEGIN
       OPEN c;
    
       LOOP
          FETCH c INTO i;
          EXIT WHEN c%NOTFOUND;
          DBMS_OUTPUT.put_line (i);
          v_stmt := 'select * from table(dbms_xplan.display_cursor('&i',null))'
          execute immediate v_stmt;
       END LOOP;
    
       CLOSE c;
    END;
    /
    Regds,
    Kunwar.

    You must first use a variable binding (named ': v' in the SQL statement in my example):

    set serveroutput on;
    DECLARE
       i        VARCHAR (20);
       v_stmt   VARCHAR2 (100);
    
       CURSOR c
       IS
           -- modified for a quick test
          SELECT sql_id FROM v$sql where child_number > 2;
    
    BEGIN
       OPEN c;
    
       LOOP
          FETCH c INTO i;
          EXIT WHEN c%NOTFOUND;
          DBMS_OUTPUT.put_line (i);
          v_stmt := 'select * from table(dbms_xplan.display_cursor(:v,null))';
          execute immediate v_stmt using i;
       END LOOP;
    
       CLOSE c;
    END;
    /
    

    However because your SELECT statement returns multiple lines, you need to adapt your code to process all rows returned (as already suggested in first response to your message).

    Instead of using the PL/SQL, I recommend you to generate a SQL file using only SQL, and then run the generated SQL file.
    For example:

    spool edx.sql
    set serveroutput on
    declare
    v_stmt varchar2(100);
    v_q char(1):='''';
    begin
    dbms_output.put_line('spool edx.log');
    for s in (select sql_id from v$sql where child_number >2)
     loop
      dbms_output.put_line('select * from table(dbms_xplan.display_cursor(' || v_q || s.sql_id || v_q || ',null));');
     end loop;
     dbms_output.put_line('exit');
    end;
    /
    spool of
    

    This generates a file similar to:

    spool edx.log
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('fsbqktj5vw6n9',null));
    select * from table(dbms_xplan.display_cursor('6q42j0018w7t8',null));
    select * from table(dbms_xplan.display_cursor('a5mmhrrnpwjsc',null));
    select * from table(dbms_xplan.display_cursor('3c1kubcdjnppq',null));
    select * from table(dbms_xplan.display_cursor('3c1kubcdjnppq',null));
    select * from table(dbms_xplan.display_cursor('9gkq7rruycsjp',null));
    select * from table(dbms_xplan.display_cursor('f0wj261bm8snd',null));
    select * from table(dbms_xplan.display_cursor('ab3swhv5g138y',null));
    select * from table(dbms_xplan.display_cursor('6vgvyh4xw9c5g',null));
    select * from table(dbms_xplan.display_cursor('ak5crjygnpk60',null));
    select * from table(dbms_xplan.display_cursor('9p6bq1v54k13j',null));
    select * from table(dbms_xplan.display_cursor('19x1189chq3xd',null));
    select * from table(dbms_xplan.display_cursor('7sx5p1ug5ag12',null));
    select * from table(dbms_xplan.display_cursor('730vdzhng6m6g',null));
    select * from table(dbms_xplan.display_cursor('730vdzhng6m6g',null));
    select * from table(dbms_xplan.display_cursor('0v3dvmc22qnam',null));
    select * from table(dbms_xplan.display_cursor('0v3dvmc22qnam',null));
    select * from table(dbms_xplan.display_cursor('a1zv6wju3ftgv',null));
    select * from table(dbms_xplan.display_cursor('7ng34ruy5awxq',null));
    select * from table(dbms_xplan.display_cursor('7ng34ruy5awxq',null));
    select * from table(dbms_xplan.display_cursor('b2gnxm5z6r51n',null));
    select * from table(dbms_xplan.display_cursor('b2gnxm5z6r51n',null));
    select * from table(dbms_xplan.display_cursor('g4gp07gt2z920',null));
    select * from table(dbms_xplan.display_cursor('1gu8t96d0bdmu',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('bn4b3vjw2mj3u',null));
    select * from table(dbms_xplan.display_cursor('38243c4tqrkxm',null));
    select * from table(dbms_xplan.display_cursor('2abjfnvy5rkyg',null));
    select * from table(dbms_xplan.display_cursor('350f5yrnnmshs',null));
    select * from table(dbms_xplan.display_cursor('350f5yrnnmshs',null));
    select * from table(dbms_xplan.display_cursor('3s1yukp05bzg6',null));
    select * from table(dbms_xplan.display_cursor('3s1yukp05bzg6',null));
    select * from table(dbms_xplan.display_cursor('1tgukkrqj3zhw',null));
    exit
    
    PL/SQL procedure successfully completed.
    

    Edited by: P. Forstmann March 20, 2013 19:06

    Edited by: P. Forstmann March 20, 2013 19:33

  • How to make a form with report and a form of inclusion in the same page?

    Hey, guys:

    I was wondering if you could have any link or examples to show how to make a form with report and a form of inclusion in the same page, these two forms are related to the same table. Our customer wants that a user can add a new row to the table in a form and see all lines created by this user in a report, the report should provide link change as well. the problem is: whenever I inserted a new line or change a line or delete a line, and submitted and return to this page, all hidden elements lost their values, this report is empty, and some display only items also lost their values. Could someone give me any suggestions?

    Thank you very much!

    Sam

    So, the problem is essentially with page elements lose their session state values when re-loading of the page. How do you define values for the elements of the hidden page? You have default values defined for those? They are based on the database column? What is the "Source" parameter for these items on the page? It is set to "Always, replace any value in session state"? You have any process of 'Empty the Cache', which is reset these values to null element?

    What is your version of the Apex?

    I would recommend that you have installed for example in apex.oracle.com. This would help to better understand the issue.

    Published by: jaouad khalifi on 13 December 2012 22:11

  • How to create a validation "not null" unique for all elements in a page?

    Hello world

    How to create a validation "not null" unique for all elements in a page? I love textfields. Rather than create "not null" validation for each article, I would like to create a single validation control that will be used

    Thanks and greetings
    Umer

    Nice1 wrote:
    Bob, like u said I did the following:

    (1) less to create a button, there are 9 elements, and for each item, I put in the light of 'yes '.
    (2) under the button Delete, there is 1 point and have in light of the 'Yes' for the item
    (3) validation of the page defined for the 9 items under 'create a button' and put it to fire when 'create' button clicked
    (4) the page validation set for 1 number under 'remove' button and put it on fire when "delete" button clicked

    now, when I click on the 'create' button it shows same for the item under the "Delete" button that's a required element

    Sorry, I do not see this note. The required model will not work, there is no way to attach it to the button.

    The best solution is that the answer only a few answers to the top

    Create 2 validations page type as a PL/SQL with code

    1st validation
    
    :P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL  include all 9 items
    
    Set the When Button Pressed to the CREATE button
    
    2nd validation
    
    :P1_ITEM10 IS NOT NULL
    
    Set the When Button Pressed to the DELETE button
    

    I think that this will be the best way to do it.

    Published by: Bob37 on April 27, 2012 12:02

Maybe you are looking for

  • Report of the Diadem display modes

    I created TDMS files in LabVIEW with a chain in time.  I know that the time channel is UTC because I said it when I read my timing card time (6682).  In DIAdem Windows seems to substitute time and display according to the time zone setting.  How can

  • for iteration of loop problem

    Hello! I built this vi to record the data of air speed sensors two and analog signals that drive the two actuators. My problem is: the number of iterations, I put on the second image, the same number of iterations will be held at the third picture. T

  • Error code: 80004002 (cannot install updates)

    gives above code and will not connect to the updates

  • Images and buttons and some web pages are not correctly displayed in Standard accounts

    Original title: images and no visible buttons. Can you please help. Our family has a computer which is now 18 months old that it was loaded with Windows vista, again and we use Windows seven and Google as our browser. We have three users set up for m

  • BlackBerry App World Blackberry Smartphones does not open

    BlackBerry App World will not open on my Curve 9300. I uninstalled and reinstalled from my mobile, but still it does not open. I uninstalled and reinstalled by plugging the appworld.blackberry.com website, but still it does not open. I tried a lot of