Want to print the whole month with or without overtime for each employee

Hi,
I have Oracle forms/reports10g R2, Below query returns employee overtime correctly but I want to add the whole month with it in simple words if one employee have overtime for five days in a month I want the query to return the whole month including five overtime days for each employee and let say if we have ten employees query return whole month for each employee either he have or overtime or not how can I implement this in report it becomes agony for me, anyone please suggest a solution.
Thanks and regards, Khawar.
---Query---
select o.ot_date , o.start_dt_time as start_time, o.end_dt_time as end_time, o.ot_details, et.holiday, et.staff_id, e.staff_name, e.desig
from overtime o, emp_ot et, employee e
where o.complain_no = et.complain_no
and o.inc_type_code = et.inc_type_code
and et.staff_id = e.staff_id
order by 1, 2, 3, e.staff_id

Hi Michael,
Thanks for reply, I think I didn't explain as I should, I want to print Overtime report for each employee let say employee A123 did overtime for five days in DEC than what I want is to print report for employee A123 for the whole month means when I print report blank cell should come where A123 don't have data (I mean other 25/26 days).
The structure of tables are as
SQL> desc overtime
Name Null? Type
COMPLAIN_NO NOT NULL NUMBER(5)
OT_DATE NOT NULL DATE
START_DT_TIME NOT NULL DATE
INC_REF_NO NUMBER(5)
END_DT_TIME NOT NULL DATE
INC_TYPE_CODE NOT NULL VARCHAR2(10)
DISTRICT_CODE VARCHAR2(6)
BUSBAR_VOL VARCHAR2(5)
OT_DETAILS VARCHAR2(2000)
SQL> desc EMP_OT
Name Null? Type
STAFF_ID NOT NULL VARCHAR2(8)
COMPLAIN_NO NOT NULL NUMBER(5)
INC_TYPE_CODE NOT NULL VARCHAR2(10)
HOLIDAY NUMBER
Each employee associated with primary key i.e COMPLAIN_NO and INC_TYPE_CODE
in each OVERTIME table record we may have more than one employee in EMP_OT table.
above detail may clear my query.
Thanks and Regards,
Khawar.

Similar Messages

  • Print the whole site with one button

    Hi All
    This may sound like a stupid question, but
    I wonder if someone can help me, is there a way of having a
    button that would print the whole site - rather than separate html
    pages. - without having/using a pdf file .
    Regards
    Lorna17

    No.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "lorna17" <[email protected]> wrote in
    message
    news:eci4gv$h7l$[email protected]..
    > Hi All
    > This may sound like a stupid question, but
    >
    > I wonder if someone can help me, is there a way of
    having a button that
    > would
    > print the whole site - rather than separate html pages.
    - without
    > having/using
    > a pdf file .
    >
    > Regards
    > Lorna17
    >
    >
    >
    >
    >
    >

  • IPhone 4s updated with IOS 8. Not the calendar will not show a full list of dates. Instead it shows the whole month with the list of the day selected. I want to have my full list back. So much easier to scroll thru when making appointments.

    iPhone 4s just updated with IOS 8. Now my calendar does not offer the full list of items by day on the screen. Instead I see the month and below the month are the appointments in a list for the selected day only. I would like the option to have the full list available as it is much easier to scroll thru the list when making appointments.

    Hello memormor,
    Thank you for visiting Apple Support Communities.
    To see the full scrollable list of events, start from the day view (tap on a day), not the month view, then click .
    Calendar at a glance - iPhone
    View a list of events. In month view, tap to see a day’s events. In day view, tap .
    Take care,
    Nubz

  • HT4623 CALENDAR I wand the whole month to show with the list of activities to show under the whole month. How can this be done.

    How can you get the new calendar on the IPhone 5 updated to IOS7 to function like the old calendar showing the whole month with the activites under the calendar for the selected day.

    This is no longer an option.  You can get list view by clicking on the magnifying glass if you like.
    Leave feedback for Apple if you want:  www.apple.com/feedback

  • P.O. with different Tax codes for each line item.

    Hi
    I would like to know how the IV has been done for the P.O. with differnt tax codes for each line item. Since in MIRO at header level we can select only one tax code.

    Hi
    Raju,
    It means we can post only one invoice at time i.e.for line item same taxcode is there.
    e.g. If line item 10 has tax code A1, 20 has A2 then on header i can only select either A1 or A2 tax code & post invoice of that line item.

  • Account entries with excise & without excise for Subcontracting process.

    Please let me know the Account entries with excise & without excise for Subcontracting process.
    Regards
    PBR

    hi..
    check these links...
    Accounting entries for subcontracting
    and
    Subcontracting process with excise duty??
    It may help u..
    Thanks

  • Printing in list form , appointments ONLY in ical, not the whole month.

    Hi there, I have already done a quick scan of the net and I am unable to come up with a solution.
    All I want to do is be able to print out a list of appointments (with date etc) that I have made, not in month view, but just the dates with appointments in.
    Is there an App to do this? I have found ICalPrint but it wont let me try it as a demo.
    Please help, any help would be greatly appreciated.

    I just tried this for the first time lastnight and cannot believe how something so simple does not work. I have a calendar just for birthdays because I was working on a new iPhoto calendar. I wanted to print the list of birthdays and dates so I went to Print in iCal and saw the 'Print List' selection and thought that would work great.
    I selected 1/1/08 as the start date and then selected for 365 days expecting just a list of upcoming events in the calendar. Instead it wants to print page after page with every date on it for the next year even if there is nothing scheduled for that day. It just prints 'None'. How hard would it be to have it just print what is in your calendar for the next xx days. I think it would be handy to have a list of upcoming events printed out to glance at or mark up.
    I am glad I am not the only one that thought this was so simple, yet impossible to do. I hope it gets changed. Maybe with Leopard it will be different.
    - James

  • I have used the "description" spot in iPhoto for in-depth additional information for photos of my ancestors. Now I am wanting to know if there is a way to print the photos along with the descriptions; either photo by photo, or maybe more than one per page

    I have used the "description" spot in iPhoto for in-depth additional information for photos of my ancestors. Now I am wanting to know if there is a way to print the photos along with the descriptions; either photo by photo, or maybe more than one per page, or possibly in some sort of booklet format. Thank you very much.

    You can make a Book and have a photo on one side and your text description on the other.

  • How do I download only selected audiobooks from iTunes to my iPod.? I don't want to download the whole library..i have an iPod classic and Mac laptop with the latest ios.

    How do I download only selected audiobooks from iTunes to my iPod.? I don't want to download the whole library..i have an iPod classic and Mac laptop with the latest ios.

    If you check songs, simply sync the entire library.
    But I highly recommend (and it is far simpler) to create a playlist (or multiple playlists) and select only that playlist to sync.
    Leave everything checked.
    Then simply add/remove from these playlists and sync away.

  • I don't want to buy a calender I want to print the one I made on iPhoto with my own picture pages.

    I don't want to buy a calender I want to print the one I made on iPhoto with my own picture pages. There is also a problem with the cover page. Ihe title will not present the same in the source column as is on the larger picture, and It won't let me change it.
    Virginia

    Do NOT buy the book
    Preview the calendar exactly the same way you preview the book
    Preview the calendar the same as a book -
    or with really minor edits
    Preview the calendar using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF and print it
    LN

  • I am trying to print a pdf document from an electronic journal at my school, and i can only get it to print what is on the screen at the time i hit print.  How do i get it to print the whole document?

    how do i get it to print the whole article?  i don't seem to have a problem printing from my old windows laptop

    melbaby_3 wrote:
    when I clicked on your link and hit print, all pages were there!
    That suggests there's no problem with Safari or Quartz, the PDF rendering engine used by Safari, Preview, and other Mac applications.
    When I'm in the database and have the article open that I want to print, I click on the "full text in pdf" link and it opens in another safari window.
    Does the PDF in this other Safari window have all the pages? If yes, why don't you print from this window?
    It's very difficult to tell what might be going on if you don't give very specific details.
    For instance, in many reference databases, full-text articles are not free. You have to pay to view them, either article by article, or by subscription. Your school may have such a subscription, but, if it does, you probably need to access the database through the portal, web site, or facility provided by your school (your school's librarian should be able to help you with that). If you don't, the database has no way of knowing you have a right to view the full text, and may give you just a preview or the article's first page.
    Another possibility is that the database provides full-text PDFs in a format not compatible with Quartz, which may be able to render only the first page. But, in such a case, I'd expect Safari to print blank pages. If that's the case, you need to save the PDF on your hard disk and open it with Adobe Reader (Preview wouldn't work).
    There are other possibilities, but these two seem to me the most likely.
    Would I have to save it in preview first
    You should save the PDF on your hard disk from Safari. (I think you should do this anyway, just in case you need to refer to the article again later.) Instead of just clicking the  "'full text in pdf' link", press and hold Control, then click. This should give you a contextual menu; if the link points to a PDF file, you should see the commans "Save Linked File to 'Downloads'" and "Save Linked File As…". Use either, save the file, then, in Finder, double-click on it. Preview should open it.
    It is possible that the link is not to a PDF file, but to a script which fetches that PDF file for you. In that case, it's pointless to download it. Click on it, and then, if the PDF viewing window opens in Safari, move the cursor towards the centre of the bottom of the window. A bar with commands should appear; one of them will download the file to your Downloads folder.

  • How to print the whole JFrame

    Hi,
    I got this code somewhere from the net.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.print.*;
    /** A simple utility class that lets you very simply print
    *  an arbitrary component. Just pass the component to the
    *  PrintUtilities.printComponent. The component you want to
    *  print doesn't need a print method and doesn't have to
    *  implement any interface or do anything special at all.
    *  <P>
    *  If you are going to be printing many times, it is marginally more
    *  efficient to first do the following:
    *  <PRE>
    *    PrintUtilities printHelper = new PrintUtilities(theComponent);
    *  </PRE>
    *  then later do printHelper.print(). But this is a very tiny
    *  difference, so in most cases just do the simpler
    *  PrintUtilities.printComponent(componentToBePrinted).
    *  7/99 Marty Hall, http://www.apl.jhu.edu/~hall/java/
    *  May be freely used or adapted.
    public class PrintUtilities implements Printable {
      private JFrame componentToBePrinted;
      public static void printComponent(JFrame c) {
        new PrintUtilities(c).print();
      public PrintUtilities(JFrame componentToBePrinted) {
        this.componentToBePrinted = componentToBePrinted;
      public void print() {
        PrinterJob printJob = PrinterJob.getPrinterJob();
        printJob.setPrintable(this);
        if (printJob.printDialog())
          try {
            printJob.print();
          } catch(PrinterException pe) {
            System.out.println("Error printing: " + pe);
      public int print(Graphics g, PageFormat pageFormat, int pageIndex) {
        if (pageIndex > 0) {
          return(NO_SUCH_PAGE);
        } else {
          Graphics2D g2d = (Graphics2D)g;
          g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
          disableDoubleBuffering(componentToBePrinted);
          componentToBePrinted.paint(g2d);
          enableDoubleBuffering(componentToBePrinted);
          return(PAGE_EXISTS);
      /** The speed and quality of printing suffers dramatically if
       *  any of the containers have double buffering turned on.
       *  So this turns if off globally.
       *  @see enableDoubleBuffering
      public static void disableDoubleBuffering(Component c) {
        RepaintManager currentManager = RepaintManager.currentManager(c);
        currentManager.setDoubleBufferingEnabled(false);
      /** Re-enables double buffering globally. */
      public static void enableDoubleBuffering(Component c) {
        RepaintManager currentManager = RepaintManager.currentManager(c);
        currentManager.setDoubleBufferingEnabled(true);
    }From my main class (where the JFrame resides), the print() method is invoked to print the JFrame. However, when it is printed, it only prints the top left part of the JFrame, not the whole JFrame. Can anyone help please? Thank you very much.

    public int print(Graphics g, PageFormat pageFormat, int pageIndex) {
        if (pageIndex > 0) {
          return(NO_SUCH_PAGE);
        else {
          Graphics2D g2d = (Graphics2D)g;     
          g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
           double xScale = 0.63;
           double yScale = 0.56;
          g2d.scale(xScale, yScale);
          disableDoubleBuffering(componentToBePrinted);     
          componentToBePrinted.paint(g2d);
          enableDoubleBuffering(componentToBePrinted);
          return(PAGE_EXISTS);
      }Hi all,
    Alright I managed to scale it to print the whole JFrame. But another problem surfaces. When I select draft quality printing, it doesn't print the whole JFrame. Other printing qualities (standard, high) do print the whole JFrame. I am really puzzled. Anyone has any clue?
    And I have an unrelated question to this topic. How do I set a JTextField so that when I click on it the first time, it highlights its content? Have to work around with the mouselistener?
    Thank you.

  • How do i print out a menu list; I want to print the titles in my iTunes folder

    I want to print the titles in my iTunes folder, can you say how to do it?
    Grab only takes a screen grab.
    Copy and paste won't keep the albums together.
    iTunes album list is too many pages.
    Thanks

    I have found an answer in the finder and dock section which has allowed me to copy and paste into Word or Excel. It has not copied the format of the window, but with some work will let me print the lists:-
    Print a list of files and folders
        184 Views   2 Replies Latest reply: May 28, 2012 10:54 AM by BDAqua                             
            Level 1 (0 points)    jdrescher
    jdrescher May 28, 2012 9:18 AM  
    Dose anyone know an easy way of listing files and folders from a disk? I need an inventory of the names on some ZIP disks.
              Level 10 (171,925 points)     Niel
    Re: Print a list of files and folders     May 28, 2012 10:15 AM    (in response to jdrescher) 
    Find and open the Script Editor or AppleScript Editor in the Applications folder and run the following:
    do shell script "ls -R " & quoted form of POSIX path of (choose folder)
    Copy and paste the resulting text.                                                            (66765)
    BDAqua
    Re: Print a list of files and folders     May 28, 2012 10:54 AM    (in response to jdrescher) 
    You can also get TextWrangler...
    Drag any Folder, even a Whole drive to a new text window & get a list like this...

  • Is there a way to print the check register with the Text field

    Hi,
    Is there a way to print the check register with the Text field and also each item's Text field?"
    When we enter a invoice we enter a generic text on the Basic Data tab then enter a "+" on each individual line item which in turns defaults to the generic text. Just wanted to know if the check register could draw in the individual line item detail where we can enter text that relates to just that line item. Sort of like the MIR7 draws in the detail for each item.
    Kindly help me in full fill the above requirement.
    Thanks
    Sunitha

    Hi,
    Can any one help me on this issue?
    Thanks
    Sunitha

  • How can I print contiguous rows on a Numbers spreadsheet without having to print the whole spreadsheet page?

    I frequently have a need to print a portion of a spreadsheet for a presentation, but find that I have to print the whole spreadsheet page to obtain the information I want.  When I was using Microsoft Excel I could highlight a section of a spreadsheet and print only the highlighted rows.  Is there some way that I can do this in Numbers?  Help will be appreciated.

    Numbers differs significantly from Excel in the print paradigm.  If you enable Print View using the menu item "View > Show Print View", you will see exactly how each page will print.
    A Numbers document contains Sheet.
    Sheets contains a canvas, on which you place tables, graphics, text, and media.  The canvas is continuous and is divided into pages at print time.
    If you want to print just a portion of a table, select the area, copy, the open the Application Preview, select the menu item "File > New From Clipboard"
    Then print

Maybe you are looking for

  • Need digital video recorder

    I need a digital video recorder to work with a Sony lipstick cam. It doesn't have to be HD. I was using an older camcorder, but it died. Most new ones don't have this feature anymore. It doesn't have to be a camcorder, and it should be inexpensive cu

  • Adobe to Word FAIL

    Hello, i have tried to convert a pdf file into word and i get this text in the created word file: To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the latest version of Adobe Reader from www.a

  • Problem in Transaction CL24N

    Hi All When i want to configure value for release strategy using transaction CL24N and click only new assignment button it ask 2 option class and  release strategy by selection second option it comes to second screen. In this screen when is press rel

  • HELP--Thousands of Photos Mysteriously Lost on iPhoto on my Macbook!!!

    A few days ago my wife and I were looking at pictures on iPhoto and as of 10/23/13, when I opened iPhoto this AM, they are all GONE!!!!  I have NO idea what happened to them. Can anyone help me?

  • Eap-fast and cckm

    Is it possible to use eap-fast authentication with CCKM on 7920 phone with WLC. It is working when configuring 802.1x and wep 104 bits on controller but it does not work with wpa1+wpa2.