How to avoid the link of a null value in a column of link

Hello

How to avoid the link of a column with the value zero. Is that the link should be disabled for the column with the value null, and it must be enabled for all that have a value.

Ex

DEPTNO NAME (link column)

10 SCOTT
20 MAC
30 SMITH
40         -
50 SAM

I don't want to link to the value null in the name column, but the name remaining should have link. Please help me.


Kind regards
Barro

Hello

One way is like this:
1. create a column not displayed, called link_display in your report to return N or Y depending on whether you want the link by adding the SQL report:

    NVL2(name, 'Y', 'N') link_display 

2. in the header of the region, define a class for the column name using:


3. for the name column containing the link add link attributes: class = "" display_link_ #LINK_DISPLAY # ""

Rod West

Tags: Database

Similar Questions

  • How to avoid the links/paths are converted to report teststand chips

    Hello

    I tried to get the hyperlink for some of the files in the report of teststand (4.0) for a particular custom step in labview 8.5. I was able to get the link properly when the specified path does not contain tokens (\N, \T,\R,\n,\t,\r,etc).

    For example, if my folder name is 'New' within which my folder is present(C:\NEW\test.txt). The teststand automatically converts '\t' and '\N' in the path token.

    I am not able to solve this problem.

    Can someone help me in this regard.

    Thank you

    Praveen

    Hello

    You must convert your------to------.

    Concerning

    Ray Farmer

  • How to know the history have not null value

    Hi all

    I want to find records that have prior LOG_REVIEW_STAGE = "HHH" have (DT_LOG_BEGIN is not null and DT_LOG_END IS NULL and LOG_STATUS = pending)
    based on the identification number

    Thanks in advance
    For Example my Ouput should be 
    
    ID     SORT_ORDER     LOG_STATUS     LOG_REVIEW_STAGE     DT_LOG_BEGIN     DT_LOG_END
    -----------------------------------------------------------------------------------------------
    20     700          Pending          FFF               1/26/2004     
    ID     SORT_ORDER     LOG_STATUS     LOG_REVIEW_STAGE     DT_LOG_BEGIN     DT_LOG_END
    -----------------------------------------------------------------------------------------------
    10     100          Complete     AAA               1/13/2004     1/13/2004
    10     200          Complete     BBB               1/23/2004     1/23/2004
    10     300          Pending          CCC               1/23/2004     
    10     400                    DDD          
    10     601                    EEE          
    10     700                    FFF          
    10     800                    GGG          
    10     900                    HHH         ---------------------->>>>>>>>>
    10     1000                    JJJ          
    10     1100                    KKK          
    20     100          Complete     AAA               1/13/2004     1/13/2004
    20     200          Complete     BBB               1/23/2004     1/23/2004
    20     300          Complete     CCC               1/23/2004     1/23/2004
    20     400          Complete     DDD               1/24/2004     1/24/2004
    20     601          Complete     EEE               1/25/2004     1/25/2004
    20     700          Pending          FFF               1/26/2004     
    20     900                    HHH          ---------------------->>>>>>>>>
    20     1000                    JJJ          
    20     1100                    KKK          
    create table TEMP_TABLE
    (
      id               NUMBER(2),
      sort_order       NUMBER(10),
      log_status       VARCHAR2(50),
      log_review_stage VARCHAR2(50),
      dt_log_begin     DATE,
      dt_log_end       DATE
    )
    ;
    
    
    
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (10, 100, 'Complete', 'AAA', to_date('13-01-2004', 'dd-mm-yyyy'), to_date('13-01-2004', 'dd-mm-yyyy'));
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (10, 200, 'Complete', 'BBB', to_date('23-01-2004', 'dd-mm-yyyy'), to_date('23-01-2004', 'dd-mm-yyyy'));
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (10, 300, 'Pending', 'CCC', to_date('23-01-2004', 'dd-mm-yyyy'), null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (10, 400, null, 'DDD', null, null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (10, 601, null, 'EEE', null, null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (10, 700, null, 'FFF', null, null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (10, 800, null, 'GGG', null, null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (10, 900, null, 'HHH', null, null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (10, 1000, null, 'JJJ', null, null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (10, 1100, null, 'KKK', null, null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (20, 100, 'Complete', 'AAA', to_date('13-01-2004', 'dd-mm-yyyy'), to_date('13-01-2004', 'dd-mm-yyyy'));
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (20, 200, 'Complete', 'BBB', to_date('23-01-2004', 'dd-mm-yyyy'), to_date('23-01-2004', 'dd-mm-yyyy'));
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (20, 300, 'Complete', 'CCC', to_date('23-01-2004', 'dd-mm-yyyy'), to_date('23-01-2004', 'dd-mm-yyyy'));
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (20, 400, 'Complete', 'DDD', to_date('24-01-2004', 'dd-mm-yyyy'), to_date('24-01-2004', 'dd-mm-yyyy'));
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (20, 601, 'Complete', 'EEE', to_date('25-01-2004', 'dd-mm-yyyy'), to_date('25-01-2004', 'dd-mm-yyyy'));
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (20, 700, 'Complete', 'FFF', to_date('26-01-2004', 'dd-mm-yyyy'), to_date('26-01-2004', 'dd-mm-yyyy'));
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (20, 800, 'Pending', 'GGG', to_date('27-01-2004', 'dd-mm-yyyy'), null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (20, 900, null, 'HHH', null, null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (20, 1000, null, 'JJJ', null, null);
    insert into TEMP_TABLE(id, sort_order, log_status, log_review_stage, dt_log_begin, dt_log_end)
    values (20, 1100, null, 'KKK', null, null);
    commit;

    Please provide examples of data, as well as an explanation of your logic. It is very useful!

    I think that's what you want:

    SELECT id
         , sort_order
         , log_status
         , log_review_stage
         , dt_log_begin
         , dt_log_end
    FROM
    (
            SELECT id
                 , sort_order
                 , log_status
                 , log_review_stage
                 , dt_log_begin
                 , dt_log_end
                 , LEAD(log_review_stage) OVER (PARTITION BY id ORDER BY sort_order) AS next_log_review_stage
            FROM   temp_table
    )
    WHERE  log_status            = 'Pending'
    AND    dt_log_begin          IS NOT NULL
    AND    dt_log_end            IS NULL
    AND    next_log_review_stage = 'HHH'
    ;
    

    When run on your dataset, it returns:

                      ID           SORT_ORDER LOG_STATUS      LOG_REVIEW_STAGE                                   DT_LOG_BEGIN        DT_LOG_END
    -------------------- -------------------- --------------- -------------------------------------------------- ------------------- -------------------
                      20                  800 Pending         GGG                                                01/27/2004 00:00:00
    

    If this is incorrect, please explain why.

    Thank you!

  • How to avoid the report query needs a unique key to identify each line

    Hello

    How to avoid the error below

    The report query needs a unique key to identify each row. The supplied key cannot be used for this query. Please change the report attributes to define a unique key column.

    I have master-detail tables but without constraints, when I created a query as dept, emp table he gave me above the error.

    Select d.deptno, e.ename

    by d, e emp dept

    where e.deptno = d.deptno

    Thank you and best regards,

    Ashish

    Hi mickael,.

    Work on interactive report?

    You must set the column link (in the attributes report) to something other than "link to display single line." You can set it to 'Exclude the column link' or 'target link to Custom.

  • Question CP9: HTML5: Apple: Android: how to avoid the click on the Play button / tap?

    Hello

    Captivate 9.0.0.223: HTML5 draft.

    I'm sorry to ask this question, it's a little old chestnut on HTML5 in Apple iOS and Android.

    I have searched on the internet and forums for a solution underway, but could not find something that works.

    The problem is how to avoid the PLAY button, which forces the user to click / tap on it, when the project is accessible on an Apple or Android system.

    Play_icon.png

    The project will be published on the internet for use on any Windows, Apple or Android device.

    I have no control over the Web server or devices that will use the people, so that any changes to the software server or browser is out of the question.

    I have tried both a plain HTML5 and a responsive project, but neither avoid the Play button. I put an example of 1 slide on these links.

    http://www.hoffits.com/test_responsive/index.html

    http://www.hoffits.com/test_html5/index.html

    The bottom line is: ' is it possible to remove the need for the user to click / press the Play button?

    Thank you.

    Peter

    Cardiff

    In Wales

    UK

    In your normal HTML5, there is a line (I think it's 46) with this code:

    CP. DoCPInit();

    Add cp.movie.play (); Located below.

    so:

    CP. DoCPInit();

    CP. Movie.Play ();

  • How to avoid the SORT operation.

    Hi gurus,

    Oracle version is 11.1.0.7

    I have a select query that has Row_number() over (Partition of col1, col2 order by col1, col2 desc nulls last) function to eliminate the DUP on these two passes.

    Here it costs 4639 for sorting. Now, I added a two other columns in the query Select (has not changed the Row_number analytic function).

    COST of sorting is now 555635.

    This sort operation may use Temp table space. How to avoid the cost of SORTING.

    Note: I use the function analytical only to eliminate duplicates on Col1 and Col2 only.

    How to sort takes a large part of the COSTS by adding only two columns in the select list.


    Any Suggestions...?


    Thank you
    Mike

    I would say:
    1 don't worry unnecessarily about the cost of sorting - do you know if you have a problem.

    2. in general, eliminate from the beginning, sort late (i.e. After you have eliminated all you can)

    3. If you are concerned by the outpouring sort on the disc then you could go to manual management of pga (assuming that you are currently using automatic) for this particular operation and override sort_area_size.

  • Satellite Pro 4200 how to avoid the mistakes of the ACPI

    Satellite Pro 4200 how to avoid the ACPI errors after installing SP2 for windows XP Prof
    The problem is that my computer after installation service Pack 2 need about 15 minutes from time of shoutdown - what should I do to avoid this problem.
    Piotr Plecke

    Hello
    in this case it would be interesting what Type of laptop it is exactly.

    You will find this model on the bottom of your laptop. There is a review of it.

    Some models have a Bios update available, others not, for example.

    Please send additional information!

    Good bye

  • Camileo S10 - how to avoid the 'information' during video playback on TV

    I just received my Camileo S10... very nice indeed... but how to avoid the track and reading data to be shown on the screen during playback on my TV...?

    Go to the movies, then before you start playing click the OK button. This also works when you save. You must do this before playing or recording.

  • How to avoid the launch of Labview VI when he invokes in Teststand environment?

    Hi, friends.

    I am a student of teststand. I wrote a few screws by Labview. Now, I want to invoke in teststand environment.

    But when I run the sequence. LabVIEW automatically launches.

    How to avoid the launch of Labview when I run the sequence?

    Thank you.

    LabVIEW programs require a runtime engine. Under the TestStand configuration drop-down, select adapters. You can change the LabVIEW adapter to select the runtime rather than the development system.

    This should prevent the main screen of LabVIEW to appear, but you will not be able to change your LabVIEW VIs while they run of TestStand using the runtime engine.

  • How to avoid the launch of Labview when called by Teststand VI

    Hi, friends.

    I am a student of teststand. I wrote a few screws by Labview. Now, I want to invoke in teststand environment. But when I run the sequence. LabVIEW automatically launches. How to avoid the launch of Labview when I run the sequence?

    Thank you.

    I'm not sure that I follow what you're saying...  But it seems that when the VI is called, the LabVIEW Development software is started and you want to avoid this.

    If you create an executable file or a dll and that any call within TestStand, she should not call the development environment.  You must have the LabVIEW runtime engine installed on the target computer.

    For several years I used TestStand with LV, if my memory does not have to be precise.  I think that the above worked for me.  However, it seems that I remember something to have the LV code in debug mode, causing to open development environment... but it's a distant memory.    You do not use breakpoints where the LV VI is called, are you?

    R

  • How to avoid the minimizin of the screen when the user down ups slide

    How to avoid the minimizin of the screen when the user ups the down slide.

    Hello

    I guess that not possible because this is a feature of the system. Be able to substitute the blow to the gesture of bottom up would mean for combat when a user can switch to another application. It is not something that an application must be able to do it at all.

  • How to avoid the string * empty * on new pushScreen

    Someone knows how to avoid the string * empty * coming on each press of the screen and instead * void * can I have my own channel at the same place... Please let me know its possible or not...

    Thank you

    read the API:

    http://www.BlackBerry.com/developers/docs/4.7.0api/NET/rim/device/API/UI/component/ListField.html#se... (java.lang.String, int)

  • How to avoid the color address IOS in email HTML Template?

    Hello

    How to avoid the color address IOS in email HTML Template?

    Thank you

    Rahul Bhambri

    Hello Rahul,

    Please use css in your style sheet

    a {[x-Apple - detectors of data]

    color: inherit! important;

    text-decoration: none! important;

    font size: inherit! important;

    Police-family: inherit! important;

    Police-weight: inherit! important;

    line-height: inherit! important;

    }

    Thank you

    edynamic expert Eloqua

  • How to check the links and buttons of enamel are traceable? If I send the email through Eloqua?

    I sent you an email through Eloqua. I don't know how to check the links and buttons are traceable?

    Hi Lucie,.

    There are 3 ways to check your links and buttons are traceable or not:

    1. When you mouse pass the link or button it will not display the actual URL. It will show you a few encrypted URL which will redirect you to the actual URL.

    2. connect to the eloqua account and search your email. When your email open ups click setting ICON and then click on manage links. All the links and URL of the button should be checked.

    3. If you want to check at the level of the code make sure after all the links and buttons URL "elqtrack = true" must be written.

    Hope this will help...

    Thank you

  • How to avoid the glossy look and brilliant nostrils?

    I just built my first character of fuse and when I import into Photoshop, its nostrils are incandescent - as if the light shines through the back of his head!

    This fuse:

    Screen Shot 2016-01-17 at 04.27.53.png

    Becomes this in Photoshop:

    Screen Shot 2016-01-17 at 04.47.21.png

    I use a brush to set the nostrils, but have no idea how fix eye - of the suggestions?

    Even better - any ideas on how to avoid the glossy look and glowing nostrils?

    Thank you very much
    Malcolm

    Hey, Malcolm.

    Best way to explain what basically rendering 3D correctly really takes a lot of time, haha.  So that you may be able to work with the real-time 3D model and make changes quickly, we use two different rendering methods.

    There is an "Interactive" mode which is not like the beautiful light/shade, but is very fast - and that's what you see when you interact with the default template.

    Then, there is a mode "Raytraced" which is much more advanced calculations and stuff to give you a proper lighting / shadow.  Raytraced rendered may take time if so we can not use it all the time.

    In order to get the lights/shadows appropriate you need to perform a path Ray would make on the document.  Best way to do this:

    • Select your 3D layer in the layers panel
    • Make a selection in the drawing area to the area that you want to make (I recommend to test rendering of area to check the lighting/shadows before committing to make the whole layer).
    • Push the button is rendered at the bottom of the properties panel (it looks like a cube in a rectangle box, right next to the delete icon).

    There are other things that you must do if you want to get the best image search quality such as the addition of secondary lights!  You can add more lights in the 3D Panel using the small icon of light at the bottom.  Have 2-3 stage lights and adjusting their colors can make a big difference with the Assembly of your character in the scene.  Here is a small image for some comparisons:

    You can see the image with two lights a look much more realistic lighting and shadows and raytraced of one and two versions are much nicer and cleaner!

    Hope that helps!

Maybe you are looking for

  • QuickLaunch on simplepass 6

    Hello My question is about obtaining quicklaunch to work with simplepass 6.0.100.276 on Win 8.1 on HP Envy Touchsmart laptop I use simplepass to connection OK. This allows me to assign Web sites to the fingers once I am connected. It allows me to "ti

  • [SOLVED * nix way] How to get a professional M1212nf MFP from HP LaserJet with Win 2008 R2 work?

    Hello We bought four HP LaserJet M1212nf professional MFP and should have read forums first Our goal is to give our Printserver (Windows Server 2008R2) the actual driver. Printer is used only from clients for Win 7 64 bit. Whenever we install the dri

  • hp deskjet 5550 cartridge warning light

    How will I know what color or black cartridge

  • exceed the number of connection max

    Hi all, I have this kind of question. Several users connect to the DB. Once exceeded the number max connection, the program will give this exception.Error 500 - Internal server errorjavax.faces.el.EvaluationException: oracle.jbo.DMLException: Houston

  • Lenovo ThinkStation P910 and E5 V3 CPU Xeon support

    Hi all, I'm considering buying a P910. However, I would use my V3 CPU of Xeon E5 - 2650L instead of the V4 E5-2603 preinstalled that comes with the unit in the least expensive configuration. Is this possible? E5 - 2650L V3 is known to be compatible w