<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>darragh murray &#187; General</title>
	<atom:link href="http://www.darraghmurray.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darraghmurray.com</link>
	<description>Obeying the rules of thermodynamics since 1981!</description>
	<lastBuildDate>Wed, 10 Feb 2010 18:22:56 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bringing Back the Hoff</title>
		<link>http://www.darraghmurray.com/general/bringing-back-the-hoff/</link>
		<comments>http://www.darraghmurray.com/general/bringing-back-the-hoff/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 02:55:31 +0000</pubDate>
		<dc:creator>daz</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.darraghmurray.com/?p=460</guid>
		<description><![CDATA[My father is occasionally known for some fairly random but hilarious behaviour. I&#8217;ve made it an occasional hobby of mine to document some of his more inventive brain snaps, but not currently being in the country at the moment, I must rely on my siblings to provide with dad&#8217;s unique brand of comedy gold. The [...]]]></description>
			<content:encoded><![CDATA[<p>My father is occasionally known for some fairly random but hilarious behaviour. I&#8217;ve made it an occasional hobby of mine to document some of his more inventive brain snaps, but not currently being in the country at the moment, I must rely on my siblings to provide with dad&#8217;s unique brand of comedy gold. The following, edited, message is courtesy of my sister, Phay.</p>
<blockquote><p>&#8220;So i walk outside today to notice dad down on his hands and knees acid washing the tiles around the house,  wearing a blue-mesh headpiece similar to what I&#8217;ve seen a few days earlier lying about the kitchen used to protect the collected mangoes from bruising &#8211;  only to find that the bag really was one of the bags used to collect the mangoes.&#8221;</p></blockquote>
<p>Oh, but it gets better.</p>
<blockquote><p>&#8220;Dad then began to get up off his feet for me then to notice him wearing a white shirt with the disfigured face of David Hasslehoff on the front. He turned around, revealing the the back of the shirt which was adorned with the phrase &#8216;BRING BACK THE HOFF&#8217; in giant letters. Ahhh the life of dear old Toshy boy.&#8221;</p></blockquote>
<p>To clarify, this shirt was actually a shirt that I had owned for a charity fun run a few years back, that I thought I had thrown out. I think Dad may have gone lurking in the the bin for this gem. </p>
<p><a href="http://www.darraghmurray.com/wp-content/uploads/hoff.jpg"><img src="http://www.darraghmurray.com/wp-content/uploads/hoff.jpg" alt="" title="flag" class="aligncenter size-medium wp-image-421" /></a><br />
<em>Not quite the shirt worn by my father, but you get the idea</em></p>
<p>To be honest, I suspect he might do it on purpose occasionally, but man, I had to share this one with the world.</p>
<p class="fbconnect_share"><fb:share-button class="url" href="http://www.darraghmurray.com/general/bringing-back-the-hoff/" /></p><p align="left"><a class="tt" href="http://twitter.com/home/?status=Bringing+Back+the+Hoff+http://wi9t2.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.darraghmurray.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Bringing+Back+the+Hoff+http://wi9t2.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.darraghmurray.com/general/bringing-back-the-hoff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red Alert</title>
		<link>http://www.darraghmurray.com/general/red-alert/</link>
		<comments>http://www.darraghmurray.com/general/red-alert/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 03:39:23 +0000</pubDate>
		<dc:creator>daz</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.darraghmurray.com/?p=410</guid>
		<description><![CDATA[Hi all. DM.com is changing. I&#8217;ve removed all the previous content excepting the tech tips. The old content will be edited and moved to a new home. This web page will get a face lift sometime in 2010 and serve simply as small place on the web with some information vaguely related to myself. More&#8230;.soon.
 [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all. DM.com is changing. I&#8217;ve removed all the previous content excepting the tech tips. The old content will be edited and moved to a new home. This web page will get a face lift sometime in 2010 and serve simply as small place on the web with some information vaguely related to myself. More&#8230;.soon.</p>
<p class="fbconnect_share"><fb:share-button class="url" href="http://www.darraghmurray.com/general/red-alert/" /></p><p align="left"><a class="tt" href="http://twitter.com/home/?status=Red+Alert+http://bfacg.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.darraghmurray.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Red+Alert+http://bfacg.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.darraghmurray.com/general/red-alert/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ever wanted to retreive the label information of a textbox control in Ms Access?</title>
		<link>http://www.darraghmurray.com/general/ever-wanted-to-retreive-the-label-information-of-a-textbox-control-in-ms-access/</link>
		<comments>http://www.darraghmurray.com/general/ever-wanted-to-retreive-the-label-information-of-a-textbox-control-in-ms-access/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 05:03:48 +0000</pubDate>
		<dc:creator>daz</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.darraghmurray.com/?p=227</guid>
		<description><![CDATA[Been a while since I&#8217;ve written one of these things. Truth is, I haven&#8217;t been doing much Access databases in some time. However, I&#8217;m back in the fold, writing a small Access 2007 app and reacquianting myself with its nuances and idiosynchroses. In the process, I stumbled across a small little feature that, while obvious [...]]]></description>
			<content:encoded><![CDATA[<p>Been a while since I&#8217;ve written one of these things. Truth is, I haven&#8217;t been doing much Access databases in some time. However, I&#8217;m back in the fold, writing a small Access 2007 app and reacquianting myself with its nuances and idiosynchroses. In the process, I stumbled across a small little feature that, while obvious once you think about it, is not immediately apparent to the casual user.</p>
<p>Often on Access forms you&#8217;ll use a textbox control. Usually, unless you delete them, the textbox control comes with an associated label control. Lets call my example &#8220;txtGenericTextBox&#8221; with a label called &#8220;lblGenericTextBoxLabel&#8221; with the string &#8220;THIS IS A LABEL&#8221; in the caption property of the label.</p>
<p>Now, what if you want to get certain values of that label in your VBA code? For instance, lets write the caption of the textbox label to the screen. Easy-peasy!</p>
<blockquote><p><code>MsgBox Me.txtGenericTextBox.Controls(0).Caption</code></p></blockquote>
<p>This will display the caption of a label associated with txtGenericTextBox. As such, you can access a host of individual attributes of the textbox&#8217;s label using similar methods. </p>
<p>How is this useful? Well, in my case, I&#8217;m developing some field validation for a data entry form for a beforeUpdate event. I&#8217;m looping through all the controls on a form that have the word &#8220;Required&#8221; in their TAG property. An example of similar code is shown over at DatabaseDev.co.uk (<a href="http://www.databasedev.co.uk/validate_textbox.html">article link here</a>).</p>
<p>But I want nice &#8216;user friendly&#8217; error messages. I don&#8217;t want the user seeing &#8216;you haven&#8217;t entered proper data in the field txtGenericData&#8217; &#8211; I want it to use the nice clean label caption which reads much better. </p>
<p>There may be many more easier ways to do what I&#8217;m doing, but this seems pretty straightforward. Hopefully it is of some assistance. </p>
<p class="fbconnect_share"><fb:share-button class="url" href="http://www.darraghmurray.com/general/ever-wanted-to-retreive-the-label-information-of-a-textbox-control-in-ms-access/" /></p><p align="left"><a class="tt" href="http://twitter.com/home/?status=Ever+wanted+to+retreive+the+label+information+of+a+textbox+control+in+Ms+Access%3F+http://gmkyz.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.darraghmurray.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Ever+wanted+to+retreive+the+label+information+of+a+textbox+control+in+Ms+Access%3F+http://gmkyz.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.darraghmurray.com/general/ever-wanted-to-retreive-the-label-information-of-a-textbox-control-in-ms-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DCount &#8211; &#8220;You canceled the Previous Operation&#8221; error</title>
		<link>http://www.darraghmurray.com/general/dcount-you-cancelled-the-previous-operation-error/</link>
		<comments>http://www.darraghmurray.com/general/dcount-you-cancelled-the-previous-operation-error/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 05:43:32 +0000</pubDate>
		<dc:creator>daz</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.darraghmurray.com/?p=185</guid>
		<description><![CDATA[Really really quick tip
It seems that if you use dashes (-) in your field names for any table, and try to run functions on them in VBA like &#8220;DCount()&#8221;, you&#8217;ll keep encountering a Run-Time Error &#8216;2001&#8242; &#8220;You canceled the previous operation&#8221;.
My recommendation: get rid of dashes and underscores in your table field names.
Edit: You will [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Really really quick tip</strong></p>
<p>It seems that if you use dashes (-) in your field names for any table, and try to run functions on them in VBA like &#8220;DCount()&#8221;, you&#8217;ll keep encountering a Run-Time Error &#8216;2001&#8242; &#8220;You canceled the previous operation&#8221;.</p>
<p>My recommendation: get rid of dashes and underscores in your table field names.</p>
<p><strong>Edit</strong>: You will also get this error if you request incorrect fields names in the table. For instance, you are trying to ask for a count of customerIds and write the code as &#8220;DCount(&#8220;customerId&#8221;, &#8220;tblCustomers&#8221;)&#8221;, when the field in the actual table is &#8216;intCustomerId&#8217; or something along those lines. Sounds obvious but Jet gives you back a non-helpful error message. </p>
<p class="fbconnect_share"><fb:share-button class="url" href="http://www.darraghmurray.com/general/dcount-you-cancelled-the-previous-operation-error/" /></p><p align="left"><a class="tt" href="http://twitter.com/home/?status=DCount+%E2%80%93+%E2%80%9CYou+canceled+the+Previous+Operation%E2%80%9D+error+http://c33m8.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.darraghmurray.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=DCount+%E2%80%93+%E2%80%9CYou+canceled+the+Previous+Operation%E2%80%9D+error+http://c33m8.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.darraghmurray.com/general/dcount-you-cancelled-the-previous-operation-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Argh! Wordpress post.php returns blank page&#8230;solution.</title>
		<link>http://www.darraghmurray.com/general/argh-wordpress-postphp-returns-blank-pagesolution/</link>
		<comments>http://www.darraghmurray.com/general/argh-wordpress-postphp-returns-blank-pagesolution/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 20:21:09 +0000</pubDate>
		<dc:creator>daz</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.darraghmurray.com/?p=171</guid>
		<description><![CDATA[Yes, wordpress is being annoying.
I was having a problem with publishing new posts after upgrading to the latest wordpress. I would write a post, hit publish, and the post.php would appear, BLANK. No real explanation was given. I did notice that the post I had selected to publish turned up as a draft. Trying to [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, wordpress is being annoying.</p>
<p>I was having a problem with publishing new posts after upgrading to the latest wordpress. I would write a post, hit publish, and the post.php would appear, BLANK. No real explanation was given. I did notice that the post I had selected to publish turned up as a draft. Trying to turn these &#8216;drafts&#8217; into &#8216;published&#8217; articled did the exact same thing.</p>
<p>After a bit of an extensive search for this problem, <a href="http://wordpress.org/support/topic/154571">I came across a solution on this wordpress forum discussion</a>. I thought I&#8217;d repost what solution worked for me (indeed it was one written in the preceding link, but I&#8217;ll summarise). It seems to be either a) a database problem or b) a plugin problem. Try the following (** though I take no responsibility if you suddenley destroy your wordpress install and/or database **)</p>
<p>1. Back up your wordpress database before doing anything. I repeat&#8230;BACKUP.<br />
2. Hopefully, you are using phpmysqlAdmin (it make this easier). Locate your wp_settings table.<br />
3. Find an entry called active_plugin field, with a value similar to &#8220;a:1:{s:5:./././././././././././././././././././././tmp/upl52653.jpg&#8221; or something.<br />
4. Delete it.<br />
5. Get out, save, and try make a post.</p>
<p>Not a great explanation, but read through <a href="http://wordpress.org/support/topic/154571">this forum post</a></p>
<p class="fbconnect_share"><fb:share-button class="url" href="http://www.darraghmurray.com/general/argh-wordpress-postphp-returns-blank-pagesolution/" /></p><p align="left"><a class="tt" href="http://twitter.com/home/?status=Argh%21+Wordpress+post.php+returns+blank+page%E2%80%A6solution.+http://sz7no.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.darraghmurray.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Argh%21+Wordpress+post.php+returns+blank+page%E2%80%A6solution.+http://sz7no.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.darraghmurray.com/general/argh-wordpress-postphp-returns-blank-pagesolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A useful fashion to code multiple filters on an Access form</title>
		<link>http://www.darraghmurray.com/general/a-useful-fashion-to-code-multiple-filters-on-an-access-form/</link>
		<comments>http://www.darraghmurray.com/general/a-useful-fashion-to-code-multiple-filters-on-an-access-form/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 04:59:52 +0000</pubDate>
		<dc:creator>daz</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.darraghmurray.com/access-tips-solutions/a-useful-fashion-to-code-multiple-filters-on-an-access-form/</guid>
		<description><![CDATA[Programming an form filter in Ms Access is simple enough. Assume you have a combo box with two values &#8211; TRUE or FALSE &#8211; on some sort of boolean control. You want the filter to set this value to TRUE when the combo box reads TRUE, and vice versa. Usually you would simply put some [...]]]></description>
			<content:encoded><![CDATA[<p>Programming an form filter in Ms Access is simple enough. Assume you have a combo box with two values &#8211; TRUE or FALSE &#8211; on some sort of boolean control. You want the filter to set this value to TRUE when the combo box reads TRUE, and vice versa. Usually you would simply put some code in the afterUpdate() event of the combo box which would read something like this:</p>
<blockquote><p>
sub cbxSomeBox_AfterUpdate()<br />
    dim strFilter as string<br />
    if me.cbxSomeBox.value <> &#8220;&#8221; then<br />
        strFilter = me.cbxSomeBox.value<br />
        me.filter = strFilter<br />
        me.filterOn = true <br />
    end if<br />
end sub
</p></blockquote>
<p>This works fine if you simply have one custom filter control on a form. Occasionally you may want to have multiple custom filter controls on a form, and then it gets slightly more complex. Using code similar to the preceding example will not preserve previous filtering choices &#8211; i.e you filter on one control, then select a new filter control and select a choice, the new filter control will filter the entire recordset and not the results of the previous filtered recordset (apologies for this explanation &#8211; it may sound rather confusing)</p>
<p>However, I&#8217;ve come across a useful solution to this dilemma that I wish to share with you.</p>
<p><a href="http://www.thescripts.com/forum/thread590551.html">This article at thescripts.com contains a sub-procedure called checkFilter()</a> which, if you download the example mdb linked from this page, and have a quick examination of the code, you&#8217;ll realise that the checkFilter procedure is called during the &#8216;after update&#8217; events of several custom filter controls based on a form. What this does is every time the user &#8216;does&#8217; something with one of these custom filters, the procedure rebuilds the entire filter, and applies it to the form. This turns out to be REALLY useful.</p>
<p class="fbconnect_share"><fb:share-button class="url" href="http://www.darraghmurray.com/general/a-useful-fashion-to-code-multiple-filters-on-an-access-form/" /></p><p align="left"><a class="tt" href="http://twitter.com/home/?status=A+useful+fashion+to+code+multiple+filters+on+an+Access+form+http://irqq9.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.darraghmurray.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=A+useful+fashion+to+code+multiple+filters+on+an+Access+form+http://irqq9.th8.us" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.darraghmurray.com/general/a-useful-fashion-to-code-multiple-filters-on-an-access-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
