Display Current Month's calendar

Hello,
I have a calendar that will display several months worth of data. I would like the calendar to display the current month's data initially and allow the user to scroll back to previous months. Obviously, when you set the start_date and end_date you can only view the curretn month.
Is there a way to control the month that is initially displayed on the calendar?
Thanks,
Curt

Krishnamurthy,
This workaround does work quite well and I've implemented it successfully, but I do have a question:
I need to place this calendar into a page as a portlet. When I click the 'next,previous,current' buttons, it does take me to appropriate month, but opens up in a new page and I need it to stay as a portlet within the page. Have any ideas on how to implement this? I'm using Portal Release 2. Thanks for the help in advance.
Jeremy

Similar Messages

  • Workaround to display current month in calendar

    Hello,
    This is regarding Mr. Krishnamurthy's workaround to display current month in calendar. He asked us to run the URL with some name value pairs attached to get rid of the default "Next" button that the portal will create. But if i add this as a portlet how will i let portal know to run the portlet with these parameter values.
    one way that i'm guessing is to add these parameters to the page and pass the values in the customization page. But can we do without doing this customization and everything. And also how do i display the next month of the calendar in the portal itself(i.e inline rendering). Presently if i click the next month link it takes me out of the portal. Eagerly waiting for suggestions/solutions. Thanks and regards,
    --Ganti.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    Thanks for the reply. Actually, I have the workaround to display the current month with Previous month / Next month capabilities and I thought maybe somebody wants to know about this workaround .
    -Krishnamurthy

  • 'Calendar UI' which will display current month's calendar in one line

    Hi Experts,
    I have to create a calendar in following way. Here I have to display calendar of current month for the employee. The entire month detail has to appear in one line. In fact it is needed for Leave Overview iView.
    Manager needs to view the Leave details of all employees working in his department
       1                 2                  3              4           5         6                 7              8            9               10   11     12     13     14     15  16 17 18 19  20 21  22 23  24  25  26  27  28  29 30 31
       Mon    Tues    Wed    Thurs   Friday  Sat            Sun
    Smith  
    Marteen
    Thomas
    I am not sure how to do it? Do we have any ready made UI element which we can use. I can see Date navigator. However it
    displays the calendar in 4 rows.
    Please help.
    Regards,
    Gary

    Hi Abhinav, Experts
    Thanks. The design of my RFC will be like this:
    1) Input Org Unit, Month, Year
    2) Output
    Pernr (datatype number 8)
    Name (datatype string)
    Day1 (datatype string)
    Day2 (datatype string)
    Day3 (datatype string)
    Day4 (datatype string)
    Day29 (datatype string)
    Day30 (datatype string)
    Day31 (datatype string)
    3) The default value Day1, Day2  etc will be null
    4) I will find out Leave Details. If Leave has been approved for say Day5 then I will populate Day5 = 'AP'.
    5) I will write another logic to make the color of cell as 'Green' for Day5.
    6) In Feb 2011, there are 28 days. There will be another logic to make the Day29, Day30, Day31 invisible for months like Feb 2011.
    Please let me know if this approach is correct.
    Please also let me know how to display day i.e. 01.04.2011 is Friday. In Calendar I have to display
                     1.4.2011  2.4.2011   3.4.2011
                     Friday      Saturday   Sunday
    Smith
    Tony
    I did small Proof of Concept. The table does not look good although displays the information.
    Please help.
    Regards,
    Gary

  • Show current month's calendar based on computer date

    As a page loads, is it possible to check the computer date
    and display the current month's calendar (specialized with events),
    either on the same page or on a separate page?
    Any help would be appreciated,
    Cliff

    You can adapt this script to do that:
    http://www.valleywebdesigns.com/vwd_csscalhelp/vwd_csscalhelp_faq.asp#a5
    cliff man wrote:
    > As a page loads, is it possible to check the computer
    date and display the
    > current month's calendar (specialized with events),
    either on the same page or
    > on a separate page?
    > Any help would be appreciated,
    > Cliff
    >
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Display current month records only

    Hi Experts,
    I have the following requirement.
    Report should display current month records only.
    For example If the report is run on 20090324, It should display records from 20090301 to 20090324.
    That means,  report may run on any date of that month, It should display from 01 (of that month) to current date.
    I have a select statement saying
      SELECT * FROM likp
      WHERE wadat_ist BETWEEN month_start_date AND sy-datum          
        AND vkorg IN s_vkorg
        AND vkbur IN s_vkbur
        AND kunnr IN s_kunnr.
    How to calculate date for month_start_date, so that it can display only current month records.
    Thanks in advance
    Rohan

    Hi Kunta, Suhas, Nandi,
    Thank you for your quick reply, I really appreciate it.
    for this current month records, I need to display a check box saying
    Open orders  and shipments with the current month.
    But where as Selection text is accepting 32 characters only. Is there any possibility to overcome this?
    Thanks in advance
    Rohan

  • Displaying current month with all empty months

    None of the answers I've seen for showing current month in a calendar has given a solid answer. So, here is my question. My objective is to display all calendar months rather they are empty or not, plus I want the calendar to start at the current month. I added coding to display a next month and previous month button, so you should be able to click next or previous month from the current month showing. I have the "Show All Empty Months" checked in the Display Options under Common Options and the start and end date are empty. I have a bind variable in my coding that defaults to the current month but it will not show an empty month. I get the "no rows returned" situation because it doesn't have anything in it. Is there a solution to showing all empty months?
    Also, has anyone found a solution to hide/remove the default Next/Previous buttons? I read in one of the replies that this would be fixed in a forthcoming release. Is this true?
    Thanks for any assistance.

    The calendar works on a sql query result. I had done something similar to what you are looking for by spoofing the sql query to return rows for all the months which I am interested in. I had a query like the following.
    select *
    from scott.emp a , ( select (trunc(sysdate) - 7910 + rownum) dat from user_objects ) b
    where b.dat = a.hiredate (+)
    Hope you can do something similar to this.

  • The entire current month's calendar's appointments have disappeared.  how do I get this info back?

    The entire current month's appointments have disappeared from my calendar, how do I get them back?

    Not that it helps, but this is why I wish they would just go back to customer activations at home instead of activating iPhones in store. They do it there, then 3 or 4 or 5 months later, the user gets around to plugging it in to iTunes for the first time only to have all their contacts as well as apps and music they've purchased wiped out without ever having backed it up...
    You can try to restore the phone. It 'should' have been backed up before the initial sync, but I'm not positive about that. I'm not in front of a machine with iTunes now and don't want to steer you wrong. There should be a number of helpful threads here. Use the search box at the top of the page, you should be able to find step by step instructions if it's still possible.

  • Displaying current month in prompt

    Hi,
    I want to show the current month as the default value in Prompt in XI R3.1 Webi. i.e. when the user runs the report, the prompt for "Month" should show the current month (Say March) and if user wants to change it he can change it to someother month.
    Pls let me know how to acheive this (May be by doing changes to report or to the Universe).
    Regards
    Jim

    You can try the below step in Universe
    Steps
    1.You have a date time field = u201CDateXu201D
    2.Build another object of the same field in unv = u201CDate X New Objectu201D
    code:
    case When to_date (Sysdate, "MM") then "Current Month"
    end
    3.Build Condition in Unv = Date Picker
    code:
    @Select(Cass\DateX New Object) = @Prompt(u2019Date Pickeru2019,'Au2019,{u2019Customu2019,'Yesterdayu2019,'Last 10 Daysu2019,'Todayu2019},mono,constrained,persistent,{u2019Current Monthu2019})
    You can take reference of the below
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/

  • How to display Current Year and Month in Drop Down list

    Hi Dear friends,
    I am devloping a report. It has got 2 pages--input and output(Report) page.
    IN input page, user will select Month and Year from drop down list as one of the input parameters. (seperate drop down list 4 month and year)
    Now, my problem is:
    HOw to display current month and year by default in the dropdown list...........
    I hope my question is clear.
    Please help.
    Regards,
    ASh

    NO da,
    it is not working.
    First i tired with for-loop. I initialized variable "i" to -2 (i=-2) I would get the year drop down list from 2003 but, by default 2003 would come.
    So, i posted the question.
    I tried your code. It is giving following error.
    A Servlet Exception Has Occurred
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occured between lines: 122 and 127 in the jsp file: /test/inpt.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:182: Invalid type expression.
    first.set(Calendar.YEAR, 2003)
    ^
    An error occured between lines: 127 and 131 in the jsp file: /test/inpt.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:186: Invalid declaration.
    out.write("\r\n \r\nYear : \r\n \r\n"); ^ An error occured between lines: 198 and 203 in the jsp file: /test/inpt.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:282: Invalid type expression. first1.set(Calendar.YEAR, 2003) ^ An error occured between lines: 203 and 207 in the jsp file: /test/inpt.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:286: Invalid declaration. out.write("\r\n \r\nYear :\r\n \r\n");
    ^
    4 errors
    Pls. Help.
    Regards,
    Ashu

  • IW69 report not fetching all transaction data of current month.

    Dear Guru Ji,
    While doing testing IW69 report, i noticed that it is not displaying current month data. It is only get the data uptil last date of past month data in DEV & QA client.
    I wonder why this is happening?
    I tried using Malfunction start date & notification reference date input. But still the same result.
    Please guide me, what is going wrong?

    Hi,
    The selection option 'notification date' is based on notification date (VIQMEL-QMDAT). Transaction IW69 is used to display notification items - when there is no item data in the notification nothing will be returned.
    -Paul

  • Current Month & Current Year Sales

    hi,
      How to get current month sales & previous month sales if sales measure is available for 2 years. I would like to display current month sales in one column and previous month sales in the second column and difference in the next column. For example, if i take this month as the current month, i have to display march sales in first column, february sales in second column and difference in third column. If you take a query designer, we restrict by month and display that month's value. Please advise.
    Thanks in advance.

    Hi
    create two variables in your WebI report containing if then clauses which restrict your key figures to the actual (or previous) month. Use those variables instead of your key figure directly.
    (NOTE: THIS IS PSEUDO CODE):
    if [0CALMONTH]=CurrentMonth then [KeyFigure1] else 0
    if [0CALMONTH]=PreviousMonth then [KeyFigure1] else 0
    The third column can contain the difference between the first two variables.
    Regards,
    Stratos

  • Is there a way to create a calendar for keynote that automatically updates to current month?

    I use keynote presentations for teaching foreign languages and wanted a calendar that updates automatically to current month everytime I present it rather than making it manually each month.  I'm wondering if it can be done using the keynote date/time functions?  Thank you.

    Creating a whole interactive calendar for a month in a table could be done I suppose, but it's an awful lot of work for something that might be solved more easily in other ways.
    IF you have a constant internet connection when you're teaching, create a Hyperlink on a blank Keynote slide to a web calendar, such as Google Calendar (or perhaps a school district calendar?) and enable it in the slide with Inspector, Hyperlink (blue circle with arrow icon 2nd from the right).
    If you don't have web access on your teaching computer while you're teaching, I'd still probably capture a screenshot of the each monthly calendar and use that, updating to the current slide once a month. If you're usually too busy to remember to capture a new calendar on the first of the month, create a whole year of screen captured calendars at one time, add them to separate Keynote slides, and then just 'Skip Slide' all the months you aren't using. Not cool and interactive, but it would solve the problem. You might want to rename the screen captures to the month name before adding them as slides for ease of locating them later.
    Since you're teaching foreign languages, in my sample below, I changed my default Google Calendar language to German. (Unfortunately, I left US Holidays enabled, so they aren't 'auf Deutsch', but you get the idea.) Understand that when you switch language in Google Calendar (or other Google app), it will switch ALL of your Google screens to that language, so be sure you remember which 'buttons' to push to change it back to English later!
    Bring up your calendar onscreen in your browser and use Command+Shift+3 to capture the whole screen or Command+Shift+4 to capture just a portion of the screen. Once saved, insert the saved calendar into a Keynote slide.
    Now, if that's more than you need, if you just want to display the date information in English as current weekday name, monthname, date number, and year, that's pretty simple.
    Use the now() or today() function, you can create a simple table and add the following functions in separate cells, beginning each cell entry with the = sign (so the table 'knows' it's a function, and not just text:
    =DAYNAME(NOW())
    =MONTHNAME(MONTH(NOW()))
    =DAY(NOW())
    =YEAR(NOW())
    And it displays like this on a slide:
    Hope that helps!
    Message was edited by: kostby

  • URL for viewing current month calendar

    We are using iCal to publish and view our school calendar. We have a mixed computer environment of Macs and PC. The principal has a Mac and creates calendar events in iCal and it is automatically uploaded to our .Mac account and published as a web page.
    The PC's have active desktop set to the school's calendar web page. This allows them to view the web page (the school's calendar) generated by iCal right on the desktop. The Macs automatically launch iCal which has subscribed to the school's Calendar.
    My question has to do with the URL which I should set up for the PC's. If I use the default URL (http://ical.mac.com/dberg/argyle) the calendar is viewed in weekly view. We want it to view in monthly view so instead last month we set it to http://ical.mac.com/WebObjects/iCal.woa/wa/default?d=1&u=dberg&v=1&y=2005&m=8&n= argyle.ics which views the month. Then the month changed but the calendar didn't so we experimented with the URL and deleted the &m=8 value and that worked. It seems to now always display the current month. Then we noticed that the year value is still in the URL (&y=2005) so we are going to delete that value as well. My question is should we also delete the "d=1&" value as well? It seems to work without it but I don't really know wha that d value is all about. We noticed that if &v=1 is removed it goes back to week view so we want to leave that in.
    Any other hints as to what URL values to use so that no matter what year or month it is it will always show the current year?

    Dave,
    when you switch to Preferences, you'll see 2 sections: "Page View" and "Calendar View". Directly written under Calendar View you should see "Default calendar:" and a list field (sorry, I don't know the exact English term). You can change the entry of this field from "Weekly" to "Monthly" – at least that's what I can do on your ical

  • How to Get current month of the Calendar

    Hey everyone ,
    Starting to understand a bit APEX now , but i'm still missing some more accurante knowledges such as methods i could call Here is my problem :
    I have a drag and drop APEX Calendar , and everything is working just fine , under this calendar i decided to add a flash report , who is showing the current month work ,
    and who is refreshing each time i add a new work in my calendar : my question is , is there a method to call to get the month the calendar is displaying ? Because when i change my calendar to an older month i need the flash report to change too so i can displayed the information from the month the calendar is displaying
    Any help or advice from you will be very apreciated , i thank you in advance
    Brice

    Krishnamurthy has a workaround please see thread http://forums.oracle.com/forums/message.jsp?id=827915 for details
    Sunil.

  • How to display records based on current month and last month???

    i have a query that want to display the data for current month and last month. when i try to view the reports, all the data/key figures is return all in 0.00.
    i modify the variables for this current month and last month but still the results is the same. i could not see the data. any advise on how to modify the variables for this current month and last month? i am thinking my variables is wrong.
    for the current month variable:
    the type of variable is characteristic value, processing by customer exit, reference characteristic is calendar year/month.
    thanks for all who are kind to help me here....

    Hi,
       If you install the variables from BC correctly and they are in active state, you can use them directly use them. check for this month the total values at info cube is ZERO or some value. as you told you are getting ZEROS for your input.and check the data at cube level based on your query design, apply all restrictions, fileters and see do you get any data at cube level and compare with report.

Maybe you are looking for