Region HTML - hide when the element is null

Hello

I want to hide the "HTML-area" where an element (P2_Item) is null... Please advice...

Thank you

P2_CUST_SYMBOL should work. PL. make sure the element is null.

Tags: Database

Similar Questions

  • Forms 10g - box set when another element is NULL

    Hello

    I make a change to a form that was developed by someone else.  Currently, the check boxes are selected manually by the user.  I need to change so that when another field in the form is null, the checkbox is enabled.

    Block - AUTSGS5

    Objects - end_date (text element)

    OPEN_CREDIT (box)

    Have written the following code:

    IF: autsgs5.end_date IS NULL THEN

    : autsgs5.open_credit: = 'Y ';

    ELSIF: autsgs5.end_date IS NOT NULL THEN

    : autsgs5.open_credit: 'n';

    END IF;

    Im not sure that trigger to add this also and at what level, etc.  I tried a lot of different triggers, but nothing seems to work.


    Any help would be appreciated.

    Thank you

    I agree with Michael.  You should know when you want to than the box activated in response to a NULL end_date.  For example, when registration is questioned in shape - I would use the trigger after request.  The record is entered in the block - then use a when-validate-Item.  When the user navigates to a new record - and when-validate-Record.

    2727441 wrote:

    ... I tried a lot of different triggers, but nothing seems to work...

    What triggers have you tried and they were level article, block or Module?

    Craig...

  • Local HTML storage when the application is closed

    Hello

    I would like to know if the local storage of a html page included in an application will be saved only when the application is closed, or the machine to stop.

    Yet, I use Adobe Viewer v30 for the test on an iPad and local storage is lost when I left Adobe's Viewer.

    Thank you very much.

    Yes, he does. Using localStorage.getItem () and localStorage.setItem (), Yes? We used recently for a game of treasure hunt in our publication to record what elements have been found in different articles of the folio. He worked in the LCA for us on the iPad, but also our custom application.

  • Can't hide from the elements without/with jQuery

    I created new Addon for my Firefox I use myself, but can't get it hide items with or without jQuery. It does not matter at all to use jQuery together.

    XUL file creates the toolbar with a button that have "oncommand ='Unlock ()" "" and it also includes the .js file that have function Unlock()

    Well. in any case, I think that my default files has been implemented correctly, because I have "alert ('Starting...');" before the line item to hide and he says 'go '. "with alert, but after that it is not made effects for the element in the example 'idofelement '.

    js file contains "document.getElementById('idofelement').style.visibility ="hidden"
    I tested different types of methods that hide the element in the example style.display = 'none', but none of them works.

    He always says 'go '. "so he runs the function properly, but nothing happens after that.

    Found the solution. I googled this for several days, but did not find a solution. Just used keywords "firefox addon getelementbyid" and selected "disorders" with it and found the solution. I had to use:

    content.document.getElementById ("id") so in other words I had to add the word 'content' in the front of the document.

    Thank you!

  • Management when the percentage getting null values

    Hi all

    I'm writing a query that gives me the account, the total number of transactions, the total number of transactions that are being matched (from the same table) and finally a percentage.

    After the documentation and brushing my knowledge of sql, this is the query.

    Select A.ACCOUNT_ID,A.TOTAL_TXN,B.TOTAL_MATCHED,(B.TOTAL_MATCHED/A.TOTAL_TXN) * 100 AS PERCENTAGE

    FROM (select account_id, count (*) bdr_transaction TOTAL_TXN

    where

    value_date = January 9, 15 '

    Account_id group) has

    LEFT JOIN

    (select account_id, count (*) bdr_transaction TOTAL_MATCHED where)

    value_date = January 9, 15 ' and

    type in (1,2)

    Account_id group) B

    ON A.ACCOUNT_ID = B.ACCOUNT_ID;

    This query gives me almost the expected output (if it takes too much time), but when the result of the B.TOTAL_MATCHED column is null the percentage is also set to null.

    Is there a way or a workaround to handle this?

    There might be another way more quick/clean, to do so.

    Thank you

    TK

    Select ACCOUNT_ID, TOTAL_TXN, TOTAL_MATCHED, (TOTAL_MATCHED / TOTAL_TXN) * 100 AS PERCENTAGE

    de)

    Select ACCOUNT_ID, count (case when type (1, 2) then 1 end) TOTAL_MATCHED, count (*) TOTAL_TXN

    of BDR_TRANSACTION

    where VALUE_DATE = January 9, 15 '

    ACCOUNT_ID group

    )

  • Cell borders disappear when the value is null

    I'm now a PL/SQL report. When the value of a column is null, the cell borders disappear. I would have preferred that they do not disappear.

    Any suggestions?
  • Change the conditions when the parameter is null

    I am building an Apex application where the client will fill out a form to get the data. I want to know if there is a way to modify the WHERE clause based on the selections of the customer allows shaped.

    Here is the scenerio:

    The user form has 3 fields, which should all be able to be null to return all results. We will call them P10_A, P10_B and P10_C

    If the user selects a value for all three, where clause is:

    where column_a =: P10_A
    and column_b =: P10_B
    and column_c =: P10_C.

    It works correctly if the user chooses a value for everyone, but if they do not choose a value for P10_B, I need my query to edit the where clause is

    where column_a =: P10_A
    and column_c =: P10_C.

    I have not found a way to do this, so I put my question to you. Is it possible to selectively include certain parts of the place where clause based on the presence of null values?

    Hello

    You must change your where clause to something like this:

    where (column_a = :P10_A OR :P10_A IS NULL)
    and (column_b = :P10_B OR :P10_B IS NULL)
    and ( column_c = :P10_C OR :P10_C IS NULL)
    

    I hope this helps!

    --
    Paulo Vale
    http://Apex-notes.blogspot.com

  • How can W/4.0.1 I export my bookmarks to an html file when the option "Organize bookmarks" disappeared in the bookmarks menu?

    I used to export my favorites to HTML using the "Organize bookmarks" feature in the bookmarks menu, but "organize bookmarks" is no longer there w/version 4.0.1 and this support site, http://support.mozilla.com/en-US/kb/Exporting%20bookmarks%20to%20an%20HTML%20file?s=export+bookmarks & as = s , said that this is the way to export bookmarks to HTML.

    Please click the button solved it next to the answer that solved your problem of Firefox support, it appears when you are connected, so this thread is marked as resolved to help other users who may have this same problem.

  • Case when the field IS NULL then... end

    Hello world

    (a) If a field is null, display a message.

    (b) the field shows beak null. application for admin to make outer joins between the tables.

    (c) I have 9 rows, 3 have NULL values,
    So, I want to show a literal message on 3 rows.

    problem is that the message shows on all the 9 lines.


    now:
    ====
    I could have adopted an approach very unorthodox at this request, please bear with me.
    I work for a college and am interested in students who did not encourage the "" in the last six months
    for this semester, beak. they repeat the year.

    200830 M1 generally promote to 200920 M2 (m1 attribute replaced by m2)

    M1 - 1 year 200830 = winter
    M2 - 2nd year 200920 = fall (200910 is special and not interested by this semester for this request)


    I want to run a query to search for the students who did not encourage.

    hand the sql would be:

    SELECT st1.id
    st1.name
    sa1.academic_period
    sa1.student_attribute
    sa2.academic_period
    sa2.student_attribute
    Student st1
    INNER JOIN student_attribute sa1
    ON st1.person_uid = sa1.person_uid
    AND sa1.academic_period = '200830'
    AND sa1.student_attribute = 'M1 '.
    LEFT JOIN student_attribute sa2
    ON st1.person_uid = sa2.person_uid
    AND sa2.academic_period = '200920'
    AND sa2.student_attribute = 'M2 '.
    where st1.academic_period = '200830'
    and sa2.student_attribute is null
    ORDER BY st1.name;


    ===========

    taking the hardcoded values and putting a LEFT JOIN simplified in a display/custom folder
    and then by creating the conditions in discoverer, essentially behaved as an EQUI-join and do not show the
    null lines

    =============

    I compare a "slice" of data "another" data 200920/m2 200830/m1

    so I begged the admin as an experiment to "clone" the desired table as 2 views and external to join them
    Discover the left join to student attribute #1 to
    attribute of student views #2


    and using the technique to deceive the discoverer of a LEFT JOIN in: student_attribute is null or student_attribute is null

    I got what I wanted - pupils with NULL values in attribut2, beak. they did not encourage

    ==============

    so now I wanted to create a new discoverer in copying the above query query and adding new 'logic ':

    In this new queyr am interested if the student extensible query determined #1
    have been coded by the staff in order to take into account that they repeat:
    M1 200830 as:
    M1 200920 (their bump up current semester with the same code attribute)

    so I thought... hmmmmm... I also have the ordinary table: attribute of the student
    now watch a 3rd data slice: 200920 m1


    Discover the left join to student attribute #1 to
    attribute of student views #2

    left to join University
    attribute of student views #1

    I access the beak ordinary table this pre-established join :

    University to join
    student table attribute

    ====================
    so my 2nd query uses:
    -Discover the condition attribute #1 student: 200830/m1
    -Discover the condition attribute #2 students: 200920/m2
    -University studies
    -condition of table student attribute: 200920 / * m1 *.


    and to maintain the table: attribute of student for M1 200920
    to see if records created the current semester for Extensible students staff


    This query has worked, got the 9 lines, of which 3 had to be coded to 200920/m1
    For lines 3 nulls, want to create a calc that would show this literal:

    "needs 200920 m1 folder.

    the problem is the literal is printing even on rows that have a value in the fields from the table, it's the calc:


    BOX WHEN (period DMC_Student_Att2.Academic IS NULL) THEN

    "NEEDS" | "'-> ' |: Parm_AcademicPeriod_Current |" " ' || : Parm_StudentAttribute_Prev

    END


    Any advice that might work with this unorthodox approach would be greatly appreciated,
    Advice to the other approaches would be also appreciated, tx, sandra

    Hi, Sandra
    When you work with outer joins, with that I conclude with a double whammy an OR statement allows me to make some incredible manipulations.

    For example, if you have a folder that the master joined the detail folder B with an outer join on B you get records from one if they exist in B or no - no?

    It doesn't have to be the case, you're just limit your way of thinking. It must get off the beaten and tell ourselves, if I could force discoverer to create a subquery with the NULL filter outside, I could find these B that don't have any corresponding entry in B, or I could find who had only the entries in the two.

    Let's say there's a STUDENTID b, using a normal like condition: B.STUDENTID IS NULL will not work because of the outer join. But if you create a Boolean condition, like this:

    B.STUDENTID IS NULL or B.STUDENTID IS NULL you will see amazing results.

    This tip can help.

    In which your question, taking the knowledge above, I was wondering what would happen if you did:

    BOX WHEN (period DMC_Student_Att2.Academic IS NULL) OR (period DMC_Student_Att2.Academic IS NULL) THEN

    "NEEDS" | "'--> ' |: Parm_AcademicPeriod_Current |" " ' || : Parm_StudentAttribute_Prev

    I am not sure it will work. If it isn't then you need create 2 worksheets, one containing the students who made the promotion and the other for those who do not. You need the conditions to make this work, one like this:

    * (Period of DMC_Student_Att2.Academic IS NOT NULL) OR (DMC_Student_Att2.Academic period IS NOT NULL) *.

    and other like this: * (DMC_Student_Att2.Academic period IS NULL) OR (DMC_Student_Att2.Academic period IS NULL) *.

    Best wishes
    Michael

  • Using Windows Live Hotmail, I am unable to fix attchments, even when the elements are photographs stored on my computer.

    With the help of Hotmail, I am unable to attchments atttach even when items are photographs stored on my computer. I get an error message that says that I don't have a link to the internet, even when I

    Hello

    As you are facing problems with Windows Live Hotmail, I suggest you to report your query in the link given for assistance.

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

  • View returns a value when the return is null

    I need a view that returns the following situation:
    ID   VAL
    1    A
    2    B
    Select VAL from my_view where ID = (?)
    If the ID is different from 1 or 2, then the value must be 'C' another thing 'A' or 'B' as ID

    Some tips on how I can do this?

    Concerning

    Assuming that the id is not null:

    SQL> variable id number
    SQL> exec :id := 1;
    
    PL/SQL procedure successfully completed.
    
    SQL>  select  val
      2     from  tbl
      3     where id = :id
      4  union all
      5   select  'C'
      6     from  dual
      7     where :id not in (
      8                       select  id
      9                         from  tbl
     10                      )
     11  /
    
    V
    -
    A
    
    SQL> exec :id := 2;
    
    PL/SQL procedure successfully completed.
    
    SQL>  select  val
      2     from  tbl
      3     where id = :id
      4  union all
      5   select  'C'
      6     from  dual
      7     where :id not in (
      8                       select  id
      9                         from  tbl
     10                      )
     11  /
    
    V
    -
    B
    
    SQL> exec :id := 3;
    
    PL/SQL procedure successfully completed.
    
    SQL>  select  val
      2     from  tbl
      3     where id = :id
      4  union all
      5   select  'C'
      6     from  dual
      7     where :id not in (
      8                       select  id
      9                         from  tbl
     10                      )
     11  /
    
    V
    -
    C
    
    SQL>
    

    SY.

  • stop when the element changes with the article.

    I have code like this


    <? [for-each@section:G_1[CODE='D']? >
    <? for-each: G_2? >
    <? IND? > <? STYLE? > <? FIN? > <? DR.? >
    <? end for each? >
    <? end for each? >

    every thing works fine I get new page that I was clear condition by <? [for-each@section:G_1[CODE='D']? >

    but inside the inner loop <?-foreach: G_2? >

    <? STYLE? > change with this article, I need the page break again as with in a section (I have section break on the outer loop) I could receive 3-4 styles, information on the same page so needs to break again when each style change with this article.

    I'm try below logic does not not as expected.

    <? If: STYLE [(.=preceding::STYLE)]? > <? split-of-page-break:? > <? end if? >

    and

    <? If: prior - sibling:G_2 / STYLE! = STYLE or position () = 1? > <? split-of-page-break:? > <? end if? >

    can anyone help me what is the mistake that I did.

    check the Inbox sent changed model.

  • Detect when the element loses focus?

    Hi all

    I'm expanding a text box when someone clicks in and you try to resize again when they interact elsewhere.e.g.,.

    < mx:TextInput x = "403" y = "16" width = "21" id = "txt_busy" click = "expand_b.end (); expand_b.play (); "backgroundAlpha ="0.5"/ >
    < mx:Resize id = "expand_b" target = "{txt_busy}" LargeurPour = "120" / >
    < mx:Resize id = "contract_b" target = "{txt_busy}" LargeurPour = "21" / >

    But I can't find anything on the detection of a "losefocus" or similar?

    Thanks for your help!

    Use the Focusout/focusouthandler() event.

  • LOV - when the element is not in the list

    If a required element is not in a dynamic list of values can the user type the value in the field? If yes how?

    This is the query:

    Select d, r PART_NO PART_NO
    of PPS_PARTS_SOURCE
    Group of PPS_PARTS_SOURCE. PART_NO
    order of PPS_PARTS_SOURCE. PART_NO DEC


    Kind regards

    Steve Welch

    There is no item of this type in the Apex. You have probably these select lists of access in mind. Usually, selection lists have a display and a hidden value, which are different. You can use a contextual list instead.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • show/hide the element to date in the form problem

    Hello!

    I have a form and a few items of date on the same line. The problem is when I use dynamic action to hide one of the items based on another element, this Summit hides all the elements in date on the same line. I think it's the bug. I use Apex 4.0.

    Now, I created a dynamic action that fires when the element changes P2_ITEM. The action is: run the JavaScript code and the code is:
    $('#P2_DATE_ITEM').hide)

    But it hides only an entry of date field. Date picker image and label rises.

    Does anyone know how to hide these two also?

    Hello

    Try

    $('label[for="P2_DATE_ITEM"]').hide();
    $('#P2_DATE_ITEM').hide().next("img").hide();
    

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

Maybe you are looking for

  • How to play zone 2 DVDs on a zone 1 macbook air

    I have a MacBook Air running OS 10.11.3 years. I also have a bunch of DVD European. I don't want my Mac to zone 2 permanently. Is it a piece of hardware or software that will allow me to see the European stuff without screwing up my American settings

  • Wireless Internet

    my wifi is not working properly, my tablet is connected and works. However, my laptop says that a limited and internet access does not work! Help me

  • HP P7 1414 A8 5500 processor temperatures

    Hello Here are the specs of my computer. http://support.HP.com/us-en/document/c03499587 Well, recently I noticed that my computer was working a little warm.  I think that the maximum range it should go up is 71c to my 5500 A8 processor.   It is runni

  • How to send an email to a certain user

    I found this code: How To - create and send messages As you can see, the email destination is already determined in the code. How to let the user choose e-mail whicever he likes?

  • Home-4215-3725 no link

    Good day everyone! I read all the guides from cisco, but I can't understand why I encounter the following problem: 1. I have'got 4215 in inline mode 2 Windows host with 10.0.3.1/24,10.0.3.254 (ip\mask, gateway) is on the fa0/1 interface and Cisco 372