<?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 : Loading recurrents events with cutom dataprovider</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Loading recurrents events with cutom dataprovider]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 13:00:15 +0000</pubDate>
  <lastBuildDate>Fri, 09 Jul 2010 04:05:17 +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=13559</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[Loading recurrents events with cutom dataprovider : Hi Francois  I have still been...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=59265&amp;title=loading-recurrents-events-with-cutom-dataprovider#59265</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4601">austro</a><br /><strong>Subject:</strong> 13559<br /><strong>Posted:</strong> 09 July 2010 at 4:05am<br /><br /><DIV>Hi Francois</DIV><DIV>&nbsp;</DIV><DIV>I have still been having this license issue with new versions V13.3 and v13.4. </DIV><DIV>I solved it by adding the license code to the project initilisation code.</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>Mark&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 09 Jul 2010 04:05:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=59265&amp;title=loading-recurrents-events-with-cutom-dataprovider#59265</guid>
  </item> 
  <item>
   <title><![CDATA[Loading recurrents events with cutom dataprovider : Bonjour Yan et merci d&amp;#039;avoir...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=53623&amp;title=loading-recurrents-events-with-cutom-dataprovider#53623</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5516">francois_m</a><br /><strong>Subject:</strong> 13559<br /><strong>Posted:</strong> 03 October 2009 at 11:55am<br /><br />Bonjour Yan et merci d'avoir pris le temps de me répondre.<DIV>&nbsp;</DIV><DIV>Je vous répond tardivement car j'étais malade.</DIV><DIV>&nbsp;</DIV><DIV>Je débute dans windev et c'est mon premier activeX que j'essaye de faire fonctionner avec windev.</DIV><DIV>Je m'arrache les cheveux car je galère depuis 2 mois pour y comprendre quelque chose en </DIV><DIV>essayant un&nbsp;début de projet Windev&nbsp;avec des bouts de code CodeJock trouvé ici et là.</DIV><DIV>&nbsp;</DIV><DIV>Je recherche un bout de code qui fonctionne&nbsp;à peut près qui me mettrait sur la bonne voie.</DIV><DIV>&nbsp;</DIV><DIV>Merci</DIV><DIV>&nbsp;</DIV><DIV>François</DIV><DIV>francois_at_moinel.org</DIV>]]>
   </description>
   <pubDate>Sat, 03 Oct 2009 11:55:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=53623&amp;title=loading-recurrents-events-with-cutom-dataprovider#53623</guid>
  </item> 
  <item>
   <title><![CDATA[Loading recurrents events with cutom dataprovider : Hello Fran&#231;ois,Yes the solution...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=52891&amp;title=loading-recurrents-events-with-cutom-dataprovider#52891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5188">Yan59</a><br /><strong>Subject:</strong> 13559<br /><strong>Posted:</strong> 09 September 2009 at 1:54pm<br /><br />Hello François,<br><br>Yes the solution I use is the following lines :<br><br><br>You have to write on the Declaration code of the window :<br><br>CALGlobalSettings est un objet Automation "Codejock.CalendarGlobalSettings.13.0.0"<br>CALGlobalSettings&gt;&gt;License="Calendar Control Copyright (c) 2003-2009 Codejock Software" +Caract(13)+Caract(10)+"PRODUCT-ID: Codejock.Calendar.ActiveX.v13.0" +Caract(13)+Caract(10)+ "VALIDATE-CODE: XXX-XXX-XXX-XXX"<br><br><br>(where XXX-XXX-XXX-XXX is your licence code)<br><br>it works well for me !<br><br>If you have other questions don't hesitate to mail me your email adress,( French &amp; English speaker)<br><br>Enjoy your dev with Windev !<br><br>Bye , A+<br><br><br>Yan<br>&nbsp;<br>]]>
   </description>
   <pubDate>Wed, 09 Sep 2009 13:54:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=52891&amp;title=loading-recurrents-events-with-cutom-dataprovider#52891</guid>
  </item> 
  <item>
   <title><![CDATA[Loading recurrents events with cutom dataprovider : Hello YannickHave you found information,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=52809&amp;title=loading-recurrents-events-with-cutom-dataprovider#52809</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5516">francois_m</a><br /><strong>Subject:</strong> 13559<br /><strong>Posted:</strong> 05 September 2009 at 7:35am<br /><br /><DIV dir=ltr id=result_>Hello Yannick<BR><BR>Have you found information, I have the same problem as you. <BR><BR>Thank you</DIV><DIV dir=ltr>&nbsp;</DIV><DIV dir=ltr>Francois</DIV>]]>
   </description>
   <pubDate>Sat, 05 Sep 2009 07:35:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=52809&amp;title=loading-recurrents-events-with-cutom-dataprovider#52809</guid>
  </item> 
  <item>
   <title><![CDATA[Loading recurrents events with cutom dataprovider :  Hi Yannick, I have solved the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=48779&amp;title=loading-recurrents-events-with-cutom-dataprovider#48779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4601">austro</a><br /><strong>Subject:</strong> 13559<br /><strong>Posted:</strong> 07 May 2009 at 6:12pm<br /><br />Hi Yannick,<div>I have solved the license issue.</div><div>Just add these lines of code to the initialization of the window that holds the control.</div><font size="1" color="#008000"></font><p><font size="1" color="#008000">CalSet</font><font size="1"> is object Automation dynamic</font></p><div><font size="1"></font><font size="1" color="#008000">CalSet</font><font size="1"> =new object Automation </font><font size="1" color="#800080" face="MS Shell Dlg">"Codejock.CalendarGlobalSettings.13.0.0"</font></div><font size="1" color="#800080" face="MS Shell Dlg"></font><font size="1" color="#008000"></font><p><font size="1" color="#008000">CalSet</font><font size="1">&gt;&gt;</font><font size="1" color="#008000">License</font><font size="1">(</font><font size="1" color="#800080" face="MS Shell Dlg">"Calendar Control Copyright (c) 2003-2009 Codejock Software"</font><font size="1">+</font><i><font size="1" color="#0000ff">CR</font></i><font size="1">+</font><font size="1" color="#800080" face="MS Shell Dlg">"PRODUCT-ID: Codejock.Calendar.ActiveX.v13.0"</font><font size="1">+</font><i><font size="1" color="#0000ff">CR</font></i><font size="1">+</font><font size="1" color="#800080" face="MS Shell Dlg">"VALIDATE-CODE: xxx-xxx-xxx-xxx"</font><font size="1">)</font></p><div></div><div><font size="1">Also be careful with your registry entries it seems to want to find it in the original codejock directory.</font></div><div><font size="1">&nbsp;</font></div><div><font size="1">Yes I am interested in collaberation, some other developers are doing&nbsp;interesting things with it.</font></div><div><font size="1">But I still have not fixed this recurrence issue.</font></div><div><font size="1">Are you using classes or procedures to work the calendar?</font></div><div><font size="1">Regards</font></div><div><font size="1">Mark Irwin&nbsp;</font></div>]]>
   </description>
   <pubDate>Thu, 07 May 2009 18:12:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=48779&amp;title=loading-recurrents-events-with-cutom-dataprovider#48779</guid>
  </item> 
  <item>
   <title><![CDATA[Loading recurrents events with cutom dataprovider : Hello,I am using Codejock with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=48534&amp;title=loading-recurrents-events-with-cutom-dataprovider#48534</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5188">Yan59</a><br /><strong>Subject:</strong> 13559<br /><strong>Posted:</strong> 01 May 2009 at 4:32am<br /><br />Hello,<br><br>I am using Codejock with windev too.<br><br>Did you solved the problem or may I help you ?<br><br>For my side, I have a question about integration of Calendar activex in Windev <br><br>How setup the license number to the activex ?<br><br>I would be very pleased to share with you experiences on this activex..<br><br>Best Regards,<br><br>Yannick <br>French Speaker<br>]]>
   </description>
   <pubDate>Fri, 01 May 2009 04:32:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=48534&amp;title=loading-recurrents-events-with-cutom-dataprovider#48534</guid>
  </item> 
  <item>
   <title><![CDATA[Loading recurrents events with cutom dataprovider : Hello,I use calendar ActiveX with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=46179&amp;title=loading-recurrents-events-with-cutom-dataprovider#46179</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4859">flam70</a><br /><strong>Subject:</strong> 13559<br /><strong>Posted:</strong> 03 March 2009 at 5:21am<br /><br />Hello,<br><br>I use calendar ActiveX with the Windev environment. Istore events and patterns in two separated tables and i use a customprovider.<br>I can create events with recurrence in the database(HyperFile Database). But when i load events from the database into thecalendar, recurrents events are loading as multidays events,occurrences seem to be not generated. I try to follow the example codeprovided with the activex. I have implemented DoRetrieveDayEvents andDoReadRPattern as explained but it does not work as well. I run out ofideas.<br><br>Here is a snippet of my code below :<br><br><b>// Initialization of the ActiveX&nbsp; <br>// Calendar activeX's name is AX_Active1<br></b><br>AX_ActiveX1&gt;&gt;SetDataProvider("Provider=Custom")<br><br>AX_ActiveX1&gt;&gt;DataProvider&gt;&gt;Open()<br>IF NOT AX_ActiveX1&gt;&gt;DataProvider&gt;&gt;Open() THEN<br>&nbsp;&nbsp;&nbsp; AX_ActiveX1&gt;&gt;DataProvider&gt;&gt;Create()<br>END<br>ActiveXEvent(CAL_DoRetrieveDayEvents,AX_ActiveX1,"DoRetrieveDayEvents")<br>ActiveXEvent(CAL_DoReadRPattern,AX_ActiveX1,"DoReadRPattern")<br>...<br><br><br><b>// DoRetrieveDayEvents</b><br><b>PROCEDURE CAL_DoRetrieveDayEvents(laDate,pEvents)</b><br><br>sReqSQL is string<br>dhVdate is DateTime<br>nVannee, nVmois, nVjour are strings<br>MaRequete is Data Source<br><br>dhVdate &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = laDate<br><br>nVannee &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = Left(dhVdate,4)<br>nVmois &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = Middle(dhVdate,5,2)<br>nVjour &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = Middle(dhVdate,7,2)<br><br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = "SELECT * FROM TBLEvenement WHERE" <br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += " (ReccurenceState = 0 OR ReccurenceState = 1) AND "<br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += "( LEFT(StartDateTime,4) &lt; " + "'"+&nbsp; nVannee + "'"&nbsp; <br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += " OR ( Left(StartDateTime,4) = " +&nbsp; "'" + nVannee + "'"&nbsp; + " AND "<br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += "(MID(StartDateTime,5,2) &lt; " +&nbsp; "'" + nVmois&nbsp; + "'" + " OR "<br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += "MID(StartDateTime,5,2) = " + "'" + nVmois + "'" + " AND "<br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += "MID(StartDateTime,7,2) &lt;= " +&nbsp; "'" +nVjour + "'"&nbsp; <br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += " ))) AND " <br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += "(LEFT(EndDateTime,4) &gt; " +&nbsp; "'" + nVannee + "'"&nbsp;&nbsp; <br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += " OR ( Left(EndDateTime,4) = " + "'" + nVannee +"'" + " AND "<br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += "(MID(EndDateTime,5,2) &gt; " +&nbsp; "'" + nVmois + "'"&nbsp; + " OR "<br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += "MID(EndDateTime,5,2) = " + "'"+nVmois+ "'"+ " AND " <br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += "MID(EndDateTime,7,2) &gt;= " + "'" +nVjour + "'"&nbsp; <br>sReqSQL &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; += " )))" <br><br>IF NOT HExecuteSQLQuery(MaRequete,hQueryDefault,sReqSQL) THEN<br>&nbsp;&nbsp;&nbsp; Error("Erreur d'initialisation de la requête" + CR+HErrorInfo())<br>END<br><br>pautEvt is object Automation dynamic<br>HReadFirst(MaRequete)<br>WHILE NOT HOut(MaRequete)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; pautEvt = TRT_CreateEventFromDB(MaRequete,False)<br>&nbsp;&nbsp;&nbsp; IF pautEvt &lt;&gt; Null THEN<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pEvents&gt;&gt;Add(pautEvt)<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;<br>&nbsp;&nbsp;&nbsp; HReadNext(MaRequete)<br>END<br>HCancelDeclaration(MaRequete)<br><br><b>//&nbsp; TRT_CreateEventFromDB</b><br><b>PROCEDURE TRT_CreateEventFromDB(sdSource is Data Source, bRException is boolean)</b><br><br>pautEvt is object Automation dynamic<br>nEventID is int<br>dhDateDebut, dhDateFin are DateHeures<br><br>nEventID = sdSource.EventID<br><br>pautEvt &nbsp; =&nbsp; FEN_Principale.AX_ActiveX1&gt;&gt;DataProvider&gt;&gt;createEventEx(nEventID)<br>pautEvt&gt;&gt;Subject&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = sdSource.Subject<br>pautEvt&gt;&gt;Body &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = sdSource.Body<br>dhDateDebut..Date &nbsp;&nbsp;&nbsp; = sdSource.StartDateTime<br>dhDateDebut..Time &nbsp;&nbsp; &nbsp; = sdSource.StartTime<br>dhDateFin..Date&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = sdSource.EndDateTime<br>dhDateFin..Time &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; = sdSource.EndTime<br><br>pautEvt&gt;&gt;StartTime &nbsp;&nbsp;&nbsp;&nbsp; = dhDateDebut<br>pautEvt&gt;&gt;EndTime &nbsp;&nbsp;&nbsp; &nbsp; = dhDateFin<br><br>IF sdSource.IsAllDayEvent = 1 THEN<br>&nbsp;&nbsp;&nbsp; pautEvt&gt;&gt;AllDayEvent = True<br>ELSE<br>&nbsp;&nbsp;&nbsp; pautEvt&gt;&gt;AllDayEvent = False&nbsp;&nbsp;&nbsp; <br>END<br><br>pautEvt&gt;&gt;CustomProperties&gt;&gt;LoadFromString(sdSource.CustomPropertiesXMLData)<br><br>IF bRException THEN<br>&nbsp;&nbsp;&nbsp; // TO DO<br>END<br><br>IF NOT bRException THEN<br>&nbsp;&nbsp;&nbsp; pautEvt&gt;&gt;CustomProperties("process_RecurrenceState") &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = sdSource.ReccurenceState<br>&nbsp;&nbsp;&nbsp; pautEvt&gt;&gt;CustomProperties("process_RecurrencePatternID")&nbsp;&nbsp;&nbsp; = sdSource.RecurrencePatternID<br>&nbsp;END<br><br>RESULT pautEvt<br><b><br>// DoReadRPattern</b><br><b>PROCEDURE CAL_DoReadRPattern(patternID,pPattern)</b><br><br>sdRequeteReadRPattern is Data Source<br>sStrSQL is string<br><br>sStrSQL = "SELECT * FROM CalendarRecurrencePatterns WHERE RP_ID = " + patternID<br>IF NOT HExecuteSQLQuery(sdRequeteReadRPattern,hQueryDefault,sStrSQL) THEN<br>&nbsp;&nbsp;&nbsp; Error("Erreur d'initialisation de la requête" + CR+HErrorInfo())<br>END<br><br>HReadFirst(sdRequeteReadRPattern)<br>pPattern = TRT_CreateRPatternFromDB(sdRequeteReadRPattern)<br>HCancelDeclaration(sdRequeteReadRPattern)<br><br><b>//TRT_CreateRPatternFromDB<br>PROCEDURE TRT_CreateRPatternFromDB(sdSource is Data Source)</b><br><br>pautMonPattern is object Automation dynamic<br>patternID is int<br>dhDateDebut, dhHeureDebut, dhDateFin&nbsp; are DateHeures<br><br><br>patternID &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = sdSource.RP_ID<br>pautMonPattern&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = FEN_Principale.AX_ActiveX1&gt;&gt;DataProvider&gt;&gt;CreateRecurrencePattern(patternID)<br><br>pautMonPattern&gt;&gt;MasterEventId &nbsp;&nbsp;&nbsp; = sdSource.RP_MasterEventID<br><br>dhDateDebut = sdSource.RP_StartDate<br>dhHeureDebut = sdSource.RP_StartTime<br><br>pautMonPattern&gt;&gt;StartDate &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = dhDateDebut<br>pautMonPattern&gt;&gt;StartTime &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = dhHeureDebut<br><br>pautMonPattern&gt;&gt;DurationMinutes&nbsp;&nbsp;&nbsp; = sdSource.RP_Duration<br><br>pautMonPattern&gt;&gt;CustomProperties&gt;&gt;LoadFromString(sdSource.CustomPropertiesXMLData)<br>pautMonPattern&gt;&gt;EndMethod &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = sdSource.RP_EndMethod<br>SWITCH pautMonPattern&gt;&gt;EndMethod<br>&nbsp;&nbsp;&nbsp; CASE 0 // EndDate<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; dhDateFin = sdSource.RP_EndDate<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pautMonPattern&gt;&gt;EndDate &nbsp;&nbsp;&nbsp; = dhDateFin<br>&nbsp;&nbsp;&nbsp; CASE 1 // EndAfterOccurences<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pautMonPattern&gt;&gt;EndAfterOccurrences = sdSource.RP_EndAfterOccurrences<br>&nbsp;&nbsp;&nbsp; OTHER CASE<br>END<br><br>pautMonPattern&gt;&gt;Options&gt;&gt;RecurrenceType = sdSource.RPO_RecurrenceType<br><br>IF pautMonPattern&gt;&gt;Options&gt;&gt;RecurrenceType = 2 THEN&nbsp; // RecurrenceWeekly pour les tests<br>&nbsp;&nbsp;&nbsp; Trace("Récurrence weekly")<br>&nbsp;&nbsp;&nbsp; pautMonPattern&gt;&gt;Options&gt;&gt;WeeklyDayOfWeekMask = sdSource.RPO_WeeklyDayOfWeekMask<br>&nbsp;&nbsp;&nbsp; pautMonPattern&gt;&gt;options&gt;&gt;WeeklyIntervalWeeks = sdSource.RPO_WeeklyIntervalWeeks<br>ELSE<br>&nbsp;&nbsp;&nbsp; IF pautMonPattern&gt;&gt;Options&gt;&gt;RecurrenceType = 1 THEN<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pautMonPattern&gt;&gt;Options&gt;&gt;DailyEveryWeekDayOnly = sdSource.RPO_DailyEveryWeekDayOnly<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pautMonPattern&gt;&gt;Options&gt;&gt;DailyIntervalDays = sdSource.RPO_DailyIntervalDays<br>&nbsp;&nbsp;&nbsp; END<br>END<br><br>RESULT pautMonPattern<br><br>// End of snipped code<br><br>What's wrong with my code ? I really don't understand why occurences arenot well-generated by the dataProvider from the masterEvent . <br><br>Please i need help.<br><br>Thanks]]>
   </description>
   <pubDate>Tue, 03 Mar 2009 05:21:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13559&amp;PID=46179&amp;title=loading-recurrents-events-with-cutom-dataprovider#46179</guid>
  </item> 
 </channel>
</rss>