<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : How to retrieve recurring reminders from the past?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : How to retrieve recurring reminders from the past?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 18:50:13 +0000</pubDate>
  <lastBuildDate>Wed, 28 Apr 2010 08:48:03 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=16632</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[How to retrieve recurring reminders from the past? : and of course the most disappointing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58256&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58256</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 16632<br /><strong>Posted:</strong> 28 April 2010 at 8:48am<br /><br />and of course the most disappointing thing is that there's no reply from the support at all - not here, not in the ticket area - only silence... :(]]>
   </description>
   <pubDate>Wed, 28 Apr 2010 08:48:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58256&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58256</guid>
  </item> 
  <item>
   <title><![CDATA[How to retrieve recurring reminders from the past? : Thanks Marco!I have hit quite...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58253&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58253</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 16632<br /><strong>Posted:</strong> 28 April 2010 at 7:23am<br /><br />Thanks Marco!<br><br>I have hit quite a few restrictions myself and now I'm just trying to see just how much of the code I have to override to get it to work properly. Unfortunately it's not a straight-forward task, as you start with one class and then have to pull in more and more because of members/functions being private/protected. It's a pain really.<br><br>Still, if I manage to get it going, I'll post my findings. Otherwise, I might have to take your route and implement reminders logic myself completely.<br>]]>
   </description>
   <pubDate>Wed, 28 Apr 2010 07:23:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58253&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58253</guid>
  </item> 
  <item>
   <title><![CDATA[How to retrieve recurring reminders from the past? : Dennis,some time ago I played...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58250&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58250</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=313">Marco1</a><br /><strong>Subject:</strong> 16632<br /><strong>Posted:</strong> 28 April 2010 at 5:04am<br /><br />Dennis,<br>some time ago I played around with the integrated calendar reminder logic but there were too many restrictions for the project to be used out of the box.<br><br>So I'm running my own database query (periodically) which returns all events to remind. My code handles the necessary action and notifications then.<br>Only thing I'm using is the reminder icon of the event display.<br>Sorry, not that what you wanted to hear, but this way saved me a lot of time in my project.<br><br>]]>
   </description>
   <pubDate>Wed, 28 Apr 2010 05:04:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58250&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58250</guid>
  </item> 
  <item>
   <title><![CDATA[How to retrieve recurring reminders from the past? : so, it appears to me that I need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58240&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58240</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 16632<br /><strong>Posted:</strong> 27 April 2010 at 6:17pm<br /><br />so, it appears to me that I need to SetLastModificationTime() at some point, but when? It's reset inside the AddEvent() function to the current time...]]>
   </description>
   <pubDate>Tue, 27 Apr 2010 18:17:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58240&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58240</guid>
  </item> 
  <item>
   <title><![CDATA[How to retrieve recurring reminders from the past? :  Narrowing it down a bit further,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58216&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58216</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 16632<br /><strong>Posted:</strong> 26 April 2010 at 6:30pm<br /><br />Narrowing it down a bit further, seems that this code makes the reminders disappear:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (ptrOccurrenceEvent &amp;&amp; ptrOccurrenceEvent-&gt;GetStartTime() &lt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pMasterEvent-&gt;GetLastModificationTime())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ptrOccurrenceEvent-&gt;SetReminder(FALSE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br></pre></td></tr></table><br><br>not sure why GetLastModificationTime() is there...<br>]]>
   </description>
   <pubDate>Mon, 26 Apr 2010 18:30:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58216&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58216</guid>
  </item> 
  <item>
   <title><![CDATA[How to retrieve recurring reminders from the past? : Hello all,It seems that there&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58201&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58201</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 16632<br /><strong>Posted:</strong> 26 April 2010 at 1:15am<br /><br />Hello all,<br><br>It seems that there's either a bug/shortcoming in CJ's code or I'm not doing something right <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" align="absmiddle"><br><br>Let's say I have an recurring event with a reminder set. And let's say that the ocurrence of this event happens while the program is not running. So, the next time the program runs, this ocurrence is skipped. I'm slowly narrowing it down to the UpdateDataFromDP() function in the reminders manager. It seems that it only looks at ocurrences that are in the future from the current time:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; COleDateTime dtNow = CXTPCalendarUtils::GetCurrentTime();<br><br>&nbsp;&nbsp;&nbsp; //-(1) Update cached data if need<br>&nbsp;&nbsp;&nbsp; COleDateTime dtNextUpdateTime = m_dtLastUpdateTime + m_spPeriod2Cache;<br><br>&nbsp;&nbsp;&nbsp; BOOL bUpdated = FALSE;<br>&nbsp;&nbsp;&nbsp; if (dtNextUpdateTime &lt;= dtNow || 0 == (DATE)m_dtLastUpdateTime)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DBG_REMINDERS_TRACE(_T("%s - CXTPCalendarRemindersManager::Update from timer ==&gt;&gt;. \n"),<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPCalendarUtils::GetCurrentTime().Format());<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; bUpdated = UpdateDataFromDP(dtNow, m_spPeriod2Cache);<br>&nbsp;&nbsp;&nbsp; }<br></pre></td></tr></table><br><br>What would be great, if I could specify what date should be used as the dtNow, so that I could pass in a date when the program was last run to make sure that all events are processed correctly.<br><br>Is there a simple way to do this, without overriding the whole remindersmanager/calendar/etc...?<br><br>Thanks in advance for your thoughts!<br>]]>
   </description>
   <pubDate>Mon, 26 Apr 2010 01:15:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16632&amp;PID=58201&amp;title=how-to-retrieve-recurring-reminders-from-the-past#58201</guid>
  </item> 
 </channel>
</rss>