<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community</title>
		<link>http://www.daniweb.com/forums/</link>
		<description>Tech support, programming, web development, and internet marketing community. Forums to get free computer help and support.</description>
		<language>en-US</language>
		<lastBuildDate>Thu, 10 Dec 2009 09:47:53 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/alphaimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community</title>
			<link>http://www.daniweb.com/forums/</link>
		</image>
		<item>
			<title>cmd.executenonquery not accepting nz function</title>
			<link>http://www.daniweb.com/forums/thread231996.html</link>
			<pubDate>Wed, 21 Oct 2009 14:47:10 GMT</pubDate>
			<description><![CDATA[Hello Community, 
I have the following query: 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code...]]></description>
			<content:encoded><![CDATA[<div>Hello Community,<br />
I have the following query:<br />
<br />
 <pre style="margin:20px; line-height:13px">SELECT Inventory.Inventory_Id, Inventory.Inventory_description, Inventory.Inventory_stock_count, nz((SELECT Sum(Order.item_qty) AS SumOfitem_qty<br />
FROM [Order]<br />
WHERE Order.From_date&lt;=Date() AND (Order.To_date)&gt;=Date()<br />
AND Order.Item_ID=&quot;I&quot; &amp; Inventory.Inventory_Id),0) AS CurrentlyOut, [Inventory_stock_count]-Nz((SELECT Sum(Order.item_qty) AS SumOfitem_qty<br />
FROM [Order]<br />
WHERE Order.From_date&lt;=Date() AND (Order.To_date)&gt;=Date()<br />
AND Order.Item_ID=&quot;I&quot; &amp; Inventory.Inventory_Id),0) AS NetHere<br />
FROM Inventory;</pre><br />
This query runs perfectly under data access,<br />
<br />
But when i put it under vb.net<br />
<br />
 <pre style="margin:20px; line-height:13px">my query1 = &quot;SELECT Inventory.Inventory_Id, Inventory.Inventory_description, Inventory.Inventory_stock_count, nz((SELECT Sum(Order.item_qty) AS SumOfitem_qty<br />
FROM [Order]<br />
WHERE Order.From_date&lt;=Date() AND (Order.To_date)&gt;=Date()<br />
AND Order.Item_ID=&quot;I&quot; &amp; Inventory.Inventory_Id),0) AS CurrentlyOut, [Inventory_stock_count]-Nz((SELECT Sum(Order.item_qty) AS SumOfitem_qty<br />
FROM [Order]<br />
WHERE Order.From_date&lt;=Date() AND (Order.To_date)&gt;=Date()<br />
AND Order.Item_ID=&quot;I&quot; &amp; Inventory.Inventory_Id),0) AS NetHere<br />
FROM Inventory&quot;<br />
<br />
<br />
cmd.commadtext = myquery1<br />
<br />
cmd.executenonquery()</pre><br />
VB.net compiler do not seem to like it &amp; i see this error<br />
<br />
<span style="color:Red"><span style="font-weight:bold">Undefined function 'nz' in expression.</span></span><br />
<br />
it seems that vb.net is not being able to understand the nz function that replace with 0 . nz replaces null values with 0. i really need nz to be present in the query.<br />
<br />
what is a way around this?<br />
<br />
Best regards.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum58.html">VB.NET</category>
			<dc:creator>raymyster</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread231996.html</guid>
		</item>
		<item>
			<title>New programming community coderisland</title>
			<link>http://www.daniweb.com/forums/thread225928.html</link>
			<pubDate>Sat, 26 Sep 2009 11:33:08 GMT</pubDate>
			<description><![CDATA[New programming community: 
 
http://www.coderisland.com 
 
contains a lot of programming languages, 
 
vb.net, c++, java, c#, vb6/a, visual fox, autoit 
 
php, javascript, html & css]]></description>
			<content:encoded><![CDATA[<div>New programming community:<br />
<br />
<a rel="nofollow" class="t" href="http://www.coderisland.com" target="_blank">http://www.coderisland.com</a><br />
<br />
contains a lot of programming languages,<br />
<br />
vb.net, c++, java, c#, vb6/a, visual fox, autoit<br />
<br />
php, javascript, html &amp; css<br />
<br />
mysql, oracle, access, sql server<br />
<br />
&amp; a lot more,<br />
<br />
For those interested in being a moderator on any of the forums please mail at<br />
<a href="mailto:webmaster@coderisland.com">webmaster@coderisland.com</a><br />
<br />
Best regards, see you there normal :)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum75.html">Show Off your Projects</category>
			<dc:creator>raymyster</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225928.html</guid>
		</item>
		<item>
			<title>windows 7 review</title>
			<link>http://www.daniweb.com/forums/thread222688.html</link>
			<pubDate>Sun, 13 Sep 2009 12:53:45 GMT</pubDate>
			<description>please whoever is interested to know about windows 7 visit my blog: 
post a comment if you like it: 
 
http://blog.rabihtawil.com/?p=14 
 
video review: 
http://www.youtube.com/watch?v=cPtG2JwV95w 
 
enjoy!</description>
			<content:encoded><![CDATA[<div>please whoever is interested to know about windows 7 visit my blog:<br />
post a comment if you like it:<br />
<br />
<a rel="nofollow" class="t" href="http://blog.rabihtawil.com/?p=14" target="_blank">http://blog.rabihtawil.com/?p=14</a><br />
<br />
video review:<br />
<a rel="nofollow" class="t" href="http://www.youtube.com/watch?v=cPtG2JwV95w" target="_blank">http://www.youtube.com/watch?v=cPtG2JwV95w</a><br />
<br />
enjoy!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum75.html">Show Off your Projects</category>
			<dc:creator>raymyster</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread222688.html</guid>
		</item>
	</channel>
</rss>
