Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
Strange Results in Calendar View

Hint Short Cut: Add this to your code & documentation to help you find this page.
http://www.notesninjas.com/#CalendarDate or http://www.notesninjas.com/A555F9/nn.nsf/ByAlias/CalendarDate


If you use calendar views this might shed some light on strange happenings.





Basically if you have a calendar view that has the first column sorted on a date field then the documents show up on the correct day.

I have found that changing the calendar style from month to week or whatever caused the documents to appear on other days, one day out as well as the original date, when the date hadn't changed.

This was found to be because the date needs to be stored as a Date/Time field rather than just a Date field. Soon as this was done the calendar worked as required.

ie instead of "20/09/1969" change it to "20/09/1969 00:00:00".

This is actually specified in the help, but it is a pedantic requirement that is often forgotten.

 

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
Lotus Notes and Domino 6 Programming Bible by Brian Benz, Rocky Oliver
Covers all the programming techniques, concepts, and languages used with Notes and Domino, as well as the many new features of Domino 6 Thoroughly examines the Notes and Domino role with Java, XML, Web services, and other IBM products and technologies Provides extensive code and examples, many geared to the needs of administrators High-profile authors, known to their audience through conferences and articles Companion Web site shows example applications from the book running on a live Domino server and provides code download.
See at: Amazon.co.uk | Amazon.com |