Calendar object gone!

We have just applied some hot fixes to an application that runs Crystal reports XI. Now the calendar object no longer appears when running a parameter report based on the date. Any ideas most welcome urgently

Hi Martyn,
Please update us whether running the report through the Crystal Report designer show up the calendar object while prompting or not?
   If 'No' then please update us with the following:
- What is the exact version of Crystal Reports by moving into the Crystal Report Designer->Help->About Crystal Reports.
- Please search for the 'Prompting' folder (in the drive in which the Business Objects Enterprise is installed) on a machine which display the calendra icon while prompting.
- Replace the 'Prompting' folder of the non working machine with the working machine after renaming the existing folder to .OLD.
- Now run the report again and it should show the calendar icon while prompting.
If 'Yes' then according to your application which is JAVA/.NET based post your question to the SAP Crystal Reports, version for Eclipse or SAP Crystal Reports, version for Visual Studio  forum respectively.
Thanks!

Similar Messages

  • Is there a way to add event details using a calendar object vs. those dumb field entry boxes?

    I have switched from PC to Mac over a year and a half ago, and have been plagued with the "dumb" date entry boxes in iCal and now Reminders on the mac. For one, they don't show you the DAY OF WEEK for an event, it assumes you are parked on that day, but of course reality sets in and causes constant date changes for events. Picking a date in the future would be much more helpful if Apple followed some usability norms in iCal. For instance, if you are booking a flight online, those helpful little calendar objects pop up, and further, they are smart about "end dates and times" for events, knowing it can't be earlier than the start date. Apple iCal unfortunately always thinks you are creating an ALL DAY event, and when you change the start time, it creates the end time for the next day. Not very smart. Or is it me that is not very smart for constantly hawking every little data entry field for correctness. Why, oh why dear lord has Apple not given some usability attention to iCal on the mac??? At least match the interface of the iPhone with a nice little slot machine rolling control.
    Is there an add in?
    Is there hope that Apple will ever fix its lagging Mail and iCal apps on the Mac?
    Please advise. Or just offer a kind word of consolation if there is no hope for a better interface.

    In the future, Swing related questions should be posted in the Swing forum.
    The code you posted is of little use since it uses custom classes so we can't see the behaviour of your code.
    In general if you add a component to a Container at run time then you just use
    container.revalidate()
    This will invoke the LayoutManager and repaint the components in the container based on the new layout.

  • I updated my ipod 4 to ios5 and now my plus sign on the contacts and calendar are gone and i cant add events or new people what do i do??

    i updated my ipod4 to ios5 and now my plus sign on the contacts and calendar are gone!!
    and now i cant add events or new people directly to my ipod..
    how can i fix this??

    Try looking at the similar posts on the right side of this page under the heading "More Like This". The ones with the green checkmark were solved.

  • Urgent. Need help in the Calendar Object.

    Hello developers, best regards!
    Well my problem is that i'm facing a fact that i need a calendar object just like that one when u click the time down there in the taskbar, i need to embedd it in my java windows application.
    To be more clear, if u're familiar with the Visual Basic.NET environment, just the kind of calendars that i need is found there, in which it displays a small box which i can select the months, and accordingly i can select the specific date i need.
    Please i need your help so much.
    Thank you in advance.

    [url http://www.google.co.uk/search?hl=en&q=jcalendar&meta=]click

  • Printing Date with Calendar Object

    I am trying to print the current date of a calender object in a mm/dd/yyyy format.
    When I call system.out.println(now.getInstance()); and scroll through the console, it shows DAY_OF_MONTH=29, YEAR=2006, MONTH=6 for July 29, 2006. I realize months are zero based, so month is really 7. My question is, why does:
    System.out.println(now.MONTH + " " + now.DAY_OF_MONTH + " " + now.YEAR);
    print 2 5 1.
    Logic tells me it should print 6 29 2006.
    I have searched previous posts, and couldn't find one that answers my question. How do I take a Calendar object and print its current set date?

    My question is, why does:My question is: why do you care how a Calendar stores its data? If you want to print it, get a Date instance from it and run it through a SimpleDateFormat to get a String representation of the date.
    Don't mix up data and presentation.
    And to answer your question: you don't print the Calendar's date attributes, but the values of some static constants.

  • Convert a calendar object to a date object

    hi all...i use a calendar to select date and i want to convert the Calendar object returned to a date object ..how could i do that ?? i use the following lines of code but the Date object returned is not correct ..i mean it's not the one i chose from the calendar
    Date selectedDate=new Date();
    selectedDate=(calendar1.getTime());
    Any one could help....thank you

    Show us the code where you set the calendar to your desired value. Calendar1.getTime()
    should return the relevant date.

  • Date change problem in Calendar object

    Hi i have a calendar object for date representation.
    When i need to go ahead a day i use a add method that adds a day to the Calendar object, and if the date is out of range it adjustes proerly to the next montha and proper date in that next month.
    But it fails for 2 instances in a year.
    From May to June and From October to November.
    This i think is happenning because of the Daylight saving times in the May and October.
    I try to go from May to June but it never does on it's own !! Do i have to explicitly check that for those 2 months or there is any other method ?
    How can i get over it ??
    Please help me with this.
    Shailendra

    Hi
    There may be some other reason for it, coz Day light savings starts in last week of March, not in May.
    And day light savings ends in Last week of October
    Suresh

  • HOLY &$%#!  He's gonna KILL me ~ Calendar is GONE on iPad2

    My husband uses his iPad2 religiously for his calendar.  He uses my account for iTunes, iCloud, etc.  He never wires into my MacBook Pro as there is nothing needing to be synced between the two.  I am seeing now that he also has backup to iCloud turned off.  So....no backup.  That's the background....here's the problem:
    To share his calendar with me, I turned 'ON' Mail, Contacts and Calendars sync in the iPad2 iCloud menu.  But, when we went back to iCal, his original calendar was gone, gone, gone! 
    He has the iPad2 calendar set as purple 'Brett's Calendar.'  I think at some point we made that same color/calendar on the computer/iCloud thinking we'd sync but after an earlier loss of events, he turned iCloud calendars off on the iPad to just do his own thing. 
    So when I turned iCloud calendars back on on the iPad, did the blank purple Brett just override his iPad instead of a two way sync?  I exposed all available calendars and selected just the purple Brett and still nothing.
    I then panicked and turned iCloud calendars back off and selected 'Keep on my iPad'.  Went back to iCal and now the only thing showing up is our shared family Cozi calendar!!!
    Good ju-ju to he/she who might be able to help! 
    (I did look through countless discussions to find answers but didn't find quite the right info so no yelling......)

    Forgot to say that I have not tried a reset yet....too scared since the only place the events were ever loaded is the iPad2.

  • Calendar object for the next week day

    I have a calendar object,
    How can I get the calendar object the comes on the next Tuesday or for that matter any week day.
    For example I have the calendar object for today ie. Monday, 7th Aug 2006. How can I get the calendar object for the first saturday after today.

    What you do is calculate how many days ahead it is.
    This would be the target day, less today's day
    reduced to modulo 7. Add 7 to guarantee the %
    operator works correctly e.g.
    cal.add(Calendar.DAY_OF_YEAR,(7 + Calendar.SATURDAY -
    cal.get(DAY_OF_WEEK)) % 7);
    Requires that the numeric values associated with the days of the week are ordered and one apart. Even thought this is the case, the API does not say this is the case so it should not be assumed.

  • Converting String to Calendar Object

    Hi,
    I nedd to Change the below String to Calendar Object.i want to show the records which are older than half an hour.any other idea which will solve my problems?
    Fri Aug 17 01:56:40 GMT+05:30 1906
    Thanks in advance.
    Regards:
    Akash.

    Look at
    java.text.SimpleDataFormat

  • How to calculate number of days between Calendar objects

    Hi,
    I need to calculate the number of days between two Calendar objects. Here is some sample code:
    Calendar now = Calendar.getInstance();
    now.set(Calendar.HOUR_OF_DAY, 0);
    now.set(Calendar.MINUTE, 0);
    now.set(Calendar.SECOND, 0);
    now.set(Calendar.MILLISECOND, 0);
    // get a calendar that represents a day in the past
    Calendar aDayInThePast = getADayInThePast();
    aDayInThePast.set(Calendar.HOUR_OF_DAY, 0);
    aDayInThePast.set(Calendar.MINUTE, 0);
    aDayInThePast.set(Calendar.SECOND, 0);
    aDayInThePast.set(Calendar.MILLISECOND, 0);
    // how can I calculate the number of days ago this was??
    //it would also be useful to get back a negative number if the day is in the future

    My favorite answer so far is reply 15 by Marc__: http://forum.java.sun.com/thread.jspa?threadID=488668&start=15

  • Calendar object being buggy

    Hi, I'm not new to Java, but this seems like the best place for this question: I have some code dealing with parsing and reading schedules:
           Calendar now = Calendar.getInstance();
              Calendar startDateTime = (Calendar) startTime.clone();
              Calendar stopDateTime = (Calendar) stopTime.clone();
              startDateTime.set(Calendar.YEAR, now.get(Calendar.YEAR));
              startDateTime.set(Calendar.MONTH, now.get(Calendar.MONTH));
              startDateTime.set(Calendar.DATE, now.get(Calendar.DATE));
              stopDateTime.set(Calendar.YEAR, now.get(Calendar.YEAR));
              stopDateTime.set(Calendar.MONTH, now.get(Calendar.MONTH));
              stopDateTime.set(Calendar.DATE, now.get(Calendar.DATE));
              if (scheduleType == 0) //weekly
                   for (int i = 0; i < schedule.length(); i = i + 3)
                        //System.out.println (TIMEFORMAT.format(startDateTime.getTime()));
                        startDateTime.set(Calendar.DAY_OF_WEEK, Integer.parseInt(schedule.substring(i, i + 1)));
                        stopDateTime.setTime(startDateTime.getTime());
                        stopDateTime.add(Calendar.DATE, Integer.parseInt(schedule.substring(i + 1, i + 3)));
                        System.out.println (TIMEFORMAT.format(startDateTime.getTime()) + " " + TIMEFORMAT.format(new Date()) + " " + TIMEFORMAT.format(stopDateTime.getTime()));
    ...My out put is:
    2008-11-24 09:47:00.000 2008-11-10 10:26:14.981 2008-11-27 15:00:00.000
    Which is not what I though I'd get (startDateTime and stopDateTime should be 2008-11-10, 2008-11-13).
    However, if I uncomment the "System.out.println(TIMEFORMAT.format(startDateTime.getTime()));" right after the if statement, my out put becomes:
    2008-11-10 09:47:00.000 2008-11-10 10:27:33.924 2008-11-13 15:00:00.000
    Which is what I want.
    This makes no sense to me, that System.out.println is apparently "changing" something. The closet I can figure is that System.out.println gives more time for something to do something. Shrugs.
    I figure I can bandaid it by setting the startDateTime/stopDateTime to (Calendar) now.clone(), and then setting the specific hour, minute, second to the stopTime/startTime instead, but this is really bugging me.
    Thanks for any help.

    I've been working with java for 4-5 years, and I'm studying CS for my major, so I thought myself at least not new, but I suppose if the experienced say so, then I guess my self-estimation was wrong. Well, this is a good reality check.
    Before anything else though, about what you said about .getTime() ("It is also setting startDateTime to the current time"). I'm under the impression that .getTime() get's the Calendar object's current time as a Date object (which as far as I've used, seems to be true) and also calculates the millisecond value. So if my Calendar is set to "January 2000", when I call .getTime() on it, do I get back a Date object set to "January 2000" (what I set it to) or "November 2008" (today's date)?
    As for the program, I read in a schedule, a start_time, a stop_time (as well as the schedule_id, but that's not important) from a database, and create a schedule object. Then in one method of my Schedule object I check if the current time is in the schedule. I create startDateTime and stopDateTime objects on the fly since if the program runs overnight to the next week, a startDateTime, stopDateTime created at initialization will be wrong.
    Here's a very heavily stripped down recreated version with a main and the test case I was using so you can run this.
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    public class Schedule2
         //date formatter
         private static final SimpleDateFormat TIMEFORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
         String schedule;
         Calendar startTime = Calendar.getInstance();
         public Schedule2(String schedule, Date startTime)
              this.schedule = schedule;
              this.startTime.setTime(startTime);
         public boolean nowInSchedule()
            Calendar now = Calendar.getInstance();
              Calendar startDateTime = (Calendar) startTime.clone(); //set the time values to correct values
              startDateTime.set(Calendar.YEAR, now.get(Calendar.YEAR)); //set the year/month/date values to correct ones
              startDateTime.set(Calendar.MONTH, now.get(Calendar.MONTH));
              startDateTime.set(Calendar.DATE, now.get(Calendar.DATE));
              for (int i = 0; i < schedule.length(); i = i + 3)
                   //System.out.println(TIMEFORMAT.format(startDateTime.getTime()));
                   startDateTime.set(Calendar.DAY_OF_WEEK, Integer.parseInt(schedule.substring(i, i + 1))); //sets current day_of_week to the one in the schedule
                   System.out.println(TIMEFORMAT.format(startDateTime.getTime()));
                   //when I check the startDateTime.getTime(), here is when I get the wrong date (2008-11-24 instead of the 10th)
              return false;
         public static void main(String [] args)
              Calendar a = Calendar.getInstance();
              a.set(1899, 12, 30, 10, 50, 0);
              Schedule2 sked = new Schedule2 ("203", a.getTime());
              System.out.println(sked.nowInSchedule());     
    }So in my test case, I had "203" as the schedule, meaning every Monday until Thursday (first digit is Monday, second two is the number of days the schedule lasts) and the start_time as "30/12/1899 10:50:00 AM".
    I expected to get back "2008-11-10" since this week's Monday falls on the second, but instead I got "2008-11-24".
    I did read the Calendar API, but I suppose I didn't understand it fully. .set() updates the fields, but not the millisecond value. So, maybe .set(Calendar.DAY_OF_WEEK, ...) is not doing what I think it is doing because the millisecond value isn't computed yet, and .set(Calendar.DAY_OF_WEEK, ..) seems more complicated than just setting straight YEAR/MONTH/DATE.
    I'm using Java 1.4.2 BTW.
    Edited by: Yi.Liu on Nov 10, 2008 12:57 PM

  • Calendar object issues ... recompute remaining fields after change?

    Hello all. I'm doing date manipulation and arithmetic, but I'm running into a problem.
    I'm taking a date provided by a user and comparing it the current date. However, it's the month-end that I'm interested in.
    I'm already creating GregorianCalendar objects from each one, and doing the set on the DAY_OF_MONTH field to the value from getActualMaximum(DAY_OF_MONTH).
    The problem I'm having is that when dealing two dates from the same month, the two Calendar objects are >NOT< returning as EQUAL. After converting each object to a Date and running compareTo() (Side Bar: Why isn't compareTo() available in the Calendar class?) I'm not getting zero.
    I tried a toString() on the two objects, and I can see that some of the fields are not exact ... the time field is "?", WEEK_OF_YEAR, WEEK_OF_MONTH are different, etc. I can see the protected method complete() in the API, but attempts to execute them (gcCurrDate.complete()) yield compile errors stating the method is not visible.
    So how does one ask the system to fill in the remaining fields?
    Thanks!
    Steve

    According to the API docs for Calendar:
    "set(f, value) changes field f to value. In addition, it sets an internal member variable to indicate that field f has been changed. Although field f is changed immediately, the calendar's milliseconds is not recomputed until the next call to get(), getTime(), or getTimeInMillis() is made."

  • Calendar object without time

    Hi,
    I need to get a calendar object without displaying the time (hh:mm) field. Can smone help me with this??
    Thanks in advance

    Thanks for the replies..but my requirement is a
    calendar object which i need to set in one of the
    existing bean class set methods which takes in only a
    calendar object (I cant modify the method signature).
    I am pasting my code below..
    The situation is : I get data from database as a
    string read from a file which is then converted into
    a format yyyy-MM-dd using a simple date format. This
    returns a date object which i need to convert to
    calendar without showing the time fields. The prb is
    it is showing the GMT diff as default.
    public static Calendar dateString2Calendar(String s)
    throws ParseException {
    static SimpleDateFormat df = new
    SimpleDateFormat("dd-MMM-yy");
    static SimpleDateFormat df1 = new
    SimpleDateFormat("yyyy-MM-dd");
    Calendar cal = Calendar.getInstance();          
    1 = null;
         Date d2 = null;
         String S1 = null;
         d1 = df.parse(s);
         S1 = df1.format(d1);
         d2 = df1.parse(S1);     
         cal.setTime(d2);     
         return cal;          
    Req output : 2004-09-07
    Current output : 2004-09-07+05:30
    00:00 also not allowed in the output :(The Calendar object represents a particular moment in time - it does not have a format and it always has a time portion. Do not use the toString() method to display it - if you use the System.out.println() method to display it, the toString() method is being still being called. Format the display using SimpleDateFormat as suggested.

  • Calendar object with Microsoft DST patch

    We have been testing changes to the 2007 daylight saving time. We applied Microsoft DST patch to Windows 2000 with Java 1.3.1_18 and Windows 2003 with Java 5.0 Update 8. On both systems the calendar object return time zone of GMT although the system clock is set for Eastern.
    If the Microsoft patch is removed, the correct time zone is again returned. Has anyone else seen this behavior when Windows OS patch is applied?

    > Does anyone know exactly what the problem is (what has Microsoft changed) ?
    a) Go to <http://www.ciac.org/ciac/bulletins/p-006.shtml> and search for the "CAN-" links. Each component has a one paragraph description.
    b) According to <http://patch-info.de/IE/2004/10/12/20-35-16.html> it contains:
    mshtml.dll (6,0,2800,1476 - 29,09,2004)
    urlmon.dll (6,0,2800,1474 - 23,09,2004)
    shdocvw.dll (6,0,2800,1584 - 27,08,2004)
    wininet.dll (6,0,2800,1468 - 23,08,2004)
    browseui.dll (6,0,2800,1584 - 22,08,2004)
    shlwapi.dll (6,0,2800,1584 - 20,08,2004)
    c) Some of the things that could be breaking are DOM references and DHTML, which are advanced features that not every application uses.
    From <http://www.microsoft.com/technet/security/bulletin/MS04-038.mspx>:
    "Caveats: Microsoft Knowledge Base Article 834707 <http://support.microsoft.com/?id=834707> documents the currently known issues that customers may experience when they install this security update. The article also documents recommended solutions for these issues."
    Among other issues, that page says [<b>emphasis</b> added]:
    - After you install the MS04-038 security updates for Internet Explorer, some dynamic HTML (DHTML) <b>drag-and-drop operations are blocked</b> by Internet Explorer.
    - Security update 834707 includes a change to the way that Internet Explorer handles function pointers. This change in functionality occurs when an event handler points directly to a Document Object Model (DOM) function [...] Change in Internet Explorer function pointer behavior <b>causes code to not be executed</b> when an event handler is set to directly reference a DOM function after installing MS04-038 security updates.
    BTW, Note 785308 has been updated with a workaround.
    Regards,
    Sean

Maybe you are looking for