Less than and greater than

What is the best way to do the presence event when working with totals.  I created a table for funding and based on the total the document needs certain signatures.  For example if the total is more than $10,000 signatures VP and Approving Officer need to appear.  If the total is less than or equal to $10,000 than the Approving Officer signature only appears.  Any help on this would be much appreciated...thanks so much!

Assuming rawValue of the total field is returning as "10000".
In the Calculate event of the Total field, write the following with Java Script as language.
VP_Signature.presence = "hidden";
Officer_Signature.presence = "hidden";
if(total.rawValue>10000){
     VP_Signature.presence = "visible";
     Officer_Signature.presence = "visible";    
else{ 
     VP_Signature.presence = "hidden"; 
     Officer_Signature.presence = "visible";
Thanks
Srini

Similar Messages

  • I have a manual that contains headings and index entries that contain less than and greater than characters, and . The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the C

    I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\&gt;\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&amp;lt;x2settings&amp;gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.  

  • HT1688 Where are the less than and greater than symbols?

    where are the less than < and greater than > symbols?

    Assuming rawValue of the total field is returning as "10000".
    In the Calculate event of the Total field, write the following with Java Script as language.
    VP_Signature.presence = "hidden";
    Officer_Signature.presence = "hidden";
    if(total.rawValue>10000){
         VP_Signature.presence = "visible";
         Officer_Signature.presence = "visible";    
    else{ 
         VP_Signature.presence = "hidden"; 
         Officer_Signature.presence = "visible";
    Thanks
    Srini

  • Is there replacement for (less than) and (greater than) in Oracle 10g?

    Hi,
    In the User Java Application using Oracle's > (less than) or > (greater than) is not working.
    Can anyone help me onthis for any feature in Oracle 10g instead of using less than or greater than
    Thanks and Regards

    Hi,
    What do yyou mean by "it's not working"?
    Maybe you could use sign function, instead.
    with t as (select 2 x, 3 y from dual union all
               select 2 x, 1 y from dual union all
               select 2 x, 2 y from dual)
    select t.*
      from t
    where sign(y - x) = - 1;
             X          Y
             2          1
    1 row selected.Regards
    Peter

  • Less than or greater than Decode Function

    Can we use less than or greater than (relational operator) operator in decode function

    Use Case instead.
    Not sure if you need it in your resultset or your where clause.
    Simple examples:
    MHO%xe> with numbers as(
      2  select 1 a, 3 b from dual union all
      3  select 2 a, 3 b from dual union all
      4  select 3 a, 3 b from dual union all
      5  select 4 a, 3 b from dual union all
      6  select 5 a, 3 b from dual
      7  )
      8  select 'QRY1'
      9  ,      a
    10  ,      b  
    11  from   numbers
    12  where (case when a >= b then 1 end) = 1
    13  union all
    14  select 'QRY2'
    15  ,      case when a < b then b else 0 end
    16  ,      case when b < a then a else 0 end
    17  from numbers;
    'QRY          A          B
    QRY1          3          3
    QRY1          4          3
    QRY1          5          3
    QRY2          3          0
    QRY2          3          0
    QRY2          0          0
    QRY2          0          4
    QRY2          0          5

  • Showing the amper sign and greater than sign in a report

    Hi All,
    I am saving html code to the table and it saves exactly as I save it but when I display it I need to replace certain characters with other values so it shows as it was saved.
    <code>
    select replace(replace(replace(ACTION,'>','&gt;'),'<','&lt;'),chr(10),'<BR>') "Action"
    from test_table1
    </code>
    Example:
    the greater than sign I replace with an amper sign, gt;
    the less than sign I replace with an amper sign, lt;
    the chr(10) I replace with a BR tag.
    If I save the "amper sign, gt;" to the database what do I use to have it show an " amper sign, gt;" in my report column?
    Bill

    Bill,
    How about using the package
    DBMS_XMLGEN.convert(<<value>>, 0)
    when retreiving from the table and
    DBMS_XMLGEN.convert(<<value>>, 1)
    when saving to the database.
    This package will take care of all of your special characters.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Issues with less than and grater than condition in prompts in OBIEE 11g,

    Hi all,
    i am facing the prombles with less than grater than conditions in OBIEE 11g.
    i created two date prompts with presentation variables datefrom and dateto
    and i used these prompts in fileters like this using grater than and less than symbol.
    filters are as below:
    lastupdated date is grater than or equal to @{datefrom}{1/1/1950}
    lastupdated date is less than or equal to @{dateto){1/1/1950}
    and created two prompts
    creation datefrom >=
    creation dateto<=
    when i passing the dates 05/12/2004 and 05/12/2005 in prompts after clicking the apply button in OBIEE 11g it feches all the records but i need records between these dates. and one more thing is after clicking apply button the two date fields getting the same date..
    am i do any thing wrong in the above ???
    please let me know friends..
    waiting for ur replyyyyyy..
    Thanks
    Edited by: BI_user on Oct 12, 2011 2:10 AM

    Hi,
    Create date prompts with operator as = not >= (or) <= as you need to save that value in presentation variable and you are filtering report using those variable filters.
    Regards,
    Srikanth

  • How can I give a range mens some number is less than a number and greater than other number.

    how can I give a condition for a number like this
                   1<x>2. TO a condition to the  case loop selector terminal for selection .I expect help

    In the case selector, write "1..3" for all integers 1 <= x <= 3
    (if using floats it'll get rounded to an integer, so not the optimal solution, then you'll need In-range and coerce)
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • The photos on my Picasa web album display as less sharp and detailed than the original photo or as displayed on Internet Explorer. Is there a work around?

    Below is a link to one of my photos, if I toggle between this link on Firefox 3.6.9 and Internet Explorer I see a loss of clarity and detail on the Firefox browser. Look especially at the flower stamens to see this. <br />
    all the photos in this album have the problem. <br />
    http://picasaweb.google.com/RichardLeeBledsoe/InsectsOnFlowersByRichardBledsoe#5394520929339045794

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    See [[Text Zoom]] and [[Page Zoom]] and http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Greater Than Less Than

    Dear all,
    I am Using oracle 10g R2 database on windows.
    I have a doubt that,
    If I have a 'Date' datatype column suppose a and want to (select Less than sysdate and greater than Sysdate-31(One Month).
    e.i.
    select a,b,c from T where a Less Than Sysdate-31(One month.);How can i do this.
    Thanks,
    Chanchal Wankhade.

    Shinegar wrote:
    I had not considered the effect on an index with TRUNC. Thank you for pointing that out.
    TRUNC doesn't actually remove time as you can see below
    SELECT TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH:MM:SS AM') "Today's Date and Time" from DUAL;
    Today's Date and Time
    01/19/2012 12:01:00 AMLet's say sysdate = Jan 19, 2012 11:00:00 AM
    As shown above, trunc(sysdate) = Jan 19, 2012 12:01:00 AM
    So, trunc(sysdate) -1 = Jan 18, 2012 12:01:00 AM
    Removing the trunc from column a
    select a,b,c
    from T
    where a between trunc(sysdate)-1 and trunc(sysdate);will also remove all data that is greater than Jan 19, 2012, 12:01:00 AM so you would only see data from one day -- Jan 18th.
    Adding the trunc to column a returns all the data from Jan 18th and 19th.
    It is my experience that users will ask for a date range, but then will ask for just one day. If Column a is not truncated, then no rows would be returned when between trunc(sysdate) and trunc(sysdate).
    Most programmers will not use trunc(sysdate) in the where clause, but would use a variable with value assigned of sysdate or trunc(sysdate) as it provides more flexibility.
    If you do not want to use trunc on column a, then the where clause should be BETWEEN trunc(sysdate) - 31 AND sysdate.
    Edited by: Shinegar on Jan 19, 2012 12:40 PMThe trunc function does not remove the time portion, but it does set it to midnight. Or at least i would if you used the correct format mask in your TO_CHAR. The mask for minutes is MI not MM.
    SQL> SELECT TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH:MI:SS AM') am_pm,
      2         TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH24:MI:SS') mil_time
      3  from dual;
    AM_PM                  MIL_TIME
    01/19/2012 12:00:00 AM 01/19/2012 00:00:00John

  • GREATER THAN symbol appearing as &gt ; in SQL*Plus

    Version:11.2.0.3
    OS : RHEL 5.4
    We are a Software vedor firm.We have sent our SQL files to our client to execute. But the codes for various procedures and functions were failing
    because, in their SQL*Plus session (in Putty) the LESS THAN character < was appearing as &lt ; and GREATER THAN character > was appearing as &gt ;
    In the original code which we had sent to them has no problems with > or < characters.
    Original code
    Cursor feb_cur IS
      SELECT user_pwid
        FROM carton_hdr_dtl
       WHERE MODIFIED_DATE >= D_Last_Run_Date
       UNION
      SELECT user_pwid
        FROM carton_hdr_dtl_bkp
       WHERE (modified_date >= D_Last_Run_Date OR
              deleted_date >= D_Last_Run_Date);  But in the execution log file sent by our client, I can see &gt ; instead of > character.
    54   Cursor feb_cur IS
    55    SELECT user_pwid
    56        FROM carton_hdr_dtl
    57       WHERE MODIFIED_DATE &gt ;= D_Last_Run_Date
    58       UNION
    59    SELECT user_pwid
    60        FROM carton_hdr_dtl_bkp
    61       WHERE (modified_date &gt ;= D_Last_Run_Date OR
    62              deleted_date &gt;= D_Last_Run_Date);What are they doing wrong? They use putty. We use putty too but we don't have any issues.
    Edited by: Max on Dec 17, 2012 2:42 AM

    Thank you Blushadow, Nicosa for providing this clue.
    I checked with my client. They have put our scripts in Collabnet SVN version control and the implementor DBA will be provided the http URL .
    Apparently SVN is accessed using http protocol and yes you are right it is opened through a browser by typing an URL like below
    http://10.80.16.214:79839/svn/brcf/DBfiles/2012/WMHReleasel8/hrtb_pkt_wave.sqlFor most of the end users , the GREATER THAN character appears as > without any issues . For some users it appears as &gt ; . One potential cause is the difference in Internet Explorer version. They are currently looking into this.
    THANK YOU BLUSHADOW and NICOSA for shedding light on this.
    Hi Nicosa,
    A forum formatting question:
    How did you manage to get &gt_; (without the underscore) printed ? When I tried it the forums editor was converting it to > . This is why I placed a space/underscore between t and semi colon. Is there some escape character ?

  • Variables in query, greater than

    Please tell me if the following is possible.
    I have a query with a variable that asks for a date to be entered, e.g. 02.2006 and spits out the results.
    However I have been asked to set this variable in such a way that it should display the results of 02.2006 or whatever I have
    entered and all of the months greater than 02.2006 or whatever. ( not less than only 02.2006 and greater than )
    Is it possible. I do not think so but I thought I verify from the SDN gurus. Please help if you can. Thanks.

    So basically, you want to know the different value of calmonth in row with key figures being in column.
    I thought you want the report strucutre in ROW like:
    User Entered calmonth
    User Entered Calmonth - 12.9999
    But your report requirement is
    User Entered Calmonth
    User Entered Calmonth + 1
    User Entered Calmonth + 2
    12.9999
    If this is the requirement,
    Create a customer exit variable, ready for input with interval.
    Let user enter a date say 05.2006
    Now in the customer exit,
    Set LOW as user entered low value 05.2006
    Set HIGH as '999912'.
    That would restrict your calmonth by user entered - 12.9999 and in the row you will see one row per one calmonth value and once your row is restricted by month, you will see KF restricted by that month automatically.
    - Danny
    Edited by: Danny Matt on Jul 7, 2009 11:02 AM

  • Camel Query : Calender list : Get Items agains given date that must be greater than and eqaul to start date and greater less than or equal to end date ?

    Camel Query : Calender list : Get Items agains given date that must be greater than and eqaul to start date and greater less than or equal to end date ?
    A Snap of Employee holiday list
    Case : Anne juul Sondergaar is on leave from 05-06-2014 to 07-06-2014
    I need a query to check wheither Anne juul is on leave at 06-06-2014 ????
    I am using this query that return nothing
    SPQueryquery =
    newSPQuery();
                                query.Query =
    @"<Where>
    <And>
    <And>
    <Leq>
    <FieldRef Name='Til' />
    <Value Type='DateTime'>"
    + WorkingStartDate.ToString("yyyy-MM-dd")
    + @"</Value>
    </Leq>
    <Geq>
    <FieldRef Name='Fra' />
    <Value Type='DateTime'>"
    + WorkingStartDate.ToString("yyyy-MM-dd")
    + @"</Value>
    </Geq>
    </And>
    <Eq>
    <FieldRef Name='Medarbejdere' />
    <Value Type='Lookup'>"
    + EmployeeName.Trim() +
    @"</Value>
    </Eq>
    </And>
    </Where>"
                                query.ViewFields =
    " <FieldRef Name='ID' />";
    Ahsan Ranjha

    Hello,
    Download CAML query builder from below location and use it to build your query:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f7b36ebc-6142-404a-8b04-9c87de272871/where-can-i-download-the-u2u-caml-query-builder-for-sharepoint-2010may-i-know-the-exact-link?forum=sharepointgeneralprevious
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • "Less than 40%", "In between 40 and 70%", "Greater than 70%

    ADF Experts,
    In DVT like funnel chart, is it possible to change the graph bifurcation based on custom requirement.
    For eg : Funnel chart creates the funnel like "Less than 40%", "In between 40 and 70%", "Greater than 70%" . Is it possible to change this to any custom value ?
    thnks
    Jdev 11.1.1.5

    Hi,
    see "Treshold" in
    http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12418/tagdoc/dvt_funnelGraph.html
    +"The number of threshold, each threshold range and color can be customized in the graph bean. These functions are not exposed to the faces layer yet, but application may use a graph binding to access these functions in the graph engine."+
    Frank

  • Greater than AND less than

    i want to say 'if the root current frame is greater than 40
    and less than 50...
    if (_root._currentframe= ?)
    sorry, i'm kinda crap at this! please help!...

    You need to have a double || to get the logical or, otherwise
    you get the bitwise or.
    NSurveyor, I always put brackets, simply for readability. 25
    years ago I have been programming in APL, probably the "shortest"
    programming language ever. It looked like swearing in cartoons,
    with lots of stars, bombs and knives :-) I knew very few people
    that could read and understand those programs once they were
    written, not even the authors themselves. That taught me to
    introduce
    redundancy

Maybe you are looking for