Find Upper and Lower Values Based On middle?

I have a query...
which gives output like.
empcd at_date status
SA0477 1-AUG-2007 A
SA0477 2-AUG-2007 P
SA0477 3-AUG-2007 P
SA0477 4-AUG-2007 A
SA0477 5-AUG-2007 WO
SA0477 6-AUG-2007 A
SA0477 7-AUG-2007 P
SA0477 8-AUG-2007 P
SA0477 9-AUG-2007 P
SA0477 10-AUG-2007 A
SA0477 11-AUG-2007 A
SA0477 12-AUG-2007 WO
SA0477 13-AUG-2007 A
but i want those record, where 'WO' between two 'A'.means.
i want
SA0477 4-AUG-2007 A
SA0477 5-AUG-2007 WO
SA0477 6-AUG-2007 A
and
SA0477 11-AUG-2007 A
SA0477 12-AUG-2007 WO
SA0477 13-AUG-2007 A
record if there r any solution plsz rply. ASAP.
thanx wating for ur rply.

check this..
SQLPLUS> with test_tab as(
  2  SELECT 'SA0477' empcd,to_date('1-AUG-2007','dd-MON-yyyy') at_date, 'A' status from dual union all
  3  SELECT 'SA0477', to_date('2-AUG-2007','dd-MON-yyyy'),'P' from dual union all
  4  SELECT 'SA0477', to_date('3-AUG-2007','dd-MON-yyyy'),'P' from dual union all
  5  SELECT 'SA0477', to_date('4-AUG-2007','dd-MON-yyyy'),'A' from dual union all
  6  SELECT 'SA0477', to_date('5-AUG-2007','dd-MON-yyyy'),'WO' from dual union all
  7  SELECT 'SA0477', to_date('6-AUG-2007','dd-MON-yyyy'),'A' from dual union all
  8  SELECT 'SA0477', to_date('7-AUG-2007','dd-MON-yyyy'),'P' from dual union all
  9  SELECT 'SA0477', to_date('8-AUG-2007','dd-MON-yyyy'),'P' from dual union all
10  SELECT 'SA0477', to_date('9-AUG-2007','dd-MON-yyyy'),'P' from dual union all
11  SELECT 'SA0477', to_date('10-AUG-2007','dd-MON-yyyy'),'A' from dual union all
12  SELECT 'SA0477', to_date('11-AUG-2007','dd-MON-yyyy'),'A' from dual union all
13  SELECT 'SA0477', to_date('12-AUG-2007','dd-MON-yyyy'),'WO' from dual union all
14  SELECT 'SA0477', to_date('13-AUG-2007','dd-MON-yyyy'),'A' from dual)
15  , test_tab2 as(
16  select a.*,
17  case
18   when status ='A' and lead( status ,1) over (partition by empcd order by at_date) = 'WO'  Then
19       '1'
20   when status ='A'   and lag( status ,1) over (partition by empcd order by at_date) = 'WO'  Then
21      '1'
22   when status='WO' then
23     '1'
24   else
25      '0'
26  end flag
27  from test_tab a)
28  select empcd,at_date,status from test_tab2 where flag='1';
EMPCD  AT_DATE   ST
SA0477 04-AUG-07 A
SA0477 05-AUG-07 WO
SA0477 06-AUG-07 A
SA0477 11-AUG-07 A
SA0477 12-AUG-07 WO
SA0477 13-AUG-07 A
6 rows selected.
Elapsed: 00:00:00.00Good Luck

Similar Messages

  • Read the signal value that pass over the upper and lower limit..

    how to create the system which can read the signal value that pass the lower and upper limit? i've try but the system only read the value that in range of upper and lower limit..thanks..

    Im not very sure if this system can read the value that pass over the limit..because at the save file data so many value(i will attach that file)..and i dont know how to setting to get the failure values only..
    Actually i want to build some system that can read and save value that pass over the limit..i take the signal from simulation sine signal..no hardware required..
    im very new with this software and im in learning process..
    A very big thanks to all that helping me..
    save file data from the system
    Channels 8
    Samples 1 1 1 1 1 1 1 1
    Date 2012/03/05 2012/03/05 2012/03/05 2012/03/05 2012/03/05 2012/03/05 2012/03/05 2012/03/05
    Time 12:30:11.099999 12:30:11.216 12:30:11.216 12:30:11.216 12:30:11.099999 12:30:11.216 12:30:11.216 12:30:11.216
    X_Dimension Time Time Time Time Time Time Time Time
    X0 1.0000000000000001E-1 1.0000000000000001E-1 1.0000000000000001E-1 1.0000000000000001E-1 1.0000000000000001E-1 1.0000000000000001E-1 1.0000000000000001E-1 1.0000000000000001E-1
    Delta_X 0.001000 0.001000 0.001000 0.001000 0.001000 0.001000 0.001000 0.001000
    ***End_of_Header***
    X_Value Sine (Negative Peak) Failures (Negative Peak) Upper Limit (Negative Peak) Lower Limit (Negative Peak) Sine (Positive Peak) Failures (Positive Peak) Upper Limit (Positive Peak) Lower Limit (Positive Peak) Comment
    0.100000 -6.999066 -6.999066 5.000000 -5.000000 6.999136 6.999136 5.000000 -5.000000
    0.200000 -6.998993 -6.998993 5.000000 -5.000000 6.999204 6.999204 5.000000 -5.000000
    0.300000 -6.998917 -6.998917 5.000000 -5.000000 6.999269 6.999269 5.000000 -5.000000
    0.400000 -6.998838 -6.998838 5.000000 -5.000000 6.999331 6.999331 5.000000 -5.000000
    0.500000 -6.998756 -6.998756 5.000000 -5.000000 6.999391 6.999391 5.000000 -5.000000
    0.600000 -6.998672 -6.998672 5.000000 -5.000000 6.999447 6.999447 5.000000 -5.000000
    0.700000 -6.998585 -6.998585 5.000000 -5.000000 6.999501 6.999501 5.000000 -5.000000
    0.800000 -6.998495 -6.998495 5.000000 -5.000000 6.999552 6.999552 5.000000 -5.000000
    0.900000 -6.998403 -6.998403 5.000000 -5.000000 6.999601 6.999601 5.000000 -5.000000
    1.000000 -6.998307 -6.998307 5.000000 -5.000000 6.999646 6.999646 5.000000 -5.000000
    1.100000 -6.998209 -6.998209 5.000000 -5.000000 6.999689 6.999689 5.000000 -5.000000
    1.200000 -6.998108 -6.998108 5.000000 -5.000000 6.999729 6.999729 5.000000 -5.000000
    1.300000 -6.998005 -6.998005 5.000000 -5.000000 6.999766 6.999766 5.000000 -5.000000
    1.400000 -6.997898 -6.997898 5.000000 -5.000000 6.999801 6.999801 5.000000 -5.000000
    1.500000 -6.997789 -6.997789 5.000000 -5.000000 6.999833 6.999833 5.000000 -5.000000
    1.600000 -6.997677 -6.997677 5.000000 -5.000000 6.999862 6.999862 5.000000 -5.000000
    1.700000 -6.997563 -6.997563 5.000000 -5.000000 6.999888 6.999888 5.000000 -5.000000
    1.800000 -6.997445 -6.997445 5.000000 -5.000000 6.999912 6.999912 5.000000 -5.000000
    1.900000 -6.997325 -6.997325 5.000000 -5.000000 6.999932 6.999932 5.000000 -5.000000
    2.000000 -6.997202 -6.997202 5.000000 -5.000000 6.999950 6.999950 5.000000 -5.000000
    2.100000 -6.997076 -6.997076 5.000000 -5.000000 6.999965 6.999965 5.000000 -5.000000
    2.200000 -6.996948 -6.996948 5.000000 -5.000000 6.999978 6.999978 5.000000 -5.000000
    2.300000 -6.996817 -6.996817 5.000000 -5.000000 6.999988 6.999988 5.000000 -5.000000
    2.400000 -6.996683 -6.996683 5.000000 -5.000000 6.999994 6.999994 5.000000 -5.000000
    2.500000 -6.996546 -6.996546 5.000000 -5.000000 6.999999 6.999999 5.000000 -5.000000
    2.600000 -6.996546 -6.996546 5.000000 -5.000000 7.000000 7.000000 5.000000 -5.000000
    2.700000 -6.996683 -6.996683 5.000000 -5.000000 6.999994 6.999994 5.000000 -5.000000
    2.800000 -6.996817 -6.996817 5.000000 -5.000000 6.999988 6.999988 5.000000 -5.000000
    2.900000 -6.996948 -6.996948 5.000000 -5.000000 6.999978 6.999978 5.000000 -5.000000
    3.000000 -6.997076 -6.997076 5.000000 -5.000000 6.999965 6.999965 5.000000 -5.000000
    3.100000 -6.997202 -6.997202 5.000000 -5.000000 6.999950 6.999950 5.000000 -5.000000
    3.200000 -6.997325 -6.997325 5.000000 -5.000000 6.999932 6.999932 5.000000 -5.000000
    3.300000 -6.997445 -6.997445 5.000000 -5.000000 6.999912 6.999912 5.000000 -5.000000
    3.400000 -6.997563 -6.997563 5.000000 -5.000000 6.999888 6.999888 5.000000 -5.000000
    3.500000 -6.997677 -6.997677 5.000000 -5.000000 6.999862 6.999862 5.000000 -5.000000
    3.600000 -6.997789 -6.997789 5.000000 -5.000000 6.999833 6.999833 5.000000 -5.000000
    3.700000 -6.997898 -6.997898 5.000000 -5.000000 6.999801 6.999801 5.000000 -5.000000
    3.800000 -6.998005 -6.998005 5.000000 -5.000000 6.999766 6.999766 5.000000 -5.000000
    3.900000 -6.998108 -6.998108 5.000000 -5.000000 6.999729 6.999729 5.000000 -5.000000
    4.000000 -6.998209 -6.998209 5.000000 -5.000000 6.999689 6.999689 5.000000 -5.000000
    4.100000 -6.998307 -6.998307 5.000000 -5.000000 6.999646 6.999646 5.000000 -5.000000
    4.200000 -6.998403 -6.998403 5.000000 -5.000000 6.999601 6.999601 5.000000 -5.000000
    4.300000 -6.998495 -6.998495 5.000000 -5.000000 6.999552 6.999552 5.000000 -5.000000
    4.400000 -6.998585 -6.998585 5.000000 -5.000000 6.999501 6.999501 5.000000 -5.000000
    4.500000 -6.998672 -6.998672 5.000000 -5.000000 6.999447 6.999447 5.000000 -5.000000
    4.600000 -6.998756 -6.998756 5.000000 -5.000000 6.999391 6.999391 5.000000 -5.000000
    4.700000 -6.998838 -6.998838 5.000000 -5.000000 6.999331 6.999331 5.000000 -5.000000
    4.800000 -6.998917 -6.998917 5.000000 -5.000000 6.999269 6.999269 5.000000 -5.000000
    4.900000 -6.998993 -6.998993 5.000000 -5.000000 6.999204 6.999204 5.000000 -5.000000
    5.000000 -6.999066 -6.999066 5.000000 -5.000000 6.999136 6.999136 5.000000 -5.000000
    5.100000 -6.999136 -6.999136 5.000000 -5.000000 6.999066 6.999066 5.000000 -5.000000
    5.200000 -6.999204 -6.999204 5.000000 -5.000000 6.998993 6.998993 5.000000 -5.000000
    5.300000 -6.999269 -6.999269 5.000000 -5.000000 6.998917 6.998917 5.000000 -5.000000
    5.400000 -6.999331 -6.999331 5.000000 -5.000000 6.998838 6.998838 5.000000 -5.000000
    5.500000 -6.999391 -6.999391 5.000000 -5.000000 6.998756 6.998756 5.000000 -5.000000
    5.600000 -6.999447 -6.999447 5.000000 -5.000000 6.998672 6.998672 5.000000 -5.000000
    5.700000 -6.999501 -6.999501 5.000000 -5.000000 6.998585 6.998585 5.000000 -5.000000
    5.800000 -6.999552 -6.999552 5.000000 -5.000000 6.998495 6.998495 5.000000 -5.000000
    5.900000 -6.999601 -6.999601 5.000000 -5.000000 6.998403 6.998403 5.000000 -5.000000
    6.000000 -6.999646 -6.999646 5.000000 -5.000000 6.998307 6.998307 5.000000 -5.000000
    6.100000 -6.999689 -6.999689 5.000000 -5.000000 6.998209 6.998209 5.000000 -5.000000
    6.200000 -6.999729 -6.999729 5.000000 -5.000000 6.998108 6.998108 5.000000 -5.000000
    6.300000 -6.999766 -6.999766 5.000000 -5.000000 6.998005 6.998005 5.000000 -5.000000
    6.400000 -6.999801 -6.999801 5.000000 -5.000000 6.997898 6.997898 5.000000 -5.000000
    6.500000 -6.999833 -6.999833 5.000000 -5.000000 6.997789 6.997789 5.000000 -5.000000
    6.600000 -6.999862 -6.999862 5.000000 -5.000000 6.997677 6.997677 5.000000 -5.000000
    6.700000 -6.999888 -6.999888 5.000000 -5.000000 6.997563 6.997563 5.000000 -5.000000
    6.800000 -6.999912 -6.999912 5.000000 -5.000000 6.997445 6.997445 5.000000 -5.000000
    6.900000 -6.999932 -6.999932 5.000000 -5.000000 6.997325 6.997325 5.000000 -5.000000
    7.000000 -6.999950 -6.999950 5.000000 -5.000000 6.997202 6.997202 5.000000 -5.000000
    7.100000 -6.999965 -6.999965 5.000000 -5.000000 6.997076 6.997076 5.000000 -5.000000
    7.200000 -6.999978 -6.999978 5.000000 -5.000000 6.996948 6.996948 5.000000 -5.000000
    7.300000 -6.999988 -6.999988 5.000000 -5.000000 6.996817 6.996817 5.000000 -5.000000
    7.400000 -6.999994 -6.999994 5.000000 -5.000000 6.996683 6.996683 5.000000 -5.000000
    7.500000 -6.999999 -6.999999 5.000000 -5.000000 6.996546 6.996546 5.000000 -5.000000
    7.600000 -7.000000 -7.000000 5.000000 -5.000000 6.996546 6.996546 5.000000 -5.000000
    7.700000 -6.999994 -6.999994 5.000000 -5.000000 6.996683 6.996683 5.000000 -5.000000
    7.800000 -6.999988 -6.999988 5.000000 -5.000000 6.996817 6.996817 5.000000 -5.000000
    7.900000 -6.999978 -6.999978 5.000000 -5.000000 6.996948 6.996948 5.000000 -5.000000
    8.000000 -6.999965 -6.999965 5.000000 -5.000000 6.997076 6.997076 5.000000 -5.000000
    8.100000 -6.999950 -6.999950 5.000000 -5.000000 6.997202 6.997202 5.000000 -5.000000

  • Datatable for upper and lower limit maintained in Measuring Point.

    Hi,
    I am making use of user exit : IMCR0001. User exit generates maintenance order for measuring reading which are beyong the range maintained in measruing point.
    I have create measuring point with characteristics as TEMPERATURE. I have maintained upper limit : 1500 C & lower limit : 1200 C.
    When I check datatable IMPTT and look for upper and lower limit, it is showing me : Upper range :1.7731500000000001E03 Lower range : 1.4731500000000001E03
    Why is that I can not find the actual value as 1500 and 1200 n the datatable?
    In which datatable I can find these values?
    Kindly help.
    Thanks in advance.
    Regards,
    TOM.

    Hi Tom,
                 These are system Generated Values, but they will be concatenated by a few Zeros, but you can always find the exact value,
    I am able to see the Values correctly in my system follower by some 10-12 zero's "E"+ 02 or 03.
    but can check the values
    can cross check the Characteristics for the same measuring point?
    Regards,
    Yawar Khan

  • Upper- and lower case filenames

    I have two Mac OS Extended (journaled) drives with one on my laptop and one on my desktop. I sometimes get an error that reads:
    "You can't copy some of these items because their names are the same as other items on the destination volume, and that volume does not distinguish between upper and lower case letters in filenames. Do you want to skip these items and continue copying other items?"
    Recently this happened when trying to force move (using the Command Key) data from my iDisk to my desktop hard drive.
    Does anyone know what is going on here?
    Is it advisable to first copy data to the desktop on the volume that you are moving to and then move it onto the harddrive and if so what is the reason for this?
    Thanks,
    Jon

    Hi Kappy.
    Thanks. Good information. Are you saying you can only /move/ across filesystems or disk volumes or are you saying you can only /copy/ across filesystems or disk volumes.
    My impression was that going from one hard drive to another hard drive - that the default was copy, but that you could force a move by holding down the Command Key. When I do this over here the little green plus symbol goes away seeming to imply that it is moving. However, /sometimes/ the dialog says it is Copying and sometime is says it is Moving.
    The problem is when it craps out in the middle of a Move (or a Copy). Ignoring the dupe file names with caps issue for the moment - what are you supposed to do when you get through a Move or a Copy (from Hard Drive to Hard Drive for instance) and Finder presents you with an error?!
    My understanding of your explanation is that Finder has gotten part way through a Copy and/or (?!) part way through an Erase.
    Is there any way of understanding WHERE it has gotten when it says it cannot complete an operation because filexyz.pdf is in use (even when it is not)? If I am moving 100 GB of data (or whatever) how am I supposed to know if it has only Copied some information, Copied and Erased some information, Moved some information, or Moved and Erased some information?
    Irrespective of the amount of data, when you get to the point that you cannot reasonably be expected to manually sort through this data how in the world am I supposed to know what Finder has done? More importantly, what is the best way to get back to a point at which you know what information is where?
    Thanks,
    Jon
    P.S. I'm moving data in Target Disk mode at this point and I am not getting errors like "The operation can't be completed because an item with the name "folder 100" already exists - WHEN I HAVE ALREADY SELECTED APPLY TO ALL AND OVERWRITE EXISTING FILES.

  • OMR6 upper and lower limits

    I am developer and this is not my area of expertise, so not sure if wording will be correct.  I believe We place payments blocks on invoices based on values set in OMR6.  This is where the configuration is done.  However I have been told that the system will not do this for lower limits.  Can this be done in OMR6 or is there another area we can do this without having to create a user exit?  I'm told that upper limits work fine but that the design of the system does not allow this for lower limits.  Anyone have any ideas of where configuration can be done for this?

    I had someone here walk me through what was in the setup.  For the the Tolerance key "PP" for this specific company there is an upper and lower limit entered and the "check limit" is selected for both upper and lower entries.  The upper limit check works but the lower limit check does not work.  They said, all SAP notes say you have to enable a specific user exit to get the lower limit to work for "PP".  This does not sound right but might be true.  Is there something special you have to do with the "PP" type to get it to work?  I cannot imagine SAP having the lower limit entry there but not using it, but like I said it is possible.

  • Meter reading upper and lower limits

    Hello,
    Does anyone know how the structure REL16_RANGE in the form class  IS_U_DM_MR_DOWNLOAD gets filled? I need to find the place where the upper and lower limits are filled and how to manipulate, i.e. to correct them.  Where, which table, are these values coming from?
    thanks,
    melinda

    GO to se38 t-code give report name IEEL16R2
    Line no : 2287.
    form fill_reading_ranges using x_reading like t_reading
                                                     y_ranges  like rel16_range.
    This form wil fill your structure REL16_RANGE.
    first it will serach for the billing documnet...then it will find out the rate category,rate then it will search for the tolearnce limit.
    Then Upper limit.
          convert lower limit 1 MR result into display format*
            call function 'ISU_METER_IDDATA_TRANSFORM'
          convert upper limit 1 MR result into display format*
            call function 'ISU_METER_IDDATA_TRANSFORM'
    Please let me know if you need any more information.
    Regards,
    Siva

  • MIC with different upper and lower limit

    Hi experts,
    I have a scenario where I have a characteristic to be tested for trace element in a chemical.
    But the upper and lower specification of this MIC is different for different chemicals (material numbers) . ie the specification depends on chemical (material) to be inspected.
    So I am stuck with a combination a number of MICs with same trace element (say iron) to be tested for a number of chemicals.
    How does QM handle this scenario ?
    Rgds
    JMG

    1st - Are you batch managed?  if so you can create a batch class and add a general characteristic to it linked to a single MIC.  Use this MIC in your inspection plans.  Then in the batch class set the specs limits.
    You can create a separate batch class for each group of materials.  I.e. those with the same specs.
    You can also modify the spec value in the classification view for each material that is different then the spec in the class.
    You can also create plans which use the same MIC but in the plan you unlock it and set the spec.  Then assign all the materials using that spec to the same plan.
    This is all very simplied above.  But under NO circumstances should it be necessary to create multiple MICS for the same test with all different specs!
    Craig

  • Upper and Lower Case in J2EE

    Hi Friends!
    I have an oracle database and i want to do string comparision.
    But i have and problem.
    I can use these sql in oracle gui
    <b>select UPPER(BTITLE) from sapsr3db.bilim_blog
    select BTITLE from sapsr3db.bilim_blog where {fn LCASE(bilim_blog.BTITLE)}='test'</b>
    But i cannot use in J2ee sap portal application. It gives these error sequently
    <b>Upper Function are not allowed here</b>
    <b>SQL syntax error: an illegal character "{" has been found in the statement text </b>
    Also someone asked same question before and didnt get answer.
    <u>Re: Case insesitive String comparison in Open SQL</u>
    Best Regards
    Eray

    Hi
    here you can find all the functions permitted in the OpenSQL:
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/f46cabaa874bc9a82234e8cf1d0696/frameset.htm
    So I think that Upper/Lower are not permitted... the work around is to get all the records and check the Upper and Lower case using Java Code functions into your business methods.
    Hoper this help.
    Vito

  • Graph of Multiple Numeric Result displaying measurements and upper and lower limits

    Is there a way with your graph control to show all the measured values against upper and lower limits in the same graph?. I can display individual lines, but would like to show all the data on the one graph. The woefully cryptic help files you provide with the graph control in TestStand seriously needs attention (Give examples!) also axis labelling, how is that achieved?

    Hey Brian,
    I'm not sure I understand what you're wanting to see with the data plotted on the graph--would it be possible for you to show us an example, even if it's just a drawn mockup of what the graph would look like? I'd like to look into it a bit and confirm that there is not a way to display the data.
    Also, could you provide a bit of detail about the problems you've run into with using external languages with the ATML and XML reports? I'd like to understand that issue a bit better as well to determine how we could address it.
    One thing you might be interested in is that we can currently embed images in the report by inserting HTML code linking to the image. I've seen cases where a LabVIEW VI plotted some data onto a custom graph, saved a picture of the control, and linked the image into the report. Here is a KnowledgeBase article which describes how the linking process works: http://digital.ni.com/public.nsf/allkb/D98A271E30431C9D86256C230079843A?OpenDocument
    I'll look forward to your reply about what you're hoping to see, and perhaps we can think of the best way to accomplish it with the reporting mechanism in TestStand. As Chiara mentioned, if there are features you would like to see that are not currently possible with our reports, the Idea Exchange will be a great place to post that. 
    Thanks!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • UPPER and lower case file extensions for Photo Shop Elements using Windows 7

    How do I persuade WIndows 7 to show both UPPER and lower case file extensions, which is a very useful facility offered by my ancient, 2002, version of Photoshop Elements? When processing large volumes (100 plus) photos it is very useful to be able to spot those that have been processed among those awaiting my gentle touch. The JPEG file extension produced by my camera is UPPER case so by using "Save as" with lower case the modified photos are immediately spotted. This worked fine on Windows XP and the same programme has loaded and works well on my new laptop which came loaded with Windows 7 EXCEPT that it persists in using UPPER case all the time, irrespective of the preference settings in PSE. HELP!
    Camperman1

    In PSE there is a facility "File > process multiple files".
    Using this facility you can actually process multiple files at one go and you can easily rename images.
    Addi

  • What are high and low values in sharepoint 2013 user permissions?

    So I hit this api:
    http://win-a3q7ml82p8f/sharepoint_site/_api/web/roledefinitions/
    And got the different high and low values. But I am not clear with what they mean:
    For eg:
    High: 176, Low: 138612833
    and
    High: 176, Low: 138612801
    So for different values of Low how does it change the permissions?
    For 176 its binary is 10110000. So looking at this table here: http://www.dctmcontent.com/sharepoint/Articles/Permissions%20and%20Mask%20Values.aspx
    I can understand that 176 would mean the following set of permissions:
    DeleteVersions
    OpenItems
    ApproveItems
    But what's confusing me is, that user has OpenItems permissions but not ViewListItems permission? Am I wrong in understanding this?
    Also how does the value of Low change the overall user permissions?
    Note: I looked at this answer: http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9d6df168-e8f5-4323-8c34-0646c03eff68/rest-api-what-are-high-and-low-in-effectivebasepermissions-and-getusereffectivepermissions?forum=sharepointdevelopment
    But honestly I cant understand what that means. Can someone help please?

    check this blog may explain you...
    http://jamestsai.net/Blog/post/Understand-SharePoint-Permissions---Part-1-SPBasePermissions-in-Hex2c-Decimal-and-Binary---The-Basics.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • My SD video keeps jumping between the upper and lower frames. So the video starts frame blending and blurring in and out.

    My SD video keeps jumping between the upper and lower frames.  So the video starts frame blending and blurring in and out.  The sequence settings are set to
    Editing Mode: DV NTSC 29.97 frames/second. 
    Pixel Aspect Ration: D1/DV NTSC (0.9091)
    Fileds: Lower Field First
    Display Format: 30fps Non-Drop-Frame Timecode
    720 x480

    What is the source of your video, and exactly what is inside your video?
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download

  • How do I remove the background display in the upper and lower parts of the page?

    The upper and lower ends have a background display when a new version was updated.I wish to remove the display.
    == This happened ==
    Every time Firefox opened
    == Today

    Sounds that you installed a Persona.
    You can uninstall that Persona and revert to the ''Default'' theme (Tools > Add-ons > Themes).
    See [[Using themes with Firefox]] and http://kb.mozillazine.org/Themes (Lightweight theme)

  • Is Central Search Searchable Via Upper and Lower Case Letters

    Good evening,
    Does anyone know if Central Search is searchable using both upper and lower case letters?  We have the functionality enabled and can only bring back search results when we use upper case letters.  When we search on the same marketing object using lower case letters, we do not get any results. For example, TK2292 brings back marketing object TK0002292 but tk2292 does not bring back any results.  Advanced Search appears to be able to handle both search scenarios.  Any guidance would be greatly appreciated. 
    Regards,
    Gregg

    Hello,
    Did you put a breakpoint in the query method to check what you receive in the field 'marketing object' when you start from the central search of the advanced search?
    Is it different?
    Regards,
    Fred

  • Finding x and y values of a Line Chart

    Hi,
    For instance, I had a line chart with x and y axis. When I move mouse to the line chart how can I determine x and y axis values? With mouseMoved metod i can find the coordinates but coordinates doesn't help me to find x and y values of the line chart.
    How can I find x and y values of a Line Chart?
    Thanks in advance

    Translate from model to view and back. Another way to do this is to create an
    AffineTransform for the modelToView and use it to transform the points. Create an inverse
    transform to use in the viewToModel method. Add a ComponentListener and reset the transforms
    in the componentResized method to keep them updated.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import java.text.NumberFormat;
    import javax.swing.*;
    public class Translation extends JPanel {
        JLabel xLabel;
        JLabel yLabel;
        NumberFormat nf;
        double[] data = { 16.0, 32.9, 7.4, 18.9, 12.3 };
        final int Y_GRADS = 5;
        final int PAD = 35;
        final int SPAD = 3;
        final int TICK = 2;
        double maxVal;
        public Translation() {
            nf = NumberFormat.getInstance();
            nf.setMinimumFractionDigits(1);
            nf.setMaximumFractionDigits(1);
            maxVal = getMaxValue();
            addMouseMotionListener(sweep);
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            drawAxes(g2);
            plotData(g2);
        private void plotData(Graphics2D g2) {
            for(int j = 0; j < data.length; j++) {
                Point2D.Double p = modelToView(j, data[j]);
                if(j < data.length-1) {
                    Point2D.Double next = modelToView(j+1, data[j+1]);
                    g2.setPaint(Color.blue);
                    g2.draw(new Line2D.Double(p, next));
                g2.setPaint(Color.red);
                g2.fill(new Ellipse2D.Double(p.x-2, p.y-2, 4, 4));
        private Point2D.Double modelToView(double x, double y) {
            double h = getHeight();
            Point2D.Double p = new Point2D.Double();
            p.x = PAD + x*(getWidth() - 2*PAD)/(data.length-1);
            p.y = h-PAD - y*(h - 2*PAD)/maxVal;
            return p;
        public Point2D.Double viewToModel(double x, double y) {
            double h = getHeight();
            Point2D.Double p = new Point2D.Double();
            p.x = (x - PAD) * (data.length-1) / (getWidth() - 2*PAD);
            p.y = (h - PAD - y) * maxVal / (h - 2*PAD);
            return p;
        private void drawAxes(Graphics2D g2) {
            int w = getWidth();
            int h = getHeight();
            double xInc = (double)(w - 2*PAD)/(data.length-1);
            double yInc = (double)(h - 2*PAD)/Y_GRADS;
            // Abcissa
            g2.draw(new Line2D.Double(PAD, h-PAD, w-PAD, h-PAD));
            // Tick marks
            double y1 = h-PAD, y2 = y1+TICK;
            for(int j = 0; j <= data.length; j++) {
                double x = PAD + j*xInc;
                g2.draw(new Line2D.Double(x, y1, x, y2));
            // Labels
            Font font = g2.getFont().deriveFont(14f);
            g2.setFont(font);
            FontRenderContext frc = g2.getFontRenderContext();
            LineMetrics lm = font.getLineMetrics("0", frc);
            float sx, sy = h - PAD + SPAD + lm.getAscent();
            for(int j = 0; j < data.length; j++) {
                String s = String.valueOf(j);
                float width = (float)font.getStringBounds(s, frc).getWidth();
                sx = (float)(PAD + j*xInc - width/2);
                g2.drawString(s, sx, sy);
            // Ordinate
            g2.draw(new Line2D.Double(PAD, PAD, PAD, h-PAD));
            // Tick marks
            double x1 = PAD, x2 = PAD-TICK;
            for(int j = 0; j <= Y_GRADS; j++) {
                double y = PAD + j*yInc;
                g2.draw(new Line2D.Double(x1, y, x2, y));
            // Labels
            for(int j = 0; j <= data.length; j++) {
                String s = nf.format(maxVal*(1.0 - (double)j/data.length));
                float width = (float)font.getStringBounds(s, frc).getWidth();
                sx = (float)(PAD - SPAD - width);
                sy = (float)(PAD + j*yInc + lm.getAscent()/3);
                g2.drawString(s, sx, sy);
        private double getMaxValue() {
            double max = -Double.MAX_VALUE;
            for(int j = 0; j < data.length; j++) {
                if(data[j] > max) {
                    max = data[j];
            return max;
        MouseMotionListener sweep = new MouseMotionAdapter() {
            public void mouseMoved(MouseEvent e) {
                Point2D.Double p = viewToModel(e.getX(), e.getY());
                xLabel.setText(nf.format(p.x));
                yLabel.setText(nf.format(p.y));
        private JPanel getLast() {
            xLabel = new JLabel();
            yLabel = new JLabel();
            Dimension d = new Dimension(45, 25);
            JPanel panel = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.insets = new Insets(2,2,2,2);
            addComponents(new JLabel("x ="), xLabel, panel, gbc, d, true);
            addComponents(new JLabel("y ="), yLabel, panel, gbc, d, false);
            return panel;
        private void addComponents(JComponent c1, JComponent c2, Container c,
                                   GridBagConstraints gbc, Dimension d, boolean b) {
            gbc.weightx = b ? 1.0 : 0;
            gbc.anchor = GridBagConstraints.EAST;
            c.add(c1, gbc);
            c2.setPreferredSize(d);
            gbc.weightx = b ? 0 : 1.0;
            gbc.anchor = GridBagConstraints.WEST;
            c.add(c2, gbc);
        public static void main(String[] args) {
            Translation test = new Translation();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(test);
            f.getContentPane().add(test.getLast(), "Last");
            f.setSize(500,400);
            f.setLocation(200,200);
            f.setVisible(true);
    }

Maybe you are looking for

  • How to export spool file into HTML file

    Hi, I have one Oracle procedure which meets our business requirement. I am keeping the output data into a log file and I am sharing that log file to the users. Sample Code: spool path\logile.log declare begin dbms_output.Put_line('output will come he

  • PO History

    Hi ABAPers,    Can any one tell me what are the tables to be taken to display PO History. If possible can any send me a report on PO History. Its urgent.. waiting for your reply.. Thanks Kumar

  • Negative values when emptying the trash

    I'm doing a secure version of emptying the trash. The "Items to delete" status has now reached a value of -2 (yes, it went from 0 to negative 1 to negative 2). Any idea what's going wrong here? It's still going.

  • Calday YTD, MTD in Query Designer

    I have to show daily sell in a company + sell value from the beginning of the month, and from the beginning of the year. how to get YTD and MTD values for specified day i Query Designer. I know I need to create variables that will work on calday, but

  • Why am I not receiving a requestcode?

    I bought a 1 year license for Adobe CS6 Design & Web Premium for Windows on Slim.nl. I could not install it succesfully, because the software couldn't "see" that I was connected to internet (and you have to be connected to instal the software correct