NEED SYNTAX for identifying non-null

Hi all

How to write in the instruction box that a field is not null?
Thanks for giving me the syntax.

I tried below. but make a mistake.

case
When ((pays! = NULL) and (Email Addr! = NULL) and)
then "LESS data AVAILABLE"

When ((pays! = NULL) and (Email Addr! = NULL) and (name! = NULL) and (name! = NULL))
then "partial data AVAILABLE.
.
.
.
.

Another 'NO DATA'
END

Hi ilaaz,

Follow this for the use of http://gerardnico.com/wiki/dat/obiee/obiee_case obiee case

In your case, the syntax you entered is wrong to say

When case ((pays! = NULL) and (Email Addr! = NULL) and then "LESS data AVAILABLE")

-case where country! = null and email id! = null then 'Less data available'
and so on...

Represent is not null or! = and do not use braces after when the condition.

Write the case according to your scenerio and condition

See you soon,.
KK

Tags: Business Intelligence

Similar Questions

  • Need help to identify the type of object in the loop of pl/sql

    Hello

    I need help to identify the Type of object declared beneath a procedure as shown below:

    I need to pass the parameter to the procedure as a TYPE of OBJECT and also refer to variables of Type Object in a loop

    create or replace type TEST_VALIDATION_REC is RECORD (order_num varchar2 (30),)

    number of inventory_item_id

    reserved_YN varchar2 (1).

    error_flag varchar2 (1).

    Error_message varchar2 (2000)

    );

    CREATE OR REPLACE TYPE VALD_TBL AS VARRAY (10000) OF TEST_VALIDATION_REC;

    PROCEDURE ADD_TO_ORD)

    p_lot_number_list IN VALD_TBL,

    p_ord_number IN Varchar2,

    p_user_id in NUMBER: = fnd_profile.value ('USER_ID'),-change 1.10

    p_responsibility_id in NUMBERS: = fnd_profile.value ('RESP_ID'),-change 1.10

    p_application_id IN VARCHAR2: = 'PO',-change 1.10

    x_error_flag OUT Varchar2,

    x_error_msg OUT Varchar2

    )

    In the above procedure, I had the VALD_TBL. Is it OK?

    And how in the loop if the records if I use:

    FOR indx1 IN 1.p_lot_number_list. COUNTY

    LOOP

    BEGIN

    SELECT

    inventory_item_id

    IN

    ln_item_id

    Of

    dummy_lot_tab

    WHERE

    lot_number = p_lot_number_list (indx1); - > how direct the item here?

    EXCEPTION

    WHILE OTHERS THEN

    ln_item_id: = NULL;

    END;

    Records are PL/SQL objects.  They are not the SQL objects.  You can create a SQL TYPE (schema level) as a collection (variable-tables only, tables nested).

    So therefore your first statement is syntactically incorrect

    CREATE OR REPLACE TYPE TEST_VALIDATION_REC IS RECORD
    (order_num VARCHAR2(30),
    inventory_item_id NUMBER,
    reserved_YN VARCHAR2(1),
    error_flag VARCHAR2(1),
    Error_message VARCHAR2(2000)
    );
    

    You must put in an anonymous PL/SQL block or the stored procedure

    DECLARE
    
       TYPE test_validation_rec IS RECORD
       (
        order_num VARCHAR2(30),
        inventory_item_id NUMBER,
        reserved_YN VARCHAR2(1),
        error_flag VARCHAR2(1),
        error_message VARCHAR2(2000)
       );
    
       TYPE vald_tbl iS VARRAY(10000) OF test_validation_rec;
    
       lv_tbl vald_tbl;
    
    BEGIN
    
       lv_tbl := vald_tbl();
      -- insert your code here 
    
    END;
    
  • History of backfilling with non-null values

    Hi gurus,

    in Oracle 11 g, which would be the best way to update a null with the next available non-null value?

    For example: in the code below, I need to update the null in 20130201 record (key = 1) (key date) with a value of 100 available at the next available date IE 20130203.
    Same key = 3 value will be updated with key = 4 value i.e. 200.
    1,ABCD, 20130201, NULL
    2,ABCD,20130203, 100
    3,ABCD, 20130205, NULL
    4, ABCD,20130207, 200
    Thank you
    S
    with t as (
               select  tbl.*,
                       last_value(nvl2(c4,c1,null) ignore nulls) over(order by c1) prev_c1,
                       last_value(c4 ignore nulls) over(order by c1) prev_c4,
                       first_value(nvl2(c4,c1,null) ignore nulls) over(order by c1 rows between current row and unbounded following) next_c1,
                       first_value(c4 ignore nulls) over(order by c1 rows between current row and unbounded following) next_c4
                 from  tbl
              )
    select  c1,
            c2,
            c3,
            c4,
            case
              when c4 is not null then c4
              when c1 - prev_c1 < next_c1 - c1 then prev_c4
              else next_c4
            end new_c4
      from  t
    /
    
            C1 C2           C3         C4     NEW_C4
    ---------- ---- ---------- ---------- ----------
             1 ABCD   20130201                   100
             2 ABCD   20130203        100        100
             3 ABCD   20130205                   200
             4 ABCD   20130207        200        200
    
    SQL> 
    

    SY.

  • TypeError: Error #2007: url parameter must be non-null - HELP!

    Hey everybody. I (as well as everyone who posts a question here) am quite new to AS3. If I'm going crazy trying to figure out what is the cause of this error. I have a "jukebox" player that loads songs accordingly when the button is clicked. BUT it's my mistake:

    TypeError: Error #2007: url parameter must be non-null.

    to flash.media::Sound/_load()

    to flash.media::Sound/load()

    at lesson09_V2_S5_fla::MainTimeline/frame1()

    And here is my code:

    Import fl.events.SliderEvent;

    create instances of the three sound related classes that will be used for this project

    var snd:Sound;

    var channel: SoundChannel;

    var trans:SoundTransform;

    create variables to store the values for the power of the song and its volume and pan settings.

    var currSong:String;

    var currVol:Number is. 5;

    var currPan:Number = 0;

    Table of all songs in the current playlist.

    var songList:Array = new Array ("nothing on You.mp3","Grenade.mp3","Ride.mp3","Pretty Girl Rock.mp3","Tick Tock.mp3", "Dynamite.mp3");

    don't need to see the volume and pan controls until a song

    panSlide.visible = false;

    volSlide.visible = false;

    Headphones for the buttons of the song on stage

    song1.addEventListener (MouseEvent.CLICK, chooseSong);

    Song2.addEventListener (MouseEvent.CLICK, chooseSong);

    song3.addEventListener (MouseEvent.CLICK, chooseSong);

    song4.addEventListener (MouseEvent.CLICK, chooseSong);

    song5.addEventListener (MouseEvent.CLICK, chooseSong);

    song6.addEventListener (MouseEvent.CLICK, chooseSong);

    headphones for the volume sliders and pan

    panSlide.addEventListener (SliderEvent.CHANGE, panChange);

    volSlide.addEventListener (SliderEvent.CHANGE, volumeChange);

    sets the text of all the buttons of the song field to display the names of the songs in the songList array

    for (var i = 0; i < songList.length; i ++) {}

    var str:String = [i] songList have thong;

    Str = str.replace(".mp3","");

    var clip = this ["song" + (i + 1)] .title;

    clip. Text = str;

    }

    statement to define a song based on the song button was clicked switch.

    function chooseSong(e:MouseEvent):void {}

    Switch (e.currentTarget.name) {}

    case "song1:

    currSong = '... /MP3s/ ' + songList [0] as String;

    break;

    case "song2":

    currSong = '... /MP3s/ ' + songList [1] as String;

    break;

    case "song3":

    currSong = '... /MP3s/ ' + songList [2] as String;

    break;

    case "song4":

    currSong = '... /MP3s/ ' + songList [3] as String;

    break;

    case "song5":

    currSong = '... /MP3s/ ' + songList [4] as String;

    break;

    case "song6":

    currSong = '... /MP3s/ ' + songList [5] as String;

    break;

    }

    }

    If (snd! = null) {}

    Channel.Stop ();

    }

    SND = new Sound();

    SND. Load (new URLRequest (currSong));

    snd.addEventListener (IOErrorEvent.IO_ERROR, onError);

    function onError(e:IOErrorEvent):void {}

    Do nothing

    }

    Channel = new SoundChannel;

    TRANS = new SoundTransform (currVol, currPan);

    Channel = snd.play ();

    channel.soundTransform = trans;

    panSlide.visible = true;

    volSlide.visible = true;

    currVolume and pan values are used here for display in the text beside the sliders fields

    volLabel.text = "Current Volume" + int(currVol * 100);

    panLabel.text = "Current Pan" + int(currPan * 100);

    listen to the arrival of ID3 tags

    snd.addEventListener (Event.ID3, id3Handler);

    triggered when the id3 tags are available

    sets the info text field to display the information of the current song from id3 tags.

    function id3Handler(event:Event):void {}

    var id3:ID3Info = snd.id3;

    If (id3.songName! = null) {}

    songTitle.text = id3.songName + "\n";

    info. Text = "" Artist: \n"+id3.artist+"\n \n ";"

    info.appendText ("Album: \n" + id3.album);

    info.appendText ("\n\n" + "available at: \n" + "passionrecords \n.com");

    }

    }

    var format: TextFormat = new TextFormat();

    format.font = "Arial Black";

    format. Color = 0xFFFF00;

    format. Size = 14;

    format.url = " " http://www.passionrecords.com/ ";

    info.defaultTextFormat = format;

    uses the value of volume slider to control the volume

    function volumeChange(e:SliderEvent):void {}

    currVol = e.target.value;

    volLabel.text = "current Volume:"+ int(currVol*100); "

    TRANS.volume = currVol;

    channel.soundTransform = trans;

    }

    uses pan value of the slider to control pan

    function panChange(e:SliderEvent):void {}

    currPan = e.target.value;

    panLabel.text = "Current Pan" + int(currPan*100);

    TRANS. Pan = e.target.value;

    channel.soundTransform = trans;

    }

    Any help would be greatly appreciated! Thank you!

    This looks to another case of code not be placed where it should be.

    If this code is not in a function, then it executes immediately when the program starts.  At this point, snd is not defined, no said.  You do not create the instance until the line... snd = new Sound();   that, I believe, you have now moved inside a function.

    You might have to go through all the code to see what parts you always floating around this need of houses inside functions.

  • TypeError: Error #2007: child parameter must be non-null.

    Hello

    I'm new to actionscript 3.0, I have Adobe Flash Builder installed 4.7 and I create a project (file-> new-> ActionScript project) ActionScript named Test. As you know flash builder does not include default fl.controls package. I added this package to my project as a file path or CFC source so that I can use the default components (e.g. buttons, radio buttons, checkboxes) and I'm writing the following code.

    package

    {

    import flash.display.Sprite;

    Import fl.controls.Button;

    [SWF (width = "640" height = "480", frameRate = "60", backgroundColor = "#FFFFFF")]

    SerializableAttribute public class Test extends Sprite

    {

    private var btn:Button;

    public void Test()

    {

    BTN = new Button();

    BTN.label = "CLICK ME!";

    BTN.x = 100;

    BTN.y = 100;

    addChild (btn);

    }

    }

    }

    I'm creating an instance of fl.controls.Button in the Test class and try to add it on stage. When I run the project, it always gives me the following error from the red line "BOLD".

    TypeError: Error #2007: child parameter must be non-null.

    at flash.display::DisplayObjectContainer/addChildAt()

    to fl.controls::BaseButton/drawBackground() [C:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\BaseButton.as:615]

    to fl.controls::LabelButton/draw() [C:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\LabelButton.as:724]

    to fl.controls::Button/draw() [C:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\Button.as:191]

    to fl.core::UIComponent/callLaterDispatcher() [C:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\core\UIComponent.as:1511]

    Please help me get rid of this problem. Thanks in advance.

    Thank you

    momersaleem

    If you think that the bold line is the cause of the error due to the error saying "addChildAt" is involved, this isn't the same command.

    The error looks more like she points to something in the Button class and there is a problem.

    Normally when you work in Flash, with the class of the component is not enough for a file to execute without werror.  You will also need to drag a button in the library so that the 'physical' entity is available in the file when you try to create a new instance... components are, after all, not created from code only.  They are objects that are made using pieces of graphics and textfields and buttons and all that was used to create them by hand.

    In short, I think that you are away from the Button object in the library and when the class file tries to run it does not find a piece of the puzzle that is coded.

  • Add/assign value to non-null text values

    I have a database that stores the (item) values for each day of the month - for example if a person is OFF or VAC (holiday).  So, it should look like this:

    Name LUN Mar Wed
    John SmithOFFOFF
    Charlie MurphyTRN
    Ricky JamesVACVACVAC
    TOTAL231

    So, I need the line 'TOTAL' to add the columns whose value is non-null.  I thought maybe I could somehow assign a value of 1 for each of the columns, and then perform a sum.

    If anyone can help in a solution of Coldfusion or SQL Server 2005?  Thank you.

    I thought maybe I could somehow assign a value of 1 for each of the columns, and then perform a sum.

    Yes, you can use a CASE statement to return 1 or 0.  Then pack them in a SUM (.).

    SELECT SUM (CASE WHERE ColumnName IS NULL THEN 0 ELSE 1 END) AS ofcases...

  • Can I create a website for a non-profit organization?

    I need to create a Web site for a non-profit organization. How do I?

    See this Google search.

  • Hi I need drivers for my laptop HP Copmaq Presaria CQ43

    Hi I need drivers for my laptop HP Copmaq Presaria CQ43

    Windows 7 (32 bit) drivers are available here.  Install the drivers for the chipset-> first driver Intel IMEI-> Intel IRST driver-> Realtek-> card reader driver Graphics driver-> Audio driver

    You will need to identify what network drivers and graphics you need by using the Device Manager. Display the string PCI\VEN here in your thread.  You can also use the PCI\VEN string as keywords on Google or Bing search term to identify the manufacturer and model of the device installed in your laptop.

  • Need drivers for Satellite M115-s3094

    Hello

    I have a Satellite M115-s3094, I had problems with my OS which was Windows XP MCE, but I couldn't fix it. So I got fed up and loaded in windows XP Professional, but a lot of my drivers are gone.

    I need drivers for Ethernet controller network controller, PCI device, flash memory, USB controller, SM bus controller, video controller... plus I have no sound. It is an Intel centrino duo... as you can see miss me a lot of pilots.

    Could someone tell me how can I find out what kind of driver I need and where do you get them from? Win XP SP2 installation would install one of these drivers?

    Any help at all would be much appreciated...

    Thank you all...

    I have the same problem. I just need the drivers for the Ethernet controller and a PCI device. I guess that the PCI device is the wireless card.
    I tried all the drivers on the Toshiba site, but none seems not to work.

    Please help us.

  • Satellite A135-SP4088 - I need drivers for Windows XP

    I need drivers for Windows XP model Satellite A135-SP4088, this model does not exist on the official page.

    Hello

    On this forum, I founded a few guys with the same problem. I assume that your laptop is to South America. Am I right about that?

    I checked support US the site and unfortunately your laptop model is not listed there. I'm afraid you must identify the hardware components and try to use the drivers from the site of technical support to the United States.
    Sorry, but I don't see any other solution

  • Guard application launch at the start of the appliance, also need advice for the implementation of network methods

    Hi all

    I'm new to the development of Blackberry and I'm writing a relatively simple application to run on 7.1.

    So far the development was interesting, I managed to create my user interface using resources online (mainly this forum), but today I tried to implement some of the network classes that I need and now I just met constant problems.

    I use Eclipse SDK 3.7.2 (the one that comes with the plugin RIM)

    First question:

    I'm not sure what I changed, but today I noticed that whenever I start the Simulator (by sim 9360) my application is started during the initial startup process. I don't think he did this before, but to be honest, I wasn't paying much attention. I think it starts at the start of the device is because I put a breakpoint in the constructor for my class from the main screen, which is hit before the Simulator happens even to the point where it is ready for user interaction. In addition, once it is ready, if I press the BB button, I see my registered application.

    I don't have it set to automatic start in .xml descriptior enforcement.

    I started this application on the HelloBlackBerry sample, here is my main method for the entry of the application:

    public static void main( String[] args ) {
            appSettings = AppSettings.fetch();
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
            HelloBlackBerry theApp = new HelloBlackBerry();
            theApp.enterEventDispatcher();
            //openConnection();
    
        }
    
    
    

    As far as I know, this is the only entry point for the application.

    More code

        public HelloBlackBerry() {
            // Push a screen onto the UI stack for rendering.
            mainScreen = new ScreenHelloBlackBerry();
            pushScreen( mainScreen );
        }
    

    Here is the method of. my class AppSettings fetch()

        // Retrieves a copy of the effective properties set from storage.
        public static AppSettings fetch()
        {
            AppSettings savedSettings = (AppSettings) _store.getContents();
            return new AppSettings(savedSettings);
        }
    

    Some of this code that I wrote myself, the persistence store cause the launch of my car?

    I tried to reset the Simulator to the factory settings, no change.

    All applications initialized during the startup of the device and then closed shortly after?

    Part 2: Need advice for the implementation of functions of network in the application

    I need to implement some methods that will retrieve data from a web service, and I also need to send data to this service. What I've read, the ConnectionFactory is the way to go. I want my application to make a request when the application is open and can check on a set interval. I didn't know exactly how to go about adding another thread for networking, I understand that network connections should not be created on the thread main event, so I tried to do this:

    The constructor of my class that implements screen (ScreenHelloBlackBerry), I use the following to create a modal dialog box to prompt the user for a username, I also try networking wire in the same segment of spawning:

            public ScreenHelloBlackBerry(){...initialize fields and managers, add it all together...then near the end
    
    //This will open the confirm dialog when the application is launched
            UiApplication.getUiApplication().invokeLater(new Runnable() {
                  public void run() {
                      openConfirmDialog();
                    //start connection - Possibly broken
                      ConnectionThread ct = new ConnectionThread();
                      ct.start();
                  }
            });
    

    I don't know if it's somehow OK to do, but it seems to work for what I need. I want a user who launches the application at the prompt, and if a user switch applications, when they come back they wondered again (unless they close the app and reopen it).

    Here is my ConnectionThread:

    public class ConnectionThread extends Thread
    {
    
        public void run()
        {
    
              ConnectionFactory connFact = new ConnectionFactory();
              ConnectionDescriptor connDesc;
              connDesc = connFact.getConnection("http://www.google.com");
              if (connDesc != null)
              {
                  HttpConnection httpConn;
                  httpConn = (HttpConnection)connDesc.getConnection();
                  try
                  {
                      final int iResponseCode = httpConn.getResponseCode();
                      UiApplication.getUiApplication().invokeLater(new Runnable()
                      {
                          public void run()
                          {
                              Dialog.alert("Response code: " +
                                            Integer.toString(iResponseCode));
    
                          }
                       });
                      httpConn.close();
    
                   }
                   catch (IOException e)
                   {
                     System.err.println("Caught IOException: "
                          + e.getMessage());
                   }
              }
        }
    }
    

    At the moment it has basically unmodified code from a sample that I found, I'll be retooling to meet my needs whenever I can make it work. I HAD this work to the point where, after the closed user confirm this dialog, a few moments later a an alert dialog appears with the 302 response code. I don't know what changed, but now it doesn't work at all, and if I try to scroll with the debugger, I can't past the httpCon.getResponseCode (). I've seen some mistakes earlier on "no record of service was set up", and I also had once a timeout exception.

    I'm sure I'm doing this wrong, but at the same time as I said WAS working, and now it is not. If someone has done this far, thank you very much for your time and advice are much appreciated.

    Also, should I try to start the thread of the network of the UIApplication class instead of the screen? There is currently very little happening in the class that extends UIApplication, do I spend most of my business logic out of the class of the screen and in the UIApplication class?

    Thanks in advance!

    Hi all

    Just to conclude this topic for those who are interested, I found an excellent guide to the implementation of networks in applications of BB, click here for a link.

    About my application being started at the start of the simulator of the device, I found that on a device real this behavior is not complied with, and in addition, the behaviour seems to have stopped after uninstallation and reinstallation of my Simulator.

    See you soon,.

  • need driver for printer epson action laser 1000 operating system windows 7

    Need driver for printer epson action laser 1000 windows operating system 7. driver not in the updates of the victory or in support of epson

    Thanks for any help

    If there is no Vista 32 or 64 bit drivers on Epson site, there will be none. Unless Epson make some. You will need to buy another printer that supports Win7

  • In need drivers for p6203w.

    Hi, I need drivers for my HP computer.

    M/N: p6203w

    OS: Windows XP 32-bit

    I went to the driver page, and when I walked in my BONES he only pulled up the Lightscribe driver.

    I don't know if I even installed the drivers, everything is very laggy.  It recognizes my CPU and, as he sees them as AMD etc.  I have installed all drivers other than my drivers from the internet.  (Which I have come here to yesterday).

    Any help is appreciated!

    Also, I created a partition on my hard drive, so that I could multiboot with Windows 7/XP (it's why I'm looking XP drivers on a model that comes standard with Windows 7) and I have partitioned 40 GB of space, installed XP on this space, and everything went well.

    The drive is labeled K:

    However, when I download something, I find that I download on C:, which has only 100 MB of space on it.  I'm completely lost here, nobody knows what I did wrong?

    Thank you.

    CotyRSKL wrote: here is what I have in disk management:

    SYSTEM - 100 MB, it is not tagged with a letter.

    HP (C) - 413 GB

    (F) - 39.99 GB

    Factory_Image (d) - 11,94 GB

    I don't know why XP wants to save the partition of 100 MB.  Could I have ruined something?

    Hello CotyRSKL, this information is superb. I must have misunderstood you when I saw it: C: drive called 'SYSTEM ', he said.

    The c: partition is a system partition. The 100 MB partition is also a system partition, which stores the Master Boot Record and other data.

    It is not necessary to return the partitions just as long as the partition of Windows 7 is labeled as C: since it is the default boot partition and you know what really are the other partitions. You know the partition D: is the HP recovery partition and the F: partition is the partition of Windows XP.

    When you download anything, depending on the version of the browser, you should have a place on where to download the data. That will change at any time according to the location of the last download.

    For example, if a download to save to the desktop, then the next time I download something, the system will want to save it on the desktop. I always make sure I know where the download will be downloaded to the computer.

    Apparently, your Internet browser is configured to record the partition of 100 MB. You must change this download location on your system to another. I have a folder that I created in C: "files downloaded, where I save all my files downloaded to.

    Every now and then, I choose to save a file to a different location, for example C:. The next time that I download something it wants to download on C:, so I have to change the download location for files C:\Downloaded.

    This may be your problem.

    You can start on Windows XP, since you mentioned that you have access to the Internet and visit Windows Update and scan your system and download and install all updates for Windows XP. You must check the category that is Non-Critcal of driver updates.

  • How can I get a free license for a non-profit organization?

    I need to know how can I get a free license for a non-profit organization?

    Hello

    Please see: -.

    http://www.Adobe.com/mena_en/education/nonprofit-eligibility-Guide.html

  • I just bought the items 14 for Windows, but I need it for Mac. How can I change?

    I just bought the items 14 for Windows, but I need it for Mac. How can I change?

    After the weekend... To the link below, click on the still need help? the option in the blue box below and choose the option to chat...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Get help from cat with orders, refunds and exchanges (non - CC)

    http://helpx.Adobe.com/x-productkb/global/service-b.html ( http://adobe.ly/1d3k3a5 )

Maybe you are looking for