<?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 : Open with Recordset</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Open with Recordset]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 29 May 2026 17:42:32 +0000</pubDate>
  <lastBuildDate>Mon, 20 Jul 2009 12:49:40 +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=14473</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[Open with Recordset : Hi,  Appreciate your feedback...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14473&amp;PID=51114&amp;title=open-with-recordset#51114</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4561">ampcom</a><br /><strong>Subject:</strong> 14473<br /><strong>Posted:</strong> 20 July 2009 at 12:49pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Appreciate your feedback and suggestions</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>&nbsp;</DIV><DIV>Tony</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 20 Jul 2009 12:49:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14473&amp;PID=51114&amp;title=open-with-recordset#51114</guid>
  </item> 
  <item>
   <title><![CDATA[Open with Recordset : To filter you can use the PrePopulate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14473&amp;PID=51113&amp;title=open-with-recordset#51113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 14473<br /><strong>Posted:</strong> 20 July 2009 at 11:10am<br /><br />To filter you can use the PrePopulate event combined with something like CustomProperties as a filter.<br><br>Here is one way to filter events. It is a very basic sample using PrePopulate.<br><br>This sample assumes you have a custom property called "Name" for yourevents, and some global variable named strName that holds the name ofthe user you want to view.&nbsp;The sample below will see if the event has aproperty with "name", if it doesn't, then it checks to see if the nameis equal to strName, if it's not, it will hide it (this only hides theevent, not remove it from the data source).<br><br>You can use Prepopulate event to hide some events in the Calendar display. <br><br>Private Sub CalendarControl_PrePopulate(ByVal ViewGroup As XtremeCalendarControl.CalendarViewGroup, ByVal Events As XtremeCalendarControl.CalendarEvents)<br><br>&nbsp;&nbsp;&nbsp; If Events.Count &gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim i As Long<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = Events.Count - 1 To 0 Step -1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not Events(i).CustomProperties("name") = "" Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not Events(i).CustomProperties("name") = strName Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Events.Remove i<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br><br>Here is another version:<br><br><br>This assumesyou have some BOOL that specifies when filtering is enabled(bFilterMode). Also assumes your filter text is stored in a globalvariable (sFilterText)<br><br>The sample simply compares the Subject ofthe event to some text, if they match, then the event will bedisplayed, if they don't match, it is not displayed. This is onlyvisual, no data is removed from the database.<br><br>Obviously you can improve on the compare, the following sample assumes an exact match.<br><br>Private Sub CalendarControl_PrePopulate(ByVal ViewGroup AsXtremeCalendarControl.CalendarViewGroup, ByVal Events AsXtremeCalendarControl.CalendarEvents)<br> <br>&nbsp;Dim pEvent As CalendarEvent<br>&nbsp;Dim x As Integer<br>&nbsp;x = 0<br>&nbsp;&nbsp;<br>&nbsp;For Each pEvent In Events<br>&nbsp;&nbsp;If bFilterMode Then<br>&nbsp;&nbsp;&nbsp;If pEvent.Subject &lt;&gt; sFilterText Then<br>&nbsp;&nbsp;&nbsp;&nbsp;Events.Remove x<br>&nbsp;&nbsp;&nbsp;End If<br>&nbsp;&nbsp;&nbsp;x = x + 1<br>&nbsp;&nbsp;End If<br>&nbsp;Next<br>&nbsp;&nbsp;<br>End Sub<br><br>Hope this helps<br>]]>
   </description>
   <pubDate>Mon, 20 Jul 2009 11:10:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14473&amp;PID=51113&amp;title=open-with-recordset#51113</guid>
  </item> 
  <item>
   <title><![CDATA[Open with Recordset : Has anyone got an example they...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14473&amp;PID=50165&amp;title=open-with-recordset#50165</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4561">ampcom</a><br /><strong>Subject:</strong> 14473<br /><strong>Posted:</strong> 21 June 2009 at 4:47pm<br /><br /><P>Has anyone got an example they could share of modifying the Custom Provider (SQL) example to use an Access database.</P><DIV>Have tried tech support which was a waste of time - they just say see the example.&nbsp; Help or what!!</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 21 Jun 2009 16:47:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14473&amp;PID=50165&amp;title=open-with-recordset#50165</guid>
  </item> 
  <item>
   <title><![CDATA[Open with Recordset : Hi,  Can anyone give an example...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14473&amp;PID=49714&amp;title=open-with-recordset#49714</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4561">ampcom</a><br /><strong>Subject:</strong> 14473<br /><strong>Posted:</strong> 08 June 2009 at 3:41pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Can anyone give an example of retrieving calendar data from access database using a recordset / filter? (I don't want the calendar to retrieve all records in the Events table).</DIV><DIV>&nbsp;</DIV><DIV>I have searched through the forums and cannot find any suggestions.</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance for any pointers</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 08 Jun 2009 15:41:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14473&amp;PID=49714&amp;title=open-with-recordset#49714</guid>
  </item> 
 </channel>
</rss>