<?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 : Delete Event in MS Access Sample</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Delete Event in MS Access Sample]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 06:59:38 +0000</pubDate>
  <lastBuildDate>Wed, 13 Jul 2011 13:09:53 +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=18656</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[Delete Event in MS Access Sample : How do you delete an event from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18656&amp;PID=65253&amp;title=delete-event-in-ms-access-sample#65253</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6828">rmcgaffic</a><br /><strong>Subject:</strong> 18656<br /><strong>Posted:</strong> 13 July 2011 at 1:09pm<br /><br /><DIV>How do you delete an event from the Codejock Calendar using Microsoft Access?</DIV><DIV>&nbsp;</DIV><DIV>I just noticed that the Codejock Microsoft Access sample does not allow a user</DIV><DIV>to click on an event on the calendar and then do either the following:</DIV><DIV>&nbsp;</DIV><DIV>1.&nbsp; Hit the Delete button</DIV><DIV>2.&nbsp; Click on a button that would delete the selected record. </DIV><DIV>&nbsp;</DIV><DIV>Clicking on the delete key just deletes, one letter at a time, the selected event's text.</DIV><DIV>&nbsp;</DIV><DIV><DIV>Using the following VBA doesn't work when placed behind a button:</DIV><DIV>DoCmd.RunCommand acCmdDeleteRecord</DIV><DIV>&nbsp;</DIV><DIV>A previous posting on this forum, entitled "Custom Toolbar Button to Delete Events"</DIV><DIV>suggested the following code:</DIV><DIV>&nbsp;</DIV><DIV>Set ContextEvent = CalendarControl.ActiveView.GetSelectedEvents(0).Event<BR>mnuDeleteEvent_Click<BR>Set ContextEvent = Nothing</DIV><DIV>&nbsp;</DIV><DIV>When I place this code behind my button, it errors out.</DIV><DIV>Can anyone suggest&nbsp;what code should be used in lieu of mnuDeleteEvent_Click, which</DIV><DIV>was not explained further by the forum member. </DIV><DIV>&nbsp;</DIV><DIV>Thanks, </DIV><DIV>Bob McGaffic<BR></DIV></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 13 Jul 2011 13:09:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18656&amp;PID=65253&amp;title=delete-event-in-ms-access-sample#65253</guid>
  </item> 
 </channel>
</rss>