<?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>Newton-Williams.com &#187; access</title>
	<atom:link href="http://newton-williams.com/tag/access/feed/" rel="self" type="application/rss+xml" />
	<link>http://newton-williams.com</link>
	<description>Our Online Home</description>
	<lastBuildDate>Wed, 01 Feb 2012 00:50:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Microsoft Access 2003</title>
		<link>http://newton-williams.com/2010/01/microsoft-access-2003/</link>
		<comments>http://newton-williams.com/2010/01/microsoft-access-2003/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 21:03:46 +0000</pubDate>
		<dc:creator>Gareth</dc:creator>
				<category><![CDATA[Musings]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Word of the Day]]></category>
		<category><![CDATA[2003]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[iif]]></category>
		<category><![CDATA[immediate if]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[values]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://newton-williams.com/?p=185</guid>
		<description><![CDATA[I may have mentioned that my job revolves, in part, around producing queries in Access. There are all sorts of terms that get applied to what I do. Monitoring, Reporting, Data Management, Database Administration, Information Systems, Management Information. Many of these terms mean different things depending on who you are speaking with. So I wouldn’t [...]]]></description>
			<content:encoded><![CDATA[<p>I may have mentioned that my job revolves, in part, around producing queries in Access. There are all sorts of terms that get applied to what I do. Monitoring, Reporting, Data Management, Database Administration, Information Systems, Management Information. Many of these terms mean different things depending on who you are speaking with. So I wouldn’t worry about them.<span id="more-185"></span></p>
<p>Instead let’s take a look at some of the functions I have been playing with lately to save my time in processing data for reports.</p>
<p>Replace:</p>
<p>This neat little gem allows you to edit the values in a column. For example, if your database uses some values with context values included then you can remove the context element on the fly. For example, your database includes customer type in front of each order reference number, like this &#8216;Bus &#8211; 657483&#8242; for business users. You put the context values there for a good reason but now you just want the order numbers. What do you do? You use a Replace function, that’s what you do. Something like this,</p>
<p>Expr1:Replace([warehouse.orders],&#8221;Bus – &#8220;,&#8221;")</p>
<p>The replace function includes some error handling so you might want to nest this within an IIF to handle exceptions. For instance, if your report includes some null values there will return an <em>error</em> value. I do it this way, it may not be the best way, but hey, we live to learn.</p>
<p>Expr2:IIF([warehouse.orders] is null,&#8221;",Replace([warehouse.orders],&#8221;Bus – &#8220;,&#8221;"))</p>
<p>Short, sweet, and simple. I think that’s enough for now.</p>
<blockquote><p>Word of the day: <strong><a title="Check the definition here" href="http://www.dictionary.com/browse/demotic">Demotic</a></strong><br />
<em>- adjective<br />
</em>1 &#8211; of or pertaining to the ordinary, everyday, current form of a language; vernacular: a poet with a keen ear for demotic rhythms.<br />
2 &#8211; of or pertaining to the common people; popular.<br />
3 &#8211; of, pertaining to, or noting the simplified form of hieratic writing used in ancient Egypt between 700 b.c. and a.d. 500.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://newton-williams.com/2010/01/microsoft-access-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

