Sorting calendar data

Having a problem with a monthly ApEx calendar...
The data returned is correct, but seems to be in a random order. The date field being used is simply a DD-MON-YY format and I don't care about time at all. The query being used to return the data is here:
select a.ocd, a.group,
a.group||'(group 1)'||(select first_name||' '||last_name from contacts where id = a.group_id) grp1_name,
a.group||'(group 2)'||(select first_name||' '||last_name from contacts where id = a.group_id) grp2_name
from ocd_table a order by a.group||a.ocd
Where "ocd" is the date field. It doesn't seem to matter how or what I sort by, the calendar just scrambles the data when it displays it. It's problably related to a date format somewhere in the calendar defaults, but heck if I can find it.
Is there any real place to add sort clauses to calendar data?

I'm also having a problem with the sort order of a sql calendar region, but only on apex version 3.2.
The calendar is seemingly ignoring the "order by" clause specified in the regions sql source.
Please see following example: http://apex.oracle.com/pls/otn/f?p=46954:1
Look in Month of July (is the only month with data currently).
The source sql for the region is as follows:
"SELECT
DATE_KEY,
TO_DATE(DATE_KEY,'YYYYMMDD') CAL_DATE,
RESORT_ID,
PROPERTY_ID,
PROPERTY_NAME
FROM CALENDAR_DEBUG
where resort_id=102
order by property_name desc"
The display field for the calendar has been set to "PROPERTY_NAME".
You can see that the items on the calendar are not sorted in descending order as specified in the sql query.
I have an apex 3.1.2 environment where this behaviour does not happen - the sort order works perfectly according to the source sql.
Is this an acknowleged issue with version 3.2 ?
Thanks
Jamie

Similar Messages

  • Some calendars in iCal appear corrupted but OK on iPhone. If I sync will the calendar data on the phone restore info on the desktop iCal? any other ideas for how to sort this please?

    Some calendars in iCal appear corrupted (ie have red exclamation mark by them) but are still OK on iPhone. If I sync, will the calendar data on the phone restore info on the desktop iCal or will I lose that as well? Or could I back up the calendars on my iPhone somewhere and then import them into iCal? any other ideas for how to sort this please? it's driving me mad. thanks.

    I don't think there will be a solution to this. Exchange 2003 just isn't supported.

  • Recovery of Calendar data lost when Merging with iCloud

    I Was wondering if anyone could help.
    Basically, I have somehow managed to wipe ALL the entries from my partners iPhone 5c calendar when turning calendars on for iCloud. When prompted I pressed the merge calendars button and then everything disappeared. I turned iCloud calendars off again and the calendar which was called something like "on my iphone" has disappeared.
    I downloaded some 3rd party software which scanned the phone and found the calendar entries, but to restore them would cost my £55 for the full version of the software. Is there a way to access this data and restore it without spending this sort of money?
    Just to complicate matters, a backup of her phone hasn't been done since the start of june, roughly 7 weeks ago. I'm concerned that if I restore from that backup she'll lose contacts she's added since there along with saves and other updates she's made to apps on her phone, which will put me in even more trouble than I'm in already. I'm guessing the phone hasn't been synced with iTunes since this backup was made, although I have transferred recent purchases.
    So, is there a way to recover the calendar data that has disappeared without losing anything else?
    Thanks for for your help

    Hi
    No I hadn't created a Calendar Archive before this mishap (I will now), and I thought it would be covered by the Time Machine Backup.   I was activating my iCloud drive for the first time and I think that it was doing this that somehow lost the calendar data. Previously the Calendar data was on the Mac hard drive.
    I have now managed to get the old calendar back, but I don't quite know how.
    The links to calendar backup in your reply led me to tinker more with the Time Machine, and the data on the My Passport drive directly. I could not see the any calendar directly in Finder or Time Machine, but a Finder search on My Passport's latest backup showed various calendar stuff, including .ics files, in [users/myname/library] which were hidden.
    I either restored one of these, or imported one via Calendar. I tried both, but neither seemed to work at the time. However, I reopened Calendar a some time later and found that the “lost” calendar had returned.
    I couldn't find a way of revealing hidden files in the preferences, and I think that the library containing the Calendar files must be hidden because I could only see them via “search”.
    Anyway, all's well that ends well, but I wish that I really knew how I fixed it. Thanks for your help.

  • Calendar/Date component, is there?

    Hello,
    Does Swing have sort of a biuld-in Calendar/Date/Time component?
    I want to make a Swing planner with calendar, so I can choose a date from some sort of a visual Calendar
    Any help would be great!
    Thanks!
    - Tomas

    Nope. Swing doesn't have this. Search google for JCalendar

  • Can't sort by date created in Bridge

    I have raw files from two photographers that covered the same event. When I combined them in a folder in Bridge and apply view >sort>by date created, the images are only arranged in chronological order within each photographer's photos and not as a whole. How can I get both groups of photos to sort together by date created?

    It should work as you expected, that is if both have correct time settings
    in their dSLR set.
    First try the purge cache for folder option, while pointing Bridge at the
    problem folder go to the menu tools/cache/purge cache for folder and let the
    cache build again for the files in this folder before you give it a try.
    How can I get both groups of photos to sort together by date created?

  • I just upgraded to the latest version of iTunes and it duplicated virtually every track in my music library. I need a quick way to delete the duplicates. Sorting by "Date Added" will not help because they are all listed as added on 12/12/2011.

    Library Duplicated
    I just updated to the latest version of iTunes and it duplicated virtually every track in my library. I need a quick way to delete the duplicates. Sorting by "Date Added" will not work, because every track is listed as added on 12/12/2011 even though this happened today 12/19/2011.

    I've written a script called DeDuper which can help remove unwanted duplicates. See this  thread for background.
    tt2

  • I have downloaded and installed the latest version of numbers on my mac. Everytime I save and then try to reopen that document, I receive a message telling me that I need a new version of numbers. Also, when I try to sort the date column, it sorts out of

    I have downloaded and installed the latest version of numbers on my mac. Everytime I save and then try to reopen that document, I receive a message telling me that I need a new version of numbers. Also, when I try to sort the date column, it sorts out of order. The last version sorted fine.

    Welcome to Apple Support Communities
    When you install the new iWork version, the old iWork version is kept, so it looks like you are opening your old version.
    To fix this, open a Finder window, choose Applications in the sidebar and drag the new Numbers version to the Dock, so you can access to it quickly. Open all documents from this version. I don't recommend you to delete the old Numbers version in case you need it.
    Respecting to the second question, you will get better answers in the Numbers for OS X forum

  • How can I get missing contacts, notes, calendar dates and reminders that are just on my old iphone onto the iCloud for transfer to my new iPhone upgrade?

    Dear wise & wondeful people:
    How can I get missing contacts, notes, calendar dates and reminders that are just on my old iphone onto the iCloud for transfer to my new iPhone upgrade? Half of my contacts, notes, ect. were on my iCloud so have happily moved to my new iPhone but the rest are completely resistant. For example, on my iCloud I have 14 missing contacts starting with the letter A alone, however they are happily viewable on my old iPhone 4S and won't budge over into the iCloud.
    There are also 3 notes missing yet still acessible on my onld iPhone 4S, the list goes on.
    Your help would be most appreciated. Thank you so much.
    BCHR

    Hi BCHR,
    If you are having issues transfering your content from your old iPhone onto iCloud so it can be transfered to your new iPhone, you may find the following articles helpful:
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    iCloud: Troubleshooting iCloud Contacts
    http://support.apple.com/kb/TS3998
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/TS3999
    iCloud: Notes overview
    http://support.apple.com/kb/PH12081
    Regards,
    - Brenden

  • ITunes Calendar data doesn't match Outlook's.  How can I fix?

    I have a new iPhone and just recently discovered that the Calendar is not updating, 
    probably since the first time I synced.  And even then it was using old calendar data which 
    doesn't currently show up in Outlook.   (Contacts sync perfectly.)  Applecare took me 
    through their 1st and 2nd-level support troubleshooting and said they couldn't do anything more.  
    They suggested possible corruption of outlook.pst. 
    One glaring example: I used to have 3 calendars in Outlook: "Bridge", "Calendar" and 
    "Others".  I recently deleted all but the one called Calendar, but all 3 still show up in 
    iTunes, even though I've uninstalled/reinstalled iTunes twice.  Only "Calendar" shows up on 
    the iPhone, but it has old data.  I think the data it's displaying has not been refreshed 
    since 9/23/11, when I moved the outlook.pst file to a location in My Documents for easier 
    backup, but that doesn't really make sense since the Contacts update just fine.  (I've had 
    an iPad for about a year, and it's behaving the same as the iPhone now; the Calendar used 
    to update properly.)  Another possible clue: the iPhone shows two instances of one 
    particular recurring appointment.  I don't recall ever having two instances of it in 
    Outlook and wonder if that could be the problem.  I removed it altogether from Outlook and 
    that didn't help.
    I've done extensive testing with a new Windows user account and Outlook, and the calendar 
    syncing seems to work fine.  I've Googled "iPhone calendar won't update" and similar and
    haven't found anything that works for my situation.
    I'm running Office 2003 on Windows XP.  I do NOT use Outlook for mail.

    I was having the same problems after downloading 10.4.1 IStore would only download half way then nothing attempted reinstall no goood checked the Diagnostics with IPad connected, indicated no errors. more than a few hours browsing possible solutions. Found one stating 'Remove all Itunes connected software, i.e. Bonjour, ITunes, Safari etc from PC via the Uninstall Safely Feature and ReInstall. Hey Presto it worked now no issues.
    Good Luck. I am using Windows 7.
    That's my problem exactly, but I can't find the: ''Uninstall Safely Feature and ReInstall''. Where is that??
    Thank You

  • In iPhoto if I select View, then Sort Photos by title, how do I stop it reverting to sorting by date when I close iPhoto and re-open it later?

    In iPhoto if I select View, then Sort Photos by title, how do I stop it reverting to sorting by date when I close iPhoto and re-open it later?

    In what mode, Events, Photos or in an Album, are you when you select View ➙ Sort ➙ By Title?
    As a first fix attempt try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
    or with Mt. Lion from the User/Library/Containers/com.apple.iPhoto/
    Data/Library/Caches/com.apple.iPhoto folder
    3 - launch iPhoto and try again.
    NOTE 1: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

  • HELP - I've lost all my Calendar data, most of my Notes, and other issues

    In priority order:
    1.  Sometime in the last two days my iPhone 4S, with IOS 7.0.4, lost all my Calendar data except birthdays from Contacts.
    2.  Most of my Notes are lost except those from PC.
         WRT the above, iPad data is still intact.  
    3.  IOS 7.0.4 crashes apps A LOT! Even Apple apps.
    4.  IOS 7.0.4 is slow.

    Resolved items 1 & 2 by rebooting the phone.  I am happy that it resolved, but it shouldn't have happened n the first place.

  • HT1296 I have a problem synching calendar data between my iPhone 3GS iOS 5.1 & Outlook 2007 on MS7.  The basic calendar is OK but the birthdays (little box icon) are a day early & cannot be changed to the correct date. How can I fix this?

    I have a problem synching calendar data between my iPhone 3GS iOS 5.1 & Outlook 2007 on MS7.  The basic calendar data transfer is OK but the birthdays (little box icon) are a day early & cannot be changed to the correct date. The birthday entries in my Outlook contacts have correct dates.How can I fix this?

    The following peocess corrects the calendar entry:
    edit the contact & change the birthday, save the change; edit the contact & change the birthday to the correct value, save the change again. The calendar entry then displays on the correct date.  Alternatively as a temp solution I can just de-select the "birthdays" calendar which stops the icon being displayed.
    Thanks for your advice, I think that it's n going to be a slow process to fix all the entries for not much return.

  • IPhoto, sort by date is not a true date/time sort

    In iPhoto, sort by date is not a true date/time sort.  If you have two cameras with there own naming convention iPhoto sorts filename by date separating the two cameras in the view. Is there a way to sort by DATE&TIME ONLY?

    Using two cameras using iPhoto to upload pictures.
    Both cameras are set to the correct time and date.
    Connect camera ONE filenames IMGP0101
    By default:
    No event name
    Split events checked
    Select import 12 photos
    Creates events:
    Untitled event December 27, 2013
    In order by time
    Untitled event December 28, 2013
    In order by time
    Untitled event December 29, 2013
    In order by time
    Untitled event December 30, 2013
    Connect camera TWO filenames IMG_1101
    By default:
    No event name
    Split events checked
    Select import 12 photos
    Creates events:
    Untitled event December 28, 2013
    In order by time
    Untitled event December 29, 2013
    In order by time
    Untitled event December 30, 2013
    Now I have 2 events for each of December 28, 29 and 30 they are not all under the same event name. My only option is to click and drag the pictures from the second set of events to the first set of events then they are in order.  This is a real pain to do.  There needs to be a way to reset the event dates so all pictures from both cameras end up in the right event date.

  • Working day to factory calendar date

    Hello Experts,
    I wish to get the factory calendar date, specific to a factory calendar, based on a working day.
    Basically, if i pass say 4, then i want to get the date for the 4th working day based on a specific factory calendar.
    Can someone throw some light on possible function module that i can use in BW ?
    Thanks

    That's what I was giving you, you give the working day and the factory calendar and you get the date, or you can use this function and you can do it the other way:
    (Unless I'm completely missing your point here...)
        CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
      EXPORTING
        CORRECT_OPTION                     = '+'
        DATE                               = G_WORKAREA3-CREATEDON
        FACTORY_CALENDAR_ID                = L_S_PLANT-FACTCAL_ID
      IMPORTING
    *   DATE                               =
       FACTORYDATE                        = L_FCDATE
      EXCEPTIONS
        CALENDAR_BUFFER_NOT_LOADABLE       = 1
        CORRECT_OPTION_INVALID             = 2
        DATE_AFTER_RANGE                   = 3
        DATE_BEFORE_RANGE                  = 4
        DATE_INVALID                       = 5
        FACTORY_CALENDAR_NOT_FOUND         = 6
        OTHERS                             = 7.
      ENDIF.

  • ICal sycing calendar dates to iPhone

    Hi,
    When I plug the iPhone into the mac via USB and open iTunes, the calendar dates in iCal do not get synced across. I have gone into iCal and looked for a way to send dates to the phone, but without success. Can anoyone help, please? iTunes does send contacts - just not iCal dates.
    Thanks!

    I finally got it fixed with a little help from some related posts online.
    - Delete any files with 'cache' in the name that are in ~/Library/Calendars
    - Launch iSync, go to Preferences, and do Reset Sync History
    - Log out and log back in
    I don't know if it's one or both of the first two items, but it did the trick.

Maybe you are looking for

  • Printhead issues with HP Officejet Pro X476dw MFP

    I have a HP Officejet Pro X476dw MFP at my home office that I use for when I work from home. The printer was purchased about 8 months ago but get very little usage as its just used by me a couple of days a week at most when I stay home and work. I fr

  • RE.Can We do (MIGO) Batch No based Logistics Invoice Verification(MIRO)

    Dear All While doing invoice verification reference to MIGO Doc. we are not able to see Vendor Batch No field in MIRO Screens. I.e Item No. 10  100No's as per DC/Invoice Received stores were Accepted. But in Production QC Accepted 80 No's 20 Rejected

  • My Acrobat X, version 10.0.0 upgrade fails?

    I am running Windows 7, Pro-64 and when I attempt to install an update it fails due to lack of administrative control, even though I log out as me and back in as the administrator.

  • Strange link behavior

    I am working on a website for and open file report at work using the dreamweaver software. I checked the site in dreamweaver to make sure all links were working using "check links sitewide" so I know the image links are working locally. I copied the

  • Delete histroy of a table

    Hi Experts, Is there any way so that i can see which user has deleted the data of my table. Actually sometime ago i had few data in emp table but now i can't see any of them. Could you please tell me how can i see the user who has deleted the data. R