 




<?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>IT Answers &#187; IIF statement</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/iif-statement/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 22:05:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>and IIf statement in a query</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/and-iif-statement-in-a-query/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/and-iif-statement-in-a-query/#comments</comments>
		<pubDate>Wed, 02 Jan 2013 15:12:54 +0000</pubDate>
		<dc:creator>Raleigh</dc:creator>
				<category><![CDATA[IIF statement]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/and-iif-statement-in-a-query/</guid>
		<description><![CDATA[New Discussion Post by carlosdl]]></description>
				<content:encoded><![CDATA[New Discussion Post by carlosdl]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/and-iif-statement-in-a-query/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Access 2010 macros</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/access-2010-macros/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/access-2010-macros/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 19:14:42 +0000</pubDate>
		<dc:creator>Danna</dc:creator>
				<category><![CDATA[Access 2010]]></category>
		<category><![CDATA[Access macros]]></category>
		<category><![CDATA[Access query]]></category>
		<category><![CDATA[IIF function]]></category>
		<category><![CDATA[IIF statement]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have a macro that 1)starts with a make-table query, 2)opens a report based on the new table, then 3)runs an If statement stating IF [Reports]![Reject Report]!=&#8221;NO&#8221; THEN EmailDatabaseObject called &#8220;Reject Report&#8221;. . . My problem is that after the macro completes it locks the table that was made earlier and I cannot run the [...]]]></description>
				<content:encoded><![CDATA[<p>I have a macro that 1)starts with a make-table query, 2)opens a report based on the new table, then 3)runs an If statement stating IF [Reports]![Reject Report]!=&#8221;NO&#8221; THEN EmailDatabaseObject called &#8220;Reject Report&#8221;. . . My problem is that after the macro completes it locks the table that was made earlier and I cannot run the macro again unless I close the entire database and reload it. (I get a error message saying that the table is locked by another user. Please wait until the other user closes out of the program and try again; or something like that.) There is no one using the database during these tests so I have no idea why the table is staying locked. Do you have any ideas on how to modify the macro to allow it to run consistantly?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/access-2010-macros/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Count IIF Statement?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/count-iif-statement/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/count-iif-statement/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 18:49:13 +0000</pubDate>
		<dc:creator>Twj2102</dc:creator>
				<category><![CDATA[Access query]]></category>
		<category><![CDATA[IIF]]></category>
		<category><![CDATA[IIF function]]></category>
		<category><![CDATA[IIF statement]]></category>
		<category><![CDATA[Query Design]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[In the design of a query, I noticed that under the tab &#8220;Group By&#8221;, there are only a few types of commands to make calculations. For example, the commands include Sum, Avg, Min, Max, Count, StDev, Var, First, Last, Expression, Where. Is it possible to have a special command? I&#8217;d like to use countif(field&#62;0) instead [...]]]></description>
				<content:encoded><![CDATA[<p>In the design of a query, I noticed that under the tab &#8220;Group By&#8221;, there are only a few types of commands to make calculations. For example, the commands include Sum, Avg, Min, Max, Count, StDev, Var, First, Last, Expression, Where. Is it possible to have a special command? I&#8217;d like to use countif(field&gt;0) instead of just counting the number of all the fields.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/count-iif-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DLookup or IIF statement?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/dlookup-or-iif-stmt/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/dlookup-or-iif-stmt/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 18:19:12 +0000</pubDate>
		<dc:creator>Alexvalentina</dc:creator>
				<category><![CDATA[DLookup]]></category>
		<category><![CDATA[IIF]]></category>
		<category><![CDATA[IIF function]]></category>
		<category><![CDATA[IIF statement]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[How do I update the value of one row with the value of a different row? i want to build an expression For example: I have 3 columns. If Column 1=C and C is Null, then I want the values for C in Column 2 to = 10000 (the value from Column 2 for A) [...]]]></description>
				<content:encoded><![CDATA[<div> How do I update the value of one row with the value of a different row? i want to build an expression<br/><br/> For example: I have 3 columns. If Column 1=C and C is Null, then I want the values for C in Column 2 to = 10000 (the value from Column 2 for A) and the values for C in Column 3 to = 22000 9the value from Column 3 for B)<br/><br/> Column1   Column2   Column 3<br/><br/> A              10000        200000<br/><br/> B              12000        220000<br/><br/> C<br/><br/> D              16000       300000<br/><br/> EXPECTED RESULT:<br/><br/> Column1   Column2   Column 3<br/><br/> A              10000        200000<br/><br/> B              12000        220000<br/><br/> [strong]C             10000         220000[/strong]<br/><br/> D              16000       300000<br/><br/> </div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/dlookup-or-iif-stmt/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>In Microsoft Access is there a way to put IIF statement criteria into a table for easier management and reference?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/in-microsoft-access-is-there-a-way-to-put-iif-statement-criteria-into-a-table-for-easier-management-and-reference/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/in-microsoft-access-is-there-a-way-to-put-iif-statement-criteria-into-a-table-for-easier-management-and-reference/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 13:52:54 +0000</pubDate>
		<dc:creator>As230149</dc:creator>
				<category><![CDATA[Access 2003]]></category>
		<category><![CDATA[Access Tables]]></category>
		<category><![CDATA[IIF function]]></category>
		<category><![CDATA[IIF statement]]></category>
		<category><![CDATA[Microsoft Product ID]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Question Edited by Serena3]]></description>
				<content:encoded><![CDATA[Question Edited by Serena3]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/in-microsoft-access-is-there-a-way-to-put-iif-statement-criteria-into-a-table-for-easier-management-and-reference/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Auto Replace Text in a table</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/auto-replace-text-in-a-table/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/auto-replace-text-in-a-table/#comments</comments>
		<pubDate>Tue, 04 May 2010 18:01:26 +0000</pubDate>
		<dc:creator>Dapostman</dc:creator>
				<category><![CDATA[IIF statement]]></category>
		<category><![CDATA[REPLACE]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Is there a statement I can add that will automatically replace a text string with another string? EX&#62; NORTH CHANGE TO BILLY BOB THROUGH OUT A FIELD]]></description>
				<content:encoded><![CDATA[<p>Is there a statement I can add that will automatically replace a text string with another string? EX&gt; NORTH CHANGE TO BILLY BOB THROUGH OUT A FIELD</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/auto-replace-text-in-a-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Still having trouble with IIF in Access 2007</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/still-having-trouble-with-iif-in-access-2007-2/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/still-having-trouble-with-iif-in-access-2007-2/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 18:15:19 +0000</pubDate>
		<dc:creator>Phil12550</dc:creator>
				<category><![CDATA[Access 2007]]></category>
		<category><![CDATA[Data base design]]></category>
		<category><![CDATA[IIF]]></category>
		<category><![CDATA[IIF function]]></category>
		<category><![CDATA[IIF statement]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[If I type in the criteria block Is Not Null [Br _extended=&#8221;true&#8221; />then only those people who have a position assigned to them are listed and the position is listed. These are the people who get 25 points. What I need to do is to replace the position with “25″ in simple terms, if any [...]]]></description>
				<content:encoded><![CDATA[<p>If I type in the criteria block  Is Not Null [Br _extended=&#8221;true&#8221; />then only those people who have a position assigned to them are listed and the position is listed. These are the people who get 25 points. What I need to do is to replace the position with “25″ in simple terms, if any value, then 25. Everything that anyone has sent me does not work for one reason or another <br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/still-having-trouble-with-iif-in-access-2007-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access 2007 IIF statement in query criteria</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/access-2007-iif-statement-in-query-criteria/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/access-2007-iif-statement-in-query-criteria/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 05:04:48 +0000</pubDate>
		<dc:creator>Scubacy</dc:creator>
				<category><![CDATA[Access 2007]]></category>
		<category><![CDATA[IIF statement]]></category>
		<category><![CDATA[Microsoft Access]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This is a query design looking at a checkbox on a form, if its checked, I would like to return only the database fields (ConfigData) that contain text. If it isn&#8217;t checked, return all the fields whether they have text or not&#8230;Pretty basic filter I thought Seems like I&#8217;m getting close but can&#8217;t seem to [...]]]></description>
				<content:encoded><![CDATA[<p>This is a query design looking at a checkbox on a form, if its checked, I would like to return only the database fields (ConfigData) that contain text. If it isn&#8217;t checked, return all the fields whether they have text or not&#8230;Pretty basic filter I thought<br />
Seems like I&#8217;m getting close but can&#8217;t seem to get it.</p>
<p>IIf([Forms]![Main Form]![chkConfigNote]=True,[WorkPacks].[ConfigData]&gt;&#8221;",[WorkPacks].[ConfigData])</p>
<p>Thanks for any help!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/access-2007-iif-statement-in-query-criteria/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Access IIF Statement Not Returning All Records based on Option Group</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/access-iif-statement-not-returning-all-records-based-on-option-group/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/access-iif-statement-not-returning-all-records-based-on-option-group/#comments</comments>
		<pubDate>Wed, 06 May 2009 20:39:13 +0000</pubDate>
		<dc:creator>EngTech55</dc:creator>
				<category><![CDATA[Access 2007]]></category>
		<category><![CDATA[IIF statement]]></category>
		<category><![CDATA[Microsoft Access]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I’m using Access 2007 and have a query referencing an Option Group on a Form as a filter. The Option Group has 3 choices: Billable Manhours (value = 1), Non Billable Manhours (value = 2), All Manhours (value = 3). My query statement is: IIf([Forms]![FormName]![OptMHs]=1,True,IIf([Forms]![FormName]![OptMHs]=2,False,???)) When All Manhours is selected (value = 3), I want [...]]]></description>
				<content:encoded><![CDATA[<p>I’m using Access 2007 and have a query referencing an Option Group on a Form as a filter. The Option Group has 3 choices:  Billable Manhours (value = 1), Non Billable Manhours (value = 2), All Manhours (value = 3).  My query statement is:</p>
<p>IIf([Forms]![FormName]![OptMHs]=1,True,IIf([Forms]![FormName]![OptMHs]=2,False,???))</p>
<p>When All Manhours is selected (value = 3), I want to return all values, whether True or False.  I can’t figure out what to place in my last False element to return all records. I&#8217;ve tried &#8220;&#8221;, Is Not Null, and other things, but returns an error message or no records.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/access-iif-statement-not-returning-all-records-based-on-option-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIf and showing all</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/iif-and-showing-all/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/iif-and-showing-all/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 19:31:04 +0000</pubDate>
		<dc:creator>Hh1354</dc:creator>
				<category><![CDATA[IIF function]]></category>
		<category><![CDATA[IIF statement]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I want to show in my criteria that: IIf([Issues].[DataOrigin]=2,-1,( no criteria or (0 or -1)) If I use null instead of no criteria my result is wrong if I use (0 Or _1) in Iff function my result is same as -1 but when I use (0 Or -1) in query I have right answer. [...]]]></description>
				<content:encoded><![CDATA[<p>I want to show in my criteria that:</p>
<p>IIf([Issues].[DataOrigin]=2,-1,( no criteria  or  (0 or -1))</p>
<p>If I use null instead of no criteria my result is wrong if I use (0 Or _1) in Iff function  my result is same as -1 but when I use (0 Or -1) in query I have right answer. Anyway I would like to show IIf([Issues].[DataOrigin]=2,-1,(every thing))</p>
<p>Please if you can help me.</p>
<p>Hengameh</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/iif-and-showing-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/30 queries in 0.031 seconds using memcached
Object Caching 905/1053 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 23:18:17 -->