<?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 : Bug in CustomProperties?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Bug in CustomProperties?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 11:56:26 +0000</pubDate>
  <lastBuildDate>Tue, 20 Apr 2010 13:43:18 +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=16427</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[Bug in CustomProperties? : In Access you must tell it what...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16427&amp;PID=58143&amp;title=bug-in-customproperties#58143</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 16427<br /><strong>Posted:</strong> 20 April 2010 at 1:43pm<br /><br />In Access you must tell it what type of variable you are passing.&nbsp;For example:<br><br>&nbsp;Dim propName As String<br>&nbsp;Dim propVal As String<br><br>I just tried this in Access and it works fine one you tell it what type. &nbsp;              ]]>
   </description>
   <pubDate>Tue, 20 Apr 2010 13:43:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16427&amp;PID=58143&amp;title=bug-in-customproperties#58143</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in CustomProperties? :   Hello,  I wrote a little...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16427&amp;PID=57533&amp;title=bug-in-customproperties#57533</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5958">chris3105</a><br /><strong>Subject:</strong> 16427<br /><strong>Posted:</strong> 10 March 2010 at 3:34pm<br /><br /><DIV></DIV><DIV></DIV><DIV></DIV>Hello,<DIV>&nbsp;</DIV><DIV>I wrote a little procedure for inserting/updating custom properties, and it seems, that there's a bug. Any help would be nice.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Code:</DIV><DIV>&nbsp;</DIV><DIV>Private ModifiedEvent As CalendarEvent<BR>Private m_pCalendar As CalendarControl</DIV><DIV>&nbsp;</DIV><DIV>Private sub SaveProp()</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim I As Long<BR>&nbsp;&nbsp;&nbsp; Dim propName<BR>&nbsp;&nbsp;&nbsp; Dim propVal<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; ModifiedEvent.CustomProperties.RemoveAll<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; For I = 1 To 5<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; propName = Trim(Me("editPropName" &amp; I))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Len(propName &amp; "") &gt; 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; propVal = Me("editPropValue" &amp; I)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ModifiedEvent.CustomProperties.Property(propName) = propVal<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print "Save as: ", propName, propVal<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp; Next</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; For Each propName In ModifiedEvent.CustomProperties<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Len(propName &amp; "") &gt; 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Debug.Print "Saved as: ", propName, ModifiedEvent.CustomProperties(propName)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;&nbsp; Next<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set m_pCalendar = Forms!frmkalender.g_pEditEvenArgs.m_pCalendar<BR>&nbsp;&nbsp;&nbsp; m_pCalendar.DataProvider.ChangeEvent ModifiedEvent </DIV><DIV>&nbsp;</DIV><DIV>end sub</DIV><DIV>&nbsp;</DIV><DIV>Output Debug1:</DIV><DIV>Save as:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zeile1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wert1<BR>Save as:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zeile2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wert2<BR>Save as:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zeile3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wert3</DIV><DIV>&nbsp;</DIV><DIV>Output Debug2:</DIV><DIV>Saved as:&nbsp;&nbsp;&nbsp;&nbsp; zeile1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wert3<BR>Saved as:&nbsp;&nbsp;&nbsp;&nbsp; zeile2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wert3<BR>Saved as:&nbsp;&nbsp;&nbsp;&nbsp; zeile3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wert3</DIV><DIV>&nbsp;</DIV><DIV>Value of field CustomPropertiesXMLDate in table Event:</DIV><DIV>&lt;Calendar CompactMode="1" Locale="1049"&gt;&lt;CustomProperties&gt;&lt;CustomProperty Name="zeile1" Value="wert3" VariantType="16396"/&gt;&lt;CustomProperty Name="zeile2" Value="wert3" VariantType="16396"/&gt;&lt;CustomProperty Name="zeile3" Value="wert3" VariantType="16396"/&gt;&lt;/CustomProperties&gt;&lt;/Calendar&gt;<BR></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 10 Mar 2010 15:34:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16427&amp;PID=57533&amp;title=bug-in-customproperties#57533</guid>
  </item> 
 </channel>
</rss>