Sort of day events in calendar

Has any one been able to sort the items for a day? For example:
I have 4 lines for a day:
Shift 1 - 1
Shift 2 - 2
Shift 3 - 3
Shift 4 - 4
I've been unable to display the Shift in order. I have tried using Order by, but this does not help. Every Day seems to use it's own method for sorting.
Thank you

In the calendar attributes, you can set the display type to CUSTOM and enter your columns in the order you want:
#COLUMN1#
#COLUMN2#
#COLUMN3#
I am doing it slightly different in some situations and formating my columns as one in the query (may not be the recomended way of working) and this produces good results:
SELECT a.planned_shipping,
          CASE
             WHEN a.to_be_shipped > 0
                THEN    '<font CLASS="t10special_text_darkblue_bold">'
                     || 'Plan: '
                     || TO_CHAR (ROUND (a.to_be_shipped, 0),
                                 'FML999G999G999G999G990'
                     || '</font></br>'
                     || CASE
                           WHEN b.backlog_oh > 0
                              THEN    '</br>'
                                   || '<font CLASS="t10special_text_green_bold">'
                                   || 'OH: '
                                   || TO_CHAR (ROUND (b.backlog_oh, 0),
                                               'FML999G999G999G999G990'
                                   || '</font>'
                           ELSE ''
                        END
             ELSE ''
          END
       || CASE
             WHEN b.backlog_pf > 0
                THEN    '</br>'
                     || '<font CLASS="t10special_text_red_bold">'
                     || 'PF: '
                     || TO_CHAR (ROUND (b.backlog_pf, 0),
                                 'FML999G999G999G999G990'
                     || '</font>'
             ELSE ''
          END
       || CASE
             WHEN b.backlog_pp > 0
                THEN    '</br>'
                     || '<font CLASS="t10special_text_green_bold">'
                     || 'PP: '
                     || TO_CHAR (ROUND (b.backlog_pp, 0),
                                 'FML999G999G999G999G990'
                     || '</font>'
             ELSE ''
          END
       || CASE
             WHEN b.backlog_bl > 0
                THEN    '</br>'
                     || '<font CLASS="t10special_text_red_bold">'
                     || 'BL: '
                     || TO_CHAR (ROUND (b.backlog_bl, 0),
                                 'FML999G999G999G999G990'
                     || '</font>'
             ELSE ''
          END
       || '</br>'
       || CASE
             WHEN b.backlog_oh + b.backlog_pf + b.backlog_pp + b.backlog_bl >
                                                                             0
                THEN    '</br>'
                     || '<font CLASS="t10special_text_darkred_bold_14">'
                     || 'Tot: '
                     || TO_CHAR (ROUND (  b.backlog_oh
                                        + b.backlog_pf
                                        + b.backlog_pp
                                        + b.backlog_bl,
                                        0
                                 'FML999G999G999G999G990'
                     || '</font>'
             ELSE ''
          END RESULT
  FROM (SELECT   planned_shipping, SUM (item_sum_selling_price) to_be_shipped
            FROM syn_log_planned_shippings_vu
        GROUP BY planned_shipping) a,
       (SELECT TO_DATE (SYSDATE, 'dd.mm.yy') planned_shipping, backlog_bl
          FROM syn_log_backlog_vu) b
WHERE a.planned_shipping = b.planned_shipping(+)You can have a look here:
http://allyoucanupload.webshots.com/v/2005693714717713130
Denes Kubicek

Similar Messages

  • Easy way to enter multi-day events in Calendar 7.0 (Mavericks)?

    I need to create a bunch of multi-day events in Calendar (7.0 under Mavericks)
    I think that I had discovered an easy way to do this under Mountain Lion -- double click on the day in Month view, type the name of the event, then type a date range, and hey! Presto!! Calendar created the multi-day event without my having to move the cursor and click to select start and end days in the little calendars.
    I can't make that work w/ Calendar 7.0 under Mavericks -- has this changed?  I've tried all variations of dates that I can think of - just the numerals for the days (13-19); numerals for month & days (7/13-7/19); including the year (7/13/14-7/19/2014); month names instead of numerals; with and without spaces around the hyphens..
    I had Mountain Lion for only a couple of weeks on a new computer before I upgraded to Mavericks, so I don't remember exactly what I'd done in Calendar to enter all the info after double-clicking on a day & have the multi-day entry be created automagically
    Thanks for any help
    (I'm tying to find any reasons for keeping on using Calendar. I've used iCal for 10+ years to organize myself and my household, but I'm having a REALLY hard time w/ Calendar 7.0 under Mavericks -- no lines between days in month view makes it really hard to tell at a glance which events are on which days, especially if there are a lot of mult-day events; time for timed events after the event in smaller & pale gray letters is hard to see; little colored dots next to events are almost impossible to tell which color so which calendar an event belongs to (I have 11 Calendars); ...)

    Tyrone,
    The week view affords some of the capability that you are looking for.
    Experiment with these suggestions:
    1. Select the week view.
    2. Choose the number of days that you want to display by selecting (Option +  + 1), (Option +  + 2), (Option +  + 3)...and so forth for the number of days desired for a week display of 1/2/3/4/5/6/7 days. Make sure the mini calendar window is displayed and you will see the number of gray days change accordingly.
    3. Create a new item on Wednesday (Double click on the start point) and drag to your desired length, and if the event falls over the weekend change the display length as indicated in step 2 above, and drag the event to the end time.
    Let me know if you get the hang of what I am trying to describe. It is easier to accomplish than it is to describe.
    ;~)

  • Latest Organizer update in the Blackberry Desktop Software does not sync Outlook 'all day events' in Calendar properly

    On my Blackberry Torch 9810:
    When syncing with Microsoft Outlook 2007 for an 'all day event' in Calendar, Outlook stores the appointment as from 12:00am to 12:00am so Blackberry Organizer thinks it is an appointment for 2 days rather than one.
    So for example if you make an 'all day event' entry for Feb 25 in Outlook, Blackberry Organizer syncs it on the device as an "all day event" on Feb 25 and Feb 26.  Very annoying indeed!
    Technically Outlook should store it as 12:00am to 11:59pm for a one day
    event.    But since they don't, I hope Blackberry will fix Desktop Organizer
    Software to cope with this issue and send out a new update!
    Does anyone know anything about this?

    I was getting a similar problem... birthday and anniversary and some other all-day events (but not all!) in Outlook were being set to either 1pm-1pm or 2pm-to-2pm, from the day before to the day of the actual event.  e.g. my New Years Day event was being set as starting 31 Dec 1pm and ending 1 Jan 1pm.  The 2pm vs 1pm difference seemed to correlate to the times of the year without/with daylight savings.
    Presumably I'm seeing 1pm or 2pm and not 12am-12am due to my own time zone (GMT +10).
    I made the change recommended by Bifocals and it has fixed this problem.  However, I did need to -manually- go through and change all the events in Outlook back to be proper all day events - that did not happen automatically.
    For those (like I was) wondering how to set the "the corresponding options on the Blackberry"... you open the Blackberry Calendar, then hit the application button, then scroll to Options then General Options.  The Start of Day and End of Day settings are what need to match Outlook.  FYI, I have a Bold 9000 and am using Outlook 2007.
    I'm really hoping that when I next upgrade my Blackberry software that it retains this setting change.  I find it really annoying that some (or all?) other settings (e.g. Mobile Network: Data Services & While Roaming) are reset to defaults on every software upgrade, meaning I have to remember what I set and to go back and set them again after an upgrade.  Grrrrr.....

  • Duplicate all-day events on calendar

    I noticed that on my iPod Touch calendar, all of my all-day events go on for two days. For example, a person's birthday is showing up as going from Dec. 1-Dec. 2. On my computer's iCal, all of my all-day events look normal. What could be causing this?

    I've had this happen to some of my all day events also. Somehow the events end up going from 11pm to 11pm (instead of 12am to 12am) and thus they span two days.
    I'm still not entirely sure what has caused this. I've also had some of these events (these are mostly recurring events, like birthdays) that have ended up on a different day entirely - June 6 instead of October 31, for instance. In those cases the Recurring Event props got changed from a specific date to 'third Wednesday' or some such.
    I have had to edit manually in Outlook -- if they say 11pm to 11pm, change it to 12am instead. And check the recurring props to be sure they are correct.
    You might also want to check your location settings. I have sort of wondered if this has to do with location as I had it set to Indianapolis (which only started observing DST last year - maybe that isn't factored into the software yet?) and wondered if that is what messed things up, since all day events did shift by 1 hour. I have location set to New York now but can't prove that fixed anything -- I found a few more events messed up today, but then just now remembered to check World Clock, and it was still set to Indy. <shrug>
    Judy

  • Use multiple day event in Calendar region

    I am using a Calendar region in my application. One issue i have run into is, some of my events are multiple-day events, such as a conference. The calendar application does not seem to be able to deal with multiple-day events. It takes one date as the date. There doesn't seem to be any way of dealing with multiple day events. In my case, I have 2 date fields in my table associated with my calendar - a starting date, and an ending date.
    Has anyone found a way to deal with this situation? I don't want to have a separate entry for each date of the event. I'd like to be able to use my start date, and ending date fields.
    Thanks,
    John

    Scott,
    I took the SQL you used in your trigger and substituted my table names and fields. I am getting 3 errors. Here is what my code looks like after the substitutions (my table names are 'meetings_tbl' and 'meetings_tbl_cal'):
    CREATE OR REPLACE TRIGGER ai_meetings
    AFTER UPDATE OR INSERT ON meetings_tbl
    FOR EACH ROW
    DECLARE
    l_date_diff NUMBER;
    BEGIN
    IF UPDATING THEN
    DELETE FROM meetings_tbl_cal WHERE m_id = meetings_tbl.m_id;
    END IF;
    l_date_diff := meetings_tbl.meeting_end - meetings_tbl.meeting_start;
    FOR x IN 0..l_date_diff
    LOOP
    INSERT INTO meetings_tbl_cal
    (m_id, meeting_date)
    VALUES
    (meetings_tbl.m_id, TO_DATE(meetings_tbl.meeting_start + x));
    END LOOP;
    END;
    I am getting 3 errors:
    1) PL/SQL: ORA-00904: "MEETINGS_TBL"."M_ID": invalid identifier
    2) PLS-00357: Table,View Or Sequence reference 'MEETINGS_TBL.MEETING_END' not allowed in this context
    3) PL/SQL: ORA-00984: column not allowed here
    Maybe I'm not supposed to substitute ':NEW' with 'MEETINGS_TBL' ??
    Thanks for your help!
    John

  • Delete all-day events in calendar

    Hi,
    The iCal on my MacBook Pro and iPhone syncs all-day events and now I have hundreds of duplications appearing. Is there a quick way to delete all the repeated entries. It takes forever to do it manually.
    Many thanks,
    Trond

    Go to www.icloud.com and see how many calendars are there.

  • All day events in calendar are gone. how do i retrieve these data?

    this happened after updating to iOS7. unfortunately, i can not find the information and these were all my birthdays and important reocuring events.

    I lose my data every time we have a new year!  I lost all my upcoming appointments and had to call to find out when I had to go to doctors, vets, etc. Or when workmen are scheduled to come to my home.  I am VERY frustrated with it!

  • Yosemite Calendar - All day events are not showing

    I have been using  Apple Calendar for quite some time but after I upgraded to Yosemite All day events does not show in the calendar any more. Other events in my calendar is showing.
    Environment:
    1: I'm on Macbook Pro Retina, running Yosemite 10.10.1
    2: Calendar is version 8.0 (2026)
    3: I am using Google Calendar, added as account to Calendar
    Problem/Bug:
    This has been working fine on Maverick until this upgrade and I think it is a bug in Calendar.
    1. I tried to add an all day event from Calendar, using my Google account calendar
    2. Event is saved, but once saved it isn't shown in Calendar.
    3. When I login to my Google account calendar, the event I created just created is shown nicely there!
    I then tried adding a new calendar using my iCloud account, but same thing happened:
    1. I tried to add an all day event from Calendar, using my iCloud account calendar
    2. Event is saved, but once saved it isn't shown in Calendar
    3. I once again try, this time by logging into my iCloud account, the event I created just created is shown!
    This is really weird and a major issue as all-day events are kind of important to see when you are planning and scheduling meetings.
    One additional thing, I'm not sure if it is related, I have Time zone support turned on as I am working across multiple time zones.
    Anyone else that have encountered this?
    Thanks in advance.
    // Per

    I  have the same proble. In all views all day events don't show up. If I search for the event, there is a result but it does not appear in the calendar.

  • Why can't I create all day events on my phone in calendar anymore?

    I used to be able to create all day events in calendar on my iphone 3 but now I can only do this on the computer.

    I have that problem too, every since 1.1.3 update this is been a problem , I thought it will be fix with the new update 1.1.4, it still the same, why won't they fix it. what the point of having ringtones, if you can't keep them in the phone. I'm so upset, when is apple going to fix this.

  • Outlook 2007 and iPhone Calendar All-Day events not displaying correctly

    I recently took the 3.1.3 update for my iphone and have since noticed that syncing all-day events from my Outlook 2007 exchange environment to the iphone is not working correctly. The all-day flag on the iphone is not being checked, thus the event shows up all over the calendar instead of just a single item at the top of the calendar. This only happens for multi-day events. Single-day, all day events show fine. Here's the tests I did:
    1. Created a single day, all-day event for tomorrow June 18 in Outlook 2007. Made sure that they all-day checkbox was checked in Outlook. Waited for the sync and it shows up fine in iPhone calendar. There is a single line at the top of the "Day" view that lists the event. When you look at the event, the all-day checkbox is checked in iphone calendar.
    2. Next I updated the event in Outlook to make it a multi-day, all day event. I changed the end date to be June 19. I made sure to leave the all day checkbox checked in Outlook. Once synced, the all day checkbox on the iphone is now unchecked and as a result the event takes up the whole "Day" view for both days.
    Is there a solution for this? Only seen this since I updated to the 3.1.3 firmware. All events show up the right way in Outlook. It is only the iPhone calendar that shows them wrong. Thanks in advance for any help.

    Same problem here.
    All Day events entered in Outlook 2007 on my work machine that have ALL DAY checked and are only on that ONE Day, seem to come out fine. If however we have an all-day event that goes multiple days, then it enters it on my iphone taking up 00:00-00:00, which is very messy if you have two ALL-day envents on the same day (when tracking different personnel for example).
    I have noticed the real annoying item though is that changing it on my iPhone 4 directly, that once I put in the right start and end dates, and choose ALL DAY, about 5 seconds later it actually changes the START DAY! This makes you go back to change the start day, then it changes the end day so you change that, and now finally all sorted.
    This NEVER happened on my iPhone3G that I have used with Excahgne for over two years now. Only since I got my iPhone4.
    PLEASE Apple, fix this!!!!

  • Calendar display issues for "All Day Events" coming from Exchange Server

    My problem is with the display of All Day events. I'm running a 3gs, Outlook 2007 on winxp, connected to a Exchange 2007 server. When an all day event is put in for multiple days the phone calendar displays it as starting at midnight going to midnight, and sometimes wont display the event on the list view on the phone. I can correct the display by editing it on the phone and making it all day there, but then the category I assigned the event in outlook goes away in outlook. All day single day events work just fine. Any suggestions?

    Sort of same issue:
    All day events scheduled from Entourage display incorrectly on iPhone/iPad as non-all-day events (which block out entire day/multiple days)
    All day events scheduled from iPhone/iPad show up correctly in Entourage as all-day events, but incorrectly with an *extra day* added.

  • In ICal is there a way to see all of the text in all day events on the month view of the calendar.  Seems to wrap text only if there is a time on the event

    In ICal is there a way to see all of the text in all day events on the month view of the calendar?  Seems to wrap text only if there is a time on the event

    The paths won't agree on the two OSs so a simple XML import isn't likely to work.
    See Sync iPod/iPad/iPhone with two computers and, if needed, Make a split library portable. The techniques in the first link will work when moving the library between Windows and OS X as long as the library is "portable", but iTunes takes quite some time checking the database when the library is opened under a different OS.
    tt2

  • Old All-Day events not showing in Calendar List View

    Reviewing events in my Calendar on the iPhone and have noticed that All Day Events that are older than one year do not show in the "List" view
    For example, I have all my holidays in a calendar called "Vacation". Month and Day view list holidays from earlier than today (09 Sept 2008) properly, however list view shows nothing. Timed events (e.g. day trips) in the same calendar show.
    Similarly no Birthdays appear in the past. I can see a case for Birthdays being omitted in the past, but not other events (e.g. wanting to know exactly when you went to that all day wedding last summer)

    I have this same exact problem. For me, past events that have a specific time associated with them show up in List view; however, past events that are all day events only show in List view once in a blue moon only. Apple support has been absolutely clueless about this issue. They just tell me it's weird and they have no explanation. It's unbelievably annoying though.

  • Multiple lines of event title and location failed to show for All Day event in SharePoint 2010 Calendar

    I have a calendar with SPD workflow to display multiple lines for Title, Attendees, Location.
    1. Created a custom columne "Breaklines" and set to "Multiple lines of text"
    2. Set Monthly View to display the "Breaklines"
    3. in SPD I created a workflow like this:
    4. On the Calendar page, I used a javascript to remove the <br/>
    <script src="http://code.jquery.com/jquery-1.10.2.min.js"
    type="text/javascript"></script><script
    type="text/javascript">
    function updateCalendarWeekday()
       $('.ms-acal-title').each(function(){
        var str = $(this).html();
        str = str.replace(/&lt;/g,
    "<");
        str = str.replace(/&gt;/g,
    ">");
        $(this).html(str);
    _spBodyOnLoadFunctionNames.push('calendarEventLinkIntercept');
    // hook into the existing SharePoint calendar load function
    function calendarEventLinkIntercept()
       var OldCalendarNotify4a
    = SP.UI.ApplicationPages.CalendarNotify.$4a;
       SP.UI.ApplicationPages.CalendarNotify.$4a
    = function ()
          OldCalendarNotify4a();
          updateCalendarWeekday();
    }</script><style>
    .ms-acal-item
                    HEIGHT:
    60px !important
    .ms-acal-summary-itemrow
                    HEIGHT:
    85px !important
    }</style>
    Everything works fine, except that when the All Day event is checked, the display screwed like this:
    I guess that when the event is All Day Event, the Start Time and End Time is not filled by the user (although they show in the form as 12:00 am -11:59PM), so the top line space is now used to display Title and Location. Since the Top Space for
    Start and End Time is a single line, it displays everything on one line. Plus the script does not act on this space.
    Does anyone know a fix for this problem?
    Thanks for any tips!

    Is there a way to modify the javescript so that it also works in the "start-end time" space?

  • "All Day Events" Do Not show up in wiki calendar

    Hello;
    Anyone find out how to solve this problem? I have a 10.5 ical server. Extensive use of calendars both individual and group. Users have access to wiki calendars from ical on their macs. The intention is to allow users of other operating systems to view wiki calendars however none of the all day events display at all on web page/wiki calendar.
    Thanks.

    Hm, I opened it up in Aperture once, but I recently (re-)arranged all events in iPhoto. I had the full hierarchy in there and did not work in Aperture. I just had to recreate the library and after that the events were gone.

Maybe you are looking for