Creating recurrance in a calendar

Does anyone know the best way to create a calendar that can display the title of an event if you know the events start date and end date?
The only thing I can think of, and I've not done it yet, is to create a collection that before the header using a pl/sql block to load all the possible dates and then query off of that.
Is this going to work? Is it the only way? Is there a better way? Am I stupid??? ;)
Thanks for any help.

I think, I have answered this question in the past:
CREATE TABLE scheduled_classes( title VARCHAR(50), start_date DATE, weeks_count NUMBER);
INSERT INTO scheduled_classes
     VALUES ('Salsa', '01-JAN-07', 6);
INSERT INTO scheduled_classes
     VALUES ('Flamenco', '08-JAN-07', 8);
INSERT INTO scheduled_classes
     VALUES ('Cha Cha Cha', '16-FEB-07', 6);
CREATE OR REPLACE VIEW scheduled_classes_v
AS
   SELECT title, start_date, start_date + (weeks_count * 7) end_date
     FROM scheduled_classes;
CREATE OR REPLACE TYPE session_rectype AS OBJECT (
   session_date   DATE,
   title          VARCHAR2 (50)
CREATE TYPE session_table_type AS TABLE OF session_rectype;
CREATE OR REPLACE FUNCTION return_table_fn
   RETURN session_table_type
/* CREATE OR REPLACE TYPE session_rectype AS OBJECT (
   session_date   DATE,
   title          VARCHAR2 (50)
CREATE TYPE session_table_type AS TABLE OF session_rectype;
AS
   v_data     session_table_type := session_table_type ();
   v_cnt      NUMBER             DEFAULT 0;
   v_date     DATE;
   v_days     NUMBER;
   v_count1   NUMBER             := 1;
   v_count2   NUMBER             := 1;
BEGIN
   FOR c IN (SELECT start_date, end_date, title
               FROM scheduled_classes_v)
   LOOP
      v_days := c.end_date + 1 - c.start_date;
      FOR i IN v_count1 .. v_days + (v_count1 - 1)
      LOOP
         v_date := (c.start_date - 1) + v_count2;
         v_data.EXTEND;
         v_data (v_data.COUNT) := session_rectype (v_date, c.title);
         v_count1 := v_count1 + 1;
         v_count2 := v_count2 + 1;
      END LOOP;
      v_count2 := 1;
   END LOOP;
   RETURN v_data;
/* SELECT *
FROM TABLE (SELECT Return_Table_Fn() AS session_table_type
              FROM DUAL)*/
END;
/Now, running the following query will give you the result you may use in your
calendar:
SELECT session_date, title
  FROM TABLE (SELECT return_table_fn () AS session_table_type
                FROM DUAL);
SESSION_DATE TITLE
01.01.07     Salsa
02.01.07     Salsa
03.01.07     Salsa
04.01.07     Salsa
08.01.07     Flamenco
09.01.07     Flamenco
10.01.07     Flamenco
11.01.07     Flamenco
16.02.07     Cha Cha Cha
17.02.07     Cha Cha Cha
18.02.07     Cha Cha Cha
19.02.07     Cha Cha Cha
......See example here:
http://htmldb.oracle.com/pls/otn/f?p=31517:83
Denes Kubicek

Similar Messages

  • Is there a way to create three different physical calendars in ical so that I can get a fiscal view of the calendars?

    Is there a way to create three physically different calendars in iCal so that I can view the calendar and events from a fical point of view?

    iCal just shows the calendars you have created in your account(s).  So if you are using iCloud just log into your iCloud account in a web browser and make as many new calendars as you wish to have.  Then enable those in iCal.
    If you use Google accounts or something else for the calendars, then create them as needed, and enable them in iCal.
    I have several separate calendars all displayed in iCal - a couple linked through my Gmail accounts, and one through my iCloud account.  Each uses a different default item color so they are distinct in iCal.

  • How do I get events and changes created on my IOS Calendar to show up on iCal using iCloud?

    Using iCloud I can sync my events from iCal right to my IPod Touch. This is great except for the fact that I rarely create events on iCal. I usually create events using the Calendar app on my IPod Touch because I always have it handy and I feel that has a much more intuitive UI. I was really excited about iCloud being able to sync my events from my IPod to iCal but it doesn't seem to be working. When I create events on iCal they sync to my Calendar right away, but when I create an event on my IPod it doesn't show up on iCal. The same is true for changes made on my IPod to events synced from iCal. the changes don't show up in iCal at all. HELP PLEASE!

    The operating system should read 10.8 - sorry...

  • I tried to create a new google calendar in ical, but they did not show up, I tried this several times. Now when I sync my iPad via iTunes all these failed attempts are showing up under the ical sync list in iTunes, how can i clear them from this list?

    I tried to create a new google calendar in ical, but they did not show up, I tried this several times.
    Now when I sync my iPad via iTunes all these failed attempts are showing up under the ical sync list in iTunes, how can I clear them from this list?

    See https://bugs.downthemall.net/ticket/2147
    Google Search Bug
    Reported by: openid:nathan wride Owned by:
    Priority: major Milestone:
    Component: Polish/Usability Version: 2.0.10
    Keywords: Google search instant save bug Cc:
    Operating System: Windows
    Description
    Hi Guys
    I have found a bug/annoying thing that occurs frequently on google. When searching, DTA trys to download the search...
    I'll try to attach a screenshot.
    Attachments
    [https://bugs.downthemall.net/attachment/ticket/2147/Screenshot.png Screenshot.png] Download (113.0 KB) - added by openid:nathan wride 4 weeks ago.
    The screenshot that shows the bug.

  • ICal - problem creating events in Exchange calendar

    Hi All, this is a weird one to describe, so please bear with me...!
    My client is on Snow Leopard at the moment, so does not yet have access to iCloud (upgrading remains an option but he is in no hurry). He is, however, having a confusing time of it using iCal on his Macbook.
    He has linked iCal to his corporate Exchange account, and certainly he can view all the events within his iCal. However, when he creates a new event, it does not get created within the Exchange calendar, but rather in his local calendar, and then gets overlaid, visually, on top of the Exchange calendar. Consequently, this created event does not synchronise with his iPhone, because it is only "known about" on his local MacBook. Sorry if this sounds a little confusing, but do you guys see the problem?
    Another, minor-ish, point is that the new event he creates locally always gets colour coded in a way that he seems to have no control over. Can anyone explain how the colour coding gets determined when a new event is posted?
    To sum up then, he seems only to be able to read events in his Exchange calendar, but cannot add events in a way that they then get synced correctly.
    Paul

    I just barely had this problem.  I restarted the program and it worked.

  • Looking for software or a service with which I can create a personalized photo calendar

    I am looking for software or a service with which I can create a personalized photo calendar. Any recommendations?
    Jerry

    Thanks for the reply.
    iPhoto, unfortunately, has some real problems in my opinion. Control over image placement and size is limited. This is compounded by the fact that Apple has not made the job any easier by refusing to publish information such as recommended aspect ratios and pixel sizes of images used to create a calendar. Obviously, these both change as the page layouts change. But, I don't think it is too much to ask that Apple supply image aspect ratios for each frame size, 2:3, 3:4, 1:1, or something else. What pixel sizes are required for each frame size/aspect? It is impossible to place 2 photos (or 1 photo and a name) on one date should 2 birthdays fall on one day.
    Further, there is no recommendation for color space to be used by the printer.
    I am tired of trying out a photo in the calendar only to find it looks bad at the pixel size and aspect I chose, then have to go back to the original, re-crop, resize, and wrestle with bringing it back to iPhoto. (I use Aperture to organize my images.)
    I must also add that I had a very bad experience with an iPhoto book earlier this year. Don't know if Apple has fixed the problems as I refuse to invest another 20 hours of time and more then $150.00 to find out.
    I am seriously looking for something to replace iPhoto (unless changes are made) to do the 10 or 15 calendars for my family again this year (and possibly redo my book).
    Jerry

  • How to create a pop up calendar in adobe acrobat or any other adobe tool  via adobe javascript  ?No third party tools needed(Eg:formrouter)

    I want to create a pop up calendar in adobe acrobat or any other adobe tool  via adobe javascript  in a PDF form .
    I wish to create the calendar without any third party tool.
    I found few options like formrouter and also pdf scripting.
    But I was to create the calendar via pure Adobe Javascript. If no such option is there  inbuilt pop up calendar control in any adobe tool to design the PDF form and afterwards save the same as PDF.

    All 3 of the options provide are all JavaScript. There is no plug-in used. You do need to place the JavaScript code text file into a special folder so that the menu and tool bar tools that allow execution of the JavaScript code and associate the pop-up calendar with a specific field.

  • How to create an entire new calendar?

    Can't seem to find an answer. I want to create a NEW new calendar. By new I mean the entire thing, not what iCal calls 'new calendar'. So I would have two separate calendars each w/ their own events and such.

    What iCal calls a "new calendar" (what you get with menu File/New Calendar) is a separate data file with its own name and its own separate events and todos with a different colour in the display. You can hide it, show it, or delete it without affecting the data in any other calendars. iCal stores the data files to support this in folder Library/Calendars in your home directory.
    What iCal cannot do is manipulate two different sets of calendars, as it can have only the one calendar folder.
    AK

  • Failed to create deployable object 'local/Calendar' since it not a WD objec

    Hi
    I created a calendar application in Web dynpro,There iam getting this error .will any one please help me how to avoid this.
    com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/Calendar' and application 'CalendarApp' are not deployed on the server. Please check the used URL for typos.
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:383)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:317)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:143)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create deployable object 'local/Calendar' since it is not a Web Dynpro object.
         at com.sap.tc.webdynpro.serverimpl.core.deployment.AbstractDeployableObject.<init>(AbstractDeployableObject.java:106)
         at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObject.<init>(DeployableObject.java:56)
         at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObjectFactory.getDeployableObject(DeployableObjectFactory.java:95)
         at com.sap.tc.webdynpro.services.sal.deployment.core.DeployableObjectInternal.getDeployableObjectInternal(DeployableObjectInternal.java:34)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:380)
         ... 20 more

    Hi Sushma,
                     lot of new features have been added in CE EHP1 version .for more information refer this [link|http://help.sap.com/saphelp_nwce711/helpdata/en/26/b7fa511a964597a5d8c1b778508936/content.htm] and search in SDN for new features in EHP1 version.
    in CE EHP1, local web dynpro projects cannot be used as it is deprecated in this version.
    i believe this calendar is a local standalone project created in CE 7.1 version and conert this local project to development component.
    right click on ur local project --> Development component -->Convert Project to Development Component.
    After this, go ur NWDI --> select ur component --> right click --> Create project (& Sync ysed Dcs) ..
    finally deploy and run ur component .
    Hope this helps.
    Thanks and Regards

  • Can't create iPhoto Books and Calendars

    I have OS10.10 on a 3.1 GHZ Core i7 iMac.  It is a new machine and works very well.  When I try to create a calendar or book for order in iPhoto nothing happens.  It creates an album but beyond that I can not do anything.
    Anyone else have this problem.
    Thanks,
    John

    What are the steps you are using - what version of iPhoto do you have?
    one way is to create an album and put th photos for the book or calendar in the album - open the album and select all then under share create the book or calendar
    If it does not work what exactly does happen? What error messages do you get?
    LN

  • In Thunderbird, I've created events in my calendar, but when I get a reminder (for an event), I cannot snooze or dismiss the event--I get the message "Modification Failed"

    in Thunderbird, I've created events in my calendar, but when I get a reminder (for an event), I cannot snooze or dismiss the event; I get the error code "Modification_Failed"

    This forum is just for Firefox support, for Thunderbird support you can ask in one of these forums:
    * http://forums.mozillazine.org/viewforum.php?f=39
    * http://getsatisfaction.com/mozilla_messaging

  • Create Multiple and Independent Calendars?

    ML 10.8.5, Calendar 6.0, running on a mid-2010 MBP (2.4/4/320). iCloud not used; all the data is here on the desktop, none is updated or synched to or from the cloud.
    I have one calendar ("DB's Calendar") with all my events, and would like to create a separate calendar to organize the dog's medications. Creating the calendar is easy (⌥-⌘-N, or File > New Calendar). However, when I create an event in that new calendar (⌘ - N, or File > New Event), the new calendar is immediately populated by all the events from DB's Calendar. This occurs even when the calendar list's checkbox by "DB's Calendar" is unchecked.
    Seems like the app should be able to manage (and selectively display or print) two different calendars. The only workaround I can imagine is to export all the data from DB's Calendar, delete DB's calendar, create the dog's calendar and print it, delete the dog's calendar, then re-create DB's Calendar and import the data.
    Am I missing something completely obvious?
    Thanks!
    David Brick
    Santa Cruz CA

    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    If the problem is still there, try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode
    Safe Mode - About

  • Can't create an alarm in calendar

    Hi,
    I can't create an alarm in Calendar.
    It says,"You can’t add or change events in the Birthdays calendar."
    All I want to do is create a simple alarm to remind me later today.
    Is that too much to ask for?

    You can set default alert for calendar
    Calendar > Preferences... > Alerts > do it here
    or use a Reminder

  • What to do if you have an i phone5 threw sprint carrier and arent able  to creat events on ur calendar app

    What to do if you have an i phone5 threw sprint carrier and arent able  to creat events on ur calendar app

    What carrier you are on should not be an issue when it comes to operating an app. What happens when you try and create an event? Do you see an error, does the calendar app do something when you try to add an event?
    What user troubleshooting have you tried. From the User Guide http://support.apple.com/kb/HT1296, the steps are restart (power off/on), reset (hold the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will restart), a restore from a backup, and lastly a restore as a new phone.

  • "Create Quick Event" in Calendar - specify location

    I'm adding a list of events from a spreadsheet into Calendar. I can copy the spreadsheet text then paste it into "Create Quick Event" in Calendar, which does a pretty good job of guessing what I'm talking about.
    The problem I have is that it seems to be impossible to get the location to be specified - meaning I'll have to go into each event and manually edit Each attempt (see below) results in the locations text being added onto the Event's title.
    I've tried:
    In X
    At X
    Location X
    Location: X
    (X)
    (X, followed by the postcode/ZIP code)
    Thanks !

    I don't know that it can be turned off, and I don't even use Apple's Calendar much (as a BusyCal user), but you might find it's useful if you learn to use it as intended. That box is pretty smart if you mention the date and location in the box before hitting enter.
    Just type the date, time, and place in that "title" box:
    "Birthday party Friday 8:00 PM at Joe's Place"
    That pops up an event with a start date of the next Friday (e.g., 10/05/2012 today in the US), start time of 8:00 PM, and "Joe's Place" in the location. It strips out the date and time before creating the event title that it pops up; it leaves the location in the title, but the title comes up selected so you can edit it before confirming the event with the "Done" button.
    The event is entered in the default calendar, but you can select any calendar by holding down the "+" button a second or two. There may be a way to do it with the menu or the keyboard command-n shortcut, but I haven't found it; you can select another calendar on the popup before hitting the "Done" button.

Maybe you are looking for

  • How to calculate mean value of a matrix

    Hi... I ve one matrix of order (m*n). I need to calculate the mean value of this matrix. How to do this? let we consider the matrix as 4x4.(Row=Column=4) The resultant matrix i.e mean value matrix is 1x4(Row=4,Column=1). To read the row value simulta

  • How can I undo Converting Recovery Partition to Logical Drive (Oops...) - HP G62-b32sa?​??

    I needed to create a new partition, but to do that Easeus Partition Master 9.00 Home Edition (I like using this compared to the Windows one..) stated that I needed to convert one of the 4 pre-made partitions from Primary to Logical. The following par

  • Fault Handling in Asynchronous process

    Hi, I want to know how to throw fault from an Asynchronous process to the calling process. In a synchronous process we generally throw faults using fault message in 'process' port type. But Im not sure how to throw a fault from Asynchrnous process to

  • ITunes won't even start

    Hello, I've never had problems with this before, but ever since I got the update it wont start at all. Any help here?

  • Transferring a lot of data from Access Database to Labview

    I need to transfer 500000 -> 1000000 values in a Access database table to Labview. The values are selected using a query which is very fast if run in Access itself, but from Labview it's very slow. Obviously the connection between Labview and Access