Date Range based on print date

What would be the formula for a date range that references the most recent 7am-7am period from the print date?

What would be the formula for a date range that references the most recent 7am-7am period from the print date?
Assuming the print date is todays date, then this should work
  in DateTime  currentdate -1 +time (07, 00, 00)  to DateTime currentdate +time (07, 00, 00)

Similar Messages

  • FLASHBACK QUERY - Range based - Doubt - Help needed -URGENT

    Hi,
    I want to user the flashback query facility to capture the history of versions for a day (i.e) i want to get the data versions from morning 10 a.m to 6.pm.
    How to get the versions by using the time range for a day.
    I used the query as
    select a.eno,
              b.eno,
              a.ename,
              b.ename
    from emp a, emp as of timestamp
    to_timestamp('08-NOV-2006 06:32:21.999999 AM','DD-MON-RRRR HH:MI:SS.ff6 AM') b
    where a.eno=b.eno
    The above query will fetch only one versions for the specified timestamp.
    How could i implement the range based search through flashback query.
    Please suggest any methods to implement the same.
    Thanks in advance.

    You'll want to read the documentation about Oracle Flashback Version Query.<br><br>
    Regards,
    Rob.

  • Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.? I want to alter the formatting (i.e., text and/or cell background color), but not cell content.

    Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.?
    I want to alter the formatting (i.e., text and/or cell background color), but not the content, of the target cell(s).

    Hi Tom,
    Your LOOKUP formula will return a value that it finds in the "other" table. That value can be used in conditional highlighting rules. (Numbers 3 calls it conditional highlighting, not conditional formatting. Just to keep us awake, I guess, but it works the same).
    Please explain what you are trying to do.
    Regards,
    Ian.

  • SD number range based on company codes

    Dear all,
    We have two company codes in one client.We want to create  separate SD number ranges based on company codes.Is there any possibilities to do this.Please advice.
    Regards,
    Abdul jabbar

    Abdul,
    If you have  different doc types for two company codes then you can maintain different number ranges in standard for two company codes.
    If you have same doc types for two company codes then you have to go for enhancement.
    1. Create one ztable: Maintain the entries like below.
    company code
    SD document categ.
    Document type
    Sequence Number
    Prefix code
    Object name
    Number range number
    2XX1
    C
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    C
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    C
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    C
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    H
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    H
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    H
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    H
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    H
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    J
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    J
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    J
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    J
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    J
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    K
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    K
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    L
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    M
    ZXXX
    1
    A05
    Z_XXX_X1
    05
    2XX1
    M
    ZXXX
    1
    A05
    Z_XXX_X1
    05
    2XX1
    M
    ZXXX
    1
    A05
    Z_XXX_X1
    05
    2XX1
    N
    ZXXX
    1
    A05
    Z_XXX_X1
    05
    2XX1
    N
    ZXXX
    1
    A04
    Z_XXX_X1
    04
    2XX1
    O
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    O
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    O
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    O
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    O
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    P
    ZXXX
    1
    A04
    Z_XXX_X1
    04
    2XX1
    S
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    S
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    S
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    T
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    T
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX2
    C
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    C
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    C
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    C
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    H
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    H
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    H
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    H
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    H
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    J
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    J
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    J
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    J
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    J
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    K
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    K
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    L
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    M
    ZXXX
    1
    A10
    Z_XXX_X1
    10
    2XX2
    M
    ZXXX
    1
    A10
    Z_XXX_X1
    10
    2XX2
    M
    ZXXX
    1
    A10
    Z_XXX_X1
    10
    2XX2
    N
    ZXXX
    1
    A10
    Z_XXX_X1
    10
    2XX2
    N
    ZXXX
    1
    A09
    Z_XXX_X1
    09
    2XX2
    O
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    O
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    O
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    O
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    O
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    P
    ZXXX
    1
    A09
    Z_XXX_X1
    09
    2XX2
    S
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    S
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    S
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    T
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    T
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2. In SNRO Maitain the number Ranges interval
    First system take the number range interval and searches for the entry in ztable and prefix the code as per the ztable enteries.
    By this u can differentiate the number ranges by company code.
    Revert back to the forum if need any clarification.
    Thank$
    Hidayath

  • Using Acrobat 9 and suddenly there is no selected page range in the print box.   Only selected PDF files or all PDF files.  Am I doing something wrong?  I need to print only three pages from the document

    There is no selected print page range in the print box.  Only selected PDF file and all PDF files.  Any suggestions?

    Well, I looked for where to delete this but didn't see it.
    NEVERMIND; I forced iPhoto to quit and restarted and everything seems fine.
    BTW, I did get one thing wrong. When I looked at both iPhoto libraries with FINDER, the active one and the archived one both showed content as far as file size goes.
    It was because I was viewing the files through Adobe Bridge that it was showing 0 GB's; for whatever reason.

  • Any fix for the PC based network printer communication issue with Mavericks?

    Any fix for the PC based network printer communication issue with Mavericks?

    I just signed up for FIOS and am not experiencing your problem (had enough other ones instead).
    Go to mail preferences ~ click on a mail account ~ click on the advanced tab. The only settings that worked for me were: port 110 SSL OFF, authentication: Authenticated POP (APOP). If I remember correctly when I first set this up another window opened and I typed in my password and never had to do that again.
    Hope this helps.

  • Salary Ranges based on Personnel Areas

    Hi,
    is there a way to configure a salary range for a particular job based on Personnel Area.  I know in Compensation Management you can define pay grades and level and set the min and max salary but this is based on country grouping.
    Is the a way to configure so that salary range is based on personnel areas? thanks'

    I am not sure if there is a way to configure a salary range for a job based on Personnel Area.
    But you can validate and give a message, if the entered salary on IT0008 is with in a range based on the personnel area for the job. This can be done using User Exit EXIT_SAPFP50M_002 (ZXPADU02).

  • When printing a highlighted (selected) print range from an internet item pulled up through Firefox, the first line of the selected range is not printing or is partially cut off.

    When printing a highlighted (selected) print range from an internet item pulled up through Firefox, the first line of the selected range is not printing or is partially cut off. This is not an issue with my printer, as printer prints the whole selected print range when using Internet Explorer or Word Doc applications. The problem only happens when using Firefox. Please advise on how to fix this. Is this a settings issue or do I need to download and update? Thx

    * [[Printing a web page]]
    * [[Firefox prints incorrectly]]
    Check and tell if its working.

  • IP Based Location Printing

    Hi all
    I'm new at this whole IP Based Location Printing thing... 
    I'm currently managing a small school's network. They've got 3 printers on IP. All printers are shared via the domain PC (running the DC). 
    One printer is in the Computer Lab, the other in the Staff Lab, and the other one in the Library. 
    I came across the problem the school has. Students are printing to other printers on the network, which they shouldn't be doing. The computer teacher and I have no control over printing now. 
    I was wondering, how do I set up location based printing, so that if the student is logged onto a Library PC, that he/she can only see the Library Printer and not the other 2 printers, and so on for the other locations.
    Our network works via vSpace nComputing devices, with Terminal Services. We run Windows Server 2008 R2 as an operating system. 
    Can anyone please help me with a tutorial or guide to set up location based printing? 

    Hi Mafia_ManA,
    Sorry for my delay.
    Based on your description, it seems that printers were deployed via group policy. Would you please let me confirm
    whether they deployed via
    TCP/IP Printer Item in GPP? If anything I misunderstand, please don’t hesitate to let me know.
    Meanwhile, please check if you have navigate to the security tab on printers and assign correct permissions
    to corresponding users.
    Hope this helps.
    Best regards,
    Justin Gu
    Hi Justin
    We currently add/delete printers on Print Management... Should I not use Print Management and rather use the GP TCP/IP method (as your link describes)... If I should use the GP, should I add the Printers under the Printer Pointing Permission Policy?

  • Number range based on plant

    Hi All,
    I have requirement, cliant wants number range based on plant, for example
    we have three plants under 1 company code AXXX,BXXX,CXXX the requirment is when we create a PO the PO number should start with Aor B or C starting letter of the plant.
    we know that we can use differnet document type but here we want to use only one document type I.e NB document type.
    Please let me know steps to do this,
    Thanks in advance.
    Thanks&Regards,
    Chand

    Hi
    It is posibel to create number ranges per plant
    But my suggestion you have only three plant then create differnt doc type for plant,there are many report depend on plant,and we can use differnt plant in po also so it will effect
    chek following link
    [Purchase order number ranges plant wise;
    Regards
    Kailas ugale

  • Variable Exit - Last Three months date range based on Sy-datum

    Hi
    I have a requirement to filter last 3months data based on sy-datum. I have a variable filter on Posting Date.
    For e.g. Today is 20110622
    I have to determine below range: When users run the report prompt should be auto filled with below date range.
    From Value: 20110301
    To Value     : 20110531
    From sy-datum I can find the first day of the current month - In this scenario 20110601 (I'll replace last 2 characters with "01").
    If I subtract "-1" I'll get the To Value: 20110531
    Question is to get the "From Value". If I subtract 90days from To value, it will work for few months.
    For e.g. If my To value is Feb 28th and if I subtract 90days, I may get a different answer.
    Is there any better approach to determine this date range?
    Thanks for your help.
    Best Regards,
    Sree

    Hi Sree,
      Pleae find this approach and compare
    data : l_date type sy-datum,
    l_startdate type sy-datum,
    l_endate type sy-datum,
    l_startmonth(6) type c,
    l_endmonth(6) type c,
    l_date = sy-datum.   say "20110622
    l_endmonth = sydatum(6)   "201106
    Pass year month and get previous month using this standard .
              CALL METHOD cl_rs_time_service=>shift_year_month
                EXPORTING
                  i_year_month = l_endmonth
                  i_shift      =  -1
                RECEIVING
                  r_year_month = l_endmonth
                EXCEPTIONS
                  failed       = 1
                  OTHERS       = 2.
    "l_endmonth = 201105.
              CALL METHOD cl_rs_time_service=>shift_year_month
                EXPORTING
                  i_year_month = l_endmonth
                  i_shift      =  -2
                RECEIVING
                  r_year_month = l_startmonth
                EXCEPTIONS
                  failed       = 1
                  OTHERS       = 2.
    "l_startmonth = 201103
    l_startdate(6) = l_startmonth.
    l_startdate+6(2) = '01'.
    "l_startdate = 20110301
    We got startdate in and we want to get enddate , but we got endmonth ...
    now we need to get last date of the endmonth.
    Use this function module SLS_MISC_GET_LAST_DAY_OF_MONTH  and u can get it. Input should be date.
    so put l_enddate+6(2) = '01'.
    l_enddate(6) = l_endmonth.
    now pass end date to the  Function module and this will return the end date of the month.
    So you get l_startdate and l_enddate as you require. This will work for leap years or feb 28 days what ever...
    Regards
    vamsi
    Edited by: vamsi talluri on Jun 22, 2011 10:06 PM

  • [MDX] Define date range based on user selection

    Hi All,
    I'm trying to define date range (of 3 months) using mdx based on user selection.
    This is what I'm trying to do:
    - If user select 2013, I would like range to be: from
    1 Oct 2013 to 31 Dec 2013
    - If user select Aug 2013, I would like range to be: from
    1 Jun 2013 to 31 Aug 2013
    - If user select 15 Sep 2013, I would like range to be : from
    15 Jul 2013 to 15 Sep 2013
    It is not a problem to get the upper bound of the range like this:
    ClosingPeriod(
    [Date].[Calendar].[Date],
    [Date].[Calendar].CurrentMember
    But I'm not able to get the lower bound of the range:
    OpeningPeriod(
    [Date].[Calendar].[Date],
    ParallelPeriod(
    [Date].[Calendar].[Month Number],
    2,
    ClosingPeriod(
    [Date].[Calendar].[Date],
    [Date].[Calendar].CurrentMember
    Error:If user selection is
    15 Aug 2013, I get
    14 Jun 2013
    If user selection is Apr 2013, I get
    (null)
    And even more strange, if user selection is
    2013, I get 28 Oct 2013
    Any idea of how to solve this ?
    Thanks,
    Guillaume

    Hello Guillaume,
    Can you please check if the following works for you? By the way, the performance will suffer due to all these IIF, the solution is very complex in order to avoid null in ParallelPeriod.
    with member measures.high as MemberToStr(ClosingPeriod(
       [Date].[Calendar].[Date],
       [Date].[Calendar].CurrentMember
    member measures.low as
    MemberToStr(
    iif(ClosingPeriod(
       [Date].[Calendar].[Date],
       [Date].[Calendar].CurrentMember
    ) IS ClosingPeriod(
       [Date].[Calendar].[Date],
       [Date].[Calendar].CurrentMember
    ).Parent.LastChild  --last date of the month
    OpeningPeriod(
       [Date].[Calendar].[Date],
    Ancestor(ClosingPeriod(
       [Date].[Calendar].[Date],
       [Date].[Calendar].CurrentMember
    ), [Date].[Calendar].[Month]).lag(2)
    iif([Date].[Calendar].CurrentMember.level is
    [Date].[Calendar].[Date]
    and
    Right(CSTR([Date].[Calendar].CurrentMember.Properties("KEY0")),4)="0429" --take care of 4/29
    OpeningPeriod(
       [Date].[Calendar].[Date],
    Ancestor(ClosingPeriod(
       [Date].[Calendar].[Date],
       [Date].[Calendar].CurrentMember
    ), [Date].[Calendar].[Month]).lag(2)
    OpeningPeriod(
       [Date].[Calendar].[Date],
       ParallelPeriod(
          [Date].[Calendar].[Month],
          2,
          ClosingPeriod(
             [Date].[Calendar].[Date],
             [Date].[Calendar].CurrentMember
    select  {measures.low,measures.high } on 0
    from [Adventure Works]
    where
    --[Date].[Calendar].[Date].&[20070815]
    --get [Date].[Calendar].[Date].&[20070615]
    --[Date].[Calendar].[Date].&[20070530]
    --get[Date].[Calendar].[Date].&[20070330]
    --[Date].[Calendar].[Date].&[20070429]
    --get [Date].[Calendar].[Date].&[20070201]
    --[Date].[Calendar].[Calendar Year].&[2007]
    --get [Date].[Calendar].[Date].&[20071001]
    --[Date].[Calendar].[Month].&[2007]&[4]
    --get [Date].[Calendar].[Date].&[20070201]
    --[Date].[Calendar].[Month].&[2007]&[5]
    --get [Date].[Calendar].[Date].&[20070301]
    --[Date].[Calendar].[Date].&[20070228]
    --get [Date].[Calendar].[Date].&[20061201]
    --[Date].[Calendar].[Date].&[20070831]
    --get [Date].[Calendar].[Date].&[20070601]
    If this does not work for you, I would suggest opening a ticket with Microsoft Support, with an advisory type of request.
    Hope this helps.
    Thanks.
    Meer Al - MSFT

  • Problems computing dates within a given range based on conditions

    Hello. I'm working on a part of a scheduling app and am having a problem with this one section. I tried doing some searches on this forum, but no one seems to be trying to compute anything similar to what I'm doing.
    Basically, I have a select list with the values: "Every", "Every Other", "Every 1st", "Every 2nd", "Every 3rd", and "Every 4th". I also have a checkbox with the values for the days of the week, from Sunday to Saturday. What I'm trying to do is that if I have a start and an end date, how to compute which days (from the various combinations of the select list and checkbox items chosen) fall in this range. Are there any functions available to help with this task? Someone mentioned the next_day() function, but looking at that function it seems like this is still pretty complicated logic-wise. Is it, or am I missing something?

    Hi,
    As Etbin said, if you can get dbms_scheduler (or some other supplied code) to do all or part of your job, that's the best thing to do.
    Assuming you have to produce a list of targeted run dates, here's a SQL query that does that.
    The query uses four bind variables:
    (1) :start_dt, a date in DD-Mon-YYY format (other formats would work as well; easily modified)
    (2) :end_dt
    (3) :freq_txt, one of 'Every', 'Every Other', 'Every 1st', etc.
    (4) :day_txt, a comma-delimited list of days wanted, e.g. 'Tue,Thu'. (They don't have to be in order. If you're using 3-letter English abbreviations, they don't really have to be delimited.)
    I assume your app can produce these from the screen inputs.
    WITH     d     AS
    (     -- Begin sub-query d to find all dates in range
         SELECT     TO_DATE (:start_dt, 'DD-Mon-YYYY') + LEVEL - 1     AS dt
         FROM     dual
         CONNECT BY     LEVEL <= TO_DATE (:end_dt, 'DD-Mon-YYYY')
                        + 1
                        - TO_DATE (:start_dt, 'DD-Mon-YYYY')
    )     -- End sub-query d to find all dates in range
    ,     w     AS
    (     -- Being sub-query w to compute week_num
         SELECT     dt
         ,     1 + FLOOR ((dt - TRUNC (dt, 'MM')) / 7)     AS week_num
         FROM     d
         WHERE     :day_txt     LIKE '%' || TO_CHAR (dt, 'Dy') || '%'
    )     -- End sub-query w to compute week_num
    SELECT     TO_CHAR (dt, 'DD-Mon-YYYY Dy')     AS run_dt
    ,     week_num
    FROM     w
    WHERE     (:freq_txt = 'Every')
    OR     (:freq_txt = 'Every Other'     AND     week_num IN (1, 3, 5))
    OR     (:freq_txt = 'Every 1st'     AND     week_num = 1)
    OR     (:freq_txt = 'Every 2nd'     AND     week_num = 2)
    OR     (:freq_txt = 'Every 3rd'     AND     week_num = 3)
    OR     (:freq_txt = 'Every 4th'     AND     week_num = 4)
    ORDER BY     dt
    ;If you don't understand what the subqueries are doing, run them alone. (e.g. "WITH d AS (...) SELECT * FROM d;")

  • Oracle SQl query to find date range based on another cloumn value

    Hi Folks,
    I want to extract records for the employees who have consecutive vacation/leave from a table. If an emp has vacation of 3 days (MON-WED), the table contains 3 distinct records for him,
    e.g. My table contains records as shown below.
    EmpName Paycode ApplyDate Amt. of Hrs
    emp1 vacation 5/1/2010 8
    emp1 vacation 5/2/2010 8
    emp1 vacation 5/3/2010 8
    I am trying to get the output like this...
    Emp Name Paycode Leave Start Date Leave End Date TotalHrs
    emp1 vacation 5/1/2010 5/3/2010 24
    Note: If the smae emp has sets of vacation in another month, that should come as a separate record with start date and end date(last date of vacation for that set).
    I have a query which does not return any rows. Any help to repair this query or any better one would be of great help.
    ==================================================================
    WITH vpt AS (
    select personnum as empname, paycodename as paycode, applydate, timeinseconds/3600 as numhours from VP_TOTALS
    where applydate between to_date('05/01/2010','MM/DD/YYYY') AND to_date('12/31/2010','MM/DD/YYYY')
    AND paycodename in ('US-Vacation','US-Bereavement','US-Sick','US-Jury Duty')
    select
    empname,
    paycode,
    min(applydate) as startdate,
    max(applydate) as enddate,
    sum(numhours) as totalhours
    from (
    select
    empname,
    paycode,
    applydate,
    numhours,
    -- number the blocks sequentially
    sum(is_block_start) over (partition by empname, paycode order by applydate) as block_num
    from (
    select
    empname,
    paycode,
    applydate,
    numhours,
    -- Mark the start of each block
    case
    when applydate = prev_applydate + 1 then 0 else 1 end as is_block_start
    from (
    select
    empname,
    paycode,
    applydate,
    numhours,
    lag (applydate) over (partition by empname, paycode order by applydate) prev_applydate
    from vpt
    group by empname, paycode, block_num
    ===================================================================
    Thanks,
    Maha

    Hi Dear,
    Can I do reverse I mean I can get output as your question from your output as below:
    I have this table
    FID      STARTD ATE END DATE
    1 01-MAY-10 03-MAY-10
    1 09-MAY-10 11-MAY-10
    1 03-JUN-10 04-JUN-10
    2 03-JUN-10 04-JUN-10
    2 04-AUG-10 04-AUG-10
    2 06-AUG-10 06-AUG-10
    I want like this.
    FID FDATE
    1 01-MAY-10
    1 02-MAY-10
    1 03-MAY-10
    1 09-MAY-10
    1 10-MAY-10
    1 11-MAY-10
    1 03-JUN-10
    1 04-JUN-10
    2 03-JUN-10
    2 04-JUN-10
    2 04-AUG-10
    2 06-AUG-10
    And:
    How can i get date wise entry from Joining date to relieving date like..
    FID      START DATE END DATE
    1 01-MAY-10 03-MAY-12
    1 09-MAY-10 11-MAY-11
    2 04-AUG-10 04-AUG-11
    I want like this.
    FID FDATE
    1 01-MAY-10
    1 03-MAY-10
    1 04-MAY-10
    1 05-MAY-10
    1 16-MAY-10
    1 17-MAY-10
    1 08-May-10
    1 09-May-10
    1 03-May-12
    Can you please help me.
    Thanks,
    Edited by: 978452 on Dec 24, 2012 12:02 AM

  • Print multiple page ranges based on radio button group choices

    Hi ... I have a PDF that is a combined application form made up of 6 separate forms. On the front page, I have 6 groups of "Yes / No" radio buttons.
    If the radio button for one or more of these groups is selected as "Yes" then when the Print button (on the page) is clicked then the appropriate page ranges will print.
    It is desireable, though not essential, for these to be printed in one print job.
    The Code I have been adjusting to try and achieve the result is below but I have tied myself in knots now and any help would be greatly appreciated:
    Many thanks
    //<AcroForm>
    //<ACRO_source>PrntForms:Annot1:MouseUp:Action1</ACRO_source>
    //<ACRO_script>
    /*********** belongs to: AcroForm:PrntForms:Annot1:MouseUp:Action1 ***********/
    var nButton = app.alert({
    cMsg: "Your selected forms will be sent to your default printer.\n\nIf you require to print to an alternative printer, press cancel and select 'Print' from the 'File' menu.",
    cTitle: "Submit Forms for Printing?",
    nIcon: 1, nType: 1
    // array for button responses
    //var aResponse = new Array("OK", "Cancel");
    if(nButton == 1)
    {    this.print({ bUI: false, bSilent: true, bShrinkToFit: true, nStart: 1, nEnd: 1 });
    } else
    if(nButton == 0)
    {    this.Exit
    var a_app;
    if(this.getField("AppForm1”).value=="Yes"){
        a_app = "1, 1";
    } else a_app = "0, 0"
    var b_app;
    if(this.getField(“AppForm2”).value=="Yes"){
        b_app = "2, 2";
    } else b_app = "0, 0"
        var pp = this.getPrintParams();
              pp.interactive = pp.constants.interactionLevel.full;
              pp.printRange=[[a_app], [b_app]];
              this.print(pp);
    //</ACRO_script>
    //</AcroForm>

    Hi Gilad D
    The 'printRanges.push' function works well on my Mac using Adobe Acrobat Pro XI however when it is used on the systems that the form users will be working on (which runs Adobe Reader 9.4.0.195) the ranges are not pushed to the printer dialogue box and the 'printRange'
    in the dialogue is still selecting the 'All Pages' radio button.
    Is the printRanges.push function a new and non-backwards-compatible function or is my code the problem
    //<AcroForm>
    //<ACRO_source>PrntForms:Annot1:MouseUp:Action1</ACRO_source>
    //<ACRO_script>
    /*********** belongs to: AcroForm:PrntForms:Annot1:MouseUp:Action1 ***********/
    var printRanges = [];
    if (this.getField("RBG10").value=="Yes") printRanges.push([0,2]);
    if (this.getField("RBG1").value=="Yes") printRanges.push([3,18]);
    if (this.getField("RBG2").value=="Yes") printRanges.push([19,27]);
    if (this.getField("RBG3").value=="Yes") printRanges.push([28,38]);
    if (this.getField("RBG4").value=="Yes") printRanges.push([39,42]);
    if (this.getField("RBG5").value=="Yes") printRanges.push([43,54]);
    if (this.getField("RBG6").value=="Yes") printRanges.push([14,16]);
    if (this.getField("RBG7").value=="Yes") printRanges.push([55,56]);
    if (this.getField("RBG8").value=="Yes") printRanges.push([57,65]);
    if (this.getField("RBG9").value=="Yes") printRanges.push([66,71]);
    if(printRanges.length>0){
       var pp = this.getPrintParams();
                pp.interactive = pp.constants.interactionLevel.full;
                pp.printRange=printRanges;
                this.print(pp);
    }else app.alert("No page ranges are selected");
    //</ACRO_script>
    //</AcroForm>
    Any assistance is greatly appreciated.
    Many thanks

Maybe you are looking for

  • PDF to

    Hello everyone, I've been using Adobe Acrobat Pro 9 to convert PDF files to PDF/a and recently added a batch process to take care of the task. Anytime the process is executed, a copy of the original file (the file being converted) with "_A1b" tagged

  • Error when emailing report

    I am trying to email generated report using infoview web UI. I am logged in as administrator. The destination plugin required for this action is disabled. If you require this functionality, please contact your system administrator.

  • Greenish tinge, added after render..

    I have a problem with a greenish color shift that takes place after render in color 1.0.1 my material was actuall digitized on a G5 with blackmagic decklink, then media manag'ed' to apple uncompressed 8 bit 422 on an external drive then copied to my

  • Contact sorting and nicknames

    I am one of those people who has a well organized Address Book so if need be I can print out nice formal address slips or when needed I have all my friends listed by their nicknames. Am I not finding the right settings page or isn't it possible at al

  • I am in the middle of an xcode project. Can I get back to summary?

    I am in the middle of an xcode project. Can I get back to summary?