<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: vb.net: insert a truly null date in access db</title>
	<atom:link href="http://hobbylobby.wordpress.com/2007/08/16/vbnet-insert-a-truly-null-date-in-access-db/feed/" rel="self" type="application/rss+xml" />
	<link>http://hobbylobby.wordpress.com/2007/08/16/vbnet-insert-a-truly-null-date-in-access-db/</link>
	<description>&#124;hobby&#124;vb.net&#124;toys&#124;ubuntu&#124;comics&#124;LPs&#124;programming&#124;</description>
	<lastBuildDate>Sun, 27 Dec 2009 17:31:01 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: hobbylobby</title>
		<link>http://hobbylobby.wordpress.com/2007/08/16/vbnet-insert-a-truly-null-date-in-access-db/#comment-2362</link>
		<dc:creator>hobbylobby</dc:creator>
		<pubDate>Sun, 27 Jul 2008 13:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://hobbylobby.wordpress.com/2007/08/16/vbnet-insert-a-truly-null-date-in-access-db/#comment-2362</guid>
		<description>vbnotebookfor.net has &lt;a href=&quot;http://vbnotebookfor.net/2007/09/27/introduction-to-nullable-types-in-vbnet/&quot; rel=&quot;nofollow&quot;&gt;exactly what you need&lt;/a&gt;.

he shows getting from a database, but not setting values to a database.

here&#039;s one way:
If theDate.HasValue Then
cmd.Parameters.Add(New OleDb.OleDbParameter(&quot;@theDate&quot;, theDate))
Else
cmd.Parameters.Add(New OleDb.OleDbParameter(&quot;@theDate&quot;, DBNull.Value))
End If</description>
		<content:encoded><![CDATA[<p>vbnotebookfor.net has <a href="http://vbnotebookfor.net/2007/09/27/introduction-to-nullable-types-in-vbnet/" rel="nofollow">exactly what you need</a>.</p>
<p>he shows getting from a database, but not setting values to a database.</p>
<p>here&#8217;s one way:<br />
If theDate.HasValue Then<br />
cmd.Parameters.Add(New OleDb.OleDbParameter(&#8220;@theDate&#8221;, theDate))<br />
Else<br />
cmd.Parameters.Add(New OleDb.OleDbParameter(&#8220;@theDate&#8221;, DBNull.Value))<br />
End If</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://hobbylobby.wordpress.com/2007/08/16/vbnet-insert-a-truly-null-date-in-access-db/#comment-2359</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 17 Jul 2008 19:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://hobbylobby.wordpress.com/2007/08/16/vbnet-insert-a-truly-null-date-in-access-db/#comment-2359</guid>
		<description>Any other &quot;Hints&quot;?????

I&#039;m trying to condiinally &quot;undo&quot; a date if a parameter changes by:

IIf([PMPPOU] And [PCPOU] And [PSSU] And [PAU] And [DPIRC] And [DMPU] And [DCPU] And [DBU] And [SSU] And [ERMPOC] And [PBN]=True,Date(), Null)

If on eof the checkboxes changes to be not true than I want the Date field to go back to Null.  

I can&#039;t get it to work.</description>
		<content:encoded><![CDATA[<p>Any other &#8220;Hints&#8221;?????</p>
<p>I&#8217;m trying to condiinally &#8220;undo&#8221; a date if a parameter changes by:</p>
<p>IIf([PMPPOU] And [PCPOU] And [PSSU] And [PAU] And [DPIRC] And [DMPU] And [DCPU] And [DBU] And [SSU] And [ERMPOC] And [PBN]=True,Date(), Null)</p>
<p>If on eof the checkboxes changes to be not true than I want the Date field to go back to Null.  </p>
<p>I can&#8217;t get it to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hobbylobby</title>
		<link>http://hobbylobby.wordpress.com/2007/08/16/vbnet-insert-a-truly-null-date-in-access-db/#comment-2357</link>
		<dc:creator>hobbylobby</dc:creator>
		<pubDate>Sun, 13 Jul 2008 14:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://hobbylobby.wordpress.com/2007/08/16/vbnet-insert-a-truly-null-date-in-access-db/#comment-2357</guid>
		<description>yes.  look up nullable(of date) and .hasValue.

it&#039;s a little tricky to tie it all together, but you can make it work.</description>
		<content:encoded><![CDATA[<p>yes.  look up nullable(of date) and .hasValue.</p>
<p>it&#8217;s a little tricky to tie it all together, but you can make it work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dfdhfghf</title>
		<link>http://hobbylobby.wordpress.com/2007/08/16/vbnet-insert-a-truly-null-date-in-access-db/#comment-2343</link>
		<dc:creator>dfdhfghf</dc:creator>
		<pubDate>Thu, 29 May 2008 10:40:28 +0000</pubDate>
		<guid isPermaLink="false">http://hobbylobby.wordpress.com/2007/08/16/vbnet-insert-a-truly-null-date-in-access-db/#comment-2343</guid>
		<description>how can i insert null value in date column in vb.net?</description>
		<content:encoded><![CDATA[<p>how can i insert null value in date column in vb.net?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
