<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Classic ASP</title><link>http://forums.iis.net/1032.aspx</link><description>Problems with Classic ASP (*.asp) applications discussion</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Ado Recordset Update</title><link>http://forums.iis.net/thread/1906856.aspx</link><pubDate>Sat, 13 Jun 2009 08:06:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1906856</guid><dc:creator>steve schofield</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1906856.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1906856</wfw:commentRss><description>&lt;p&gt;Sounds like&amp;nbsp;a change in locale on the server was make or some other machine setting, or update.&amp;nbsp; I would check with the provider or server admin.&amp;nbsp;&amp;nbsp; It doesn&amp;#39;t hurt to use the CDATE function, which ensures the data is actually a date.&amp;nbsp; I&amp;#39;d leave it personally.&lt;/p&gt;</description></item><item><title>Ado Recordset Update</title><link>http://forums.iis.net/thread/1906852.aspx</link><pubDate>Sat, 13 Jun 2009 07:12:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1906852</guid><dc:creator>NewDev01</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1906852.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1906852</wfw:commentRss><description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Dim dbCon, sql, trandate, rsBatch, selectBatch, strconn&lt;br /&gt;&lt;br /&gt;Set dbCon = Server.CreateObject(&amp;quot;ADODB.Connection&amp;quot;)&lt;br /&gt;dbCon.open Session(&amp;quot;strConn&amp;quot;)&lt;br /&gt;dbCon.BeginTrans&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Set rsBatch = server.createobject(&amp;quot;ADODB.Recordset&amp;quot;)&lt;br /&gt;rsBatch.ActiveConnection = dbCon&lt;br /&gt;rsBatch.LockType = adLockOptimistic&lt;br /&gt;rsBatch.CursorLocation = adUseServer&lt;br /&gt;rsBatch.CursorType = adOpenKeyset&lt;br /&gt;selectBatch = &amp;quot;SELECT TextFld, TranDate from tab1&amp;quot;&lt;br /&gt;rsBatch.open selectBatch, dbCon&lt;br /&gt;rsBatch.AddNew&lt;br /&gt;rsBatch(&amp;quot;TextFld&amp;quot;) = &amp;quot;Some Text&amp;quot;&lt;br /&gt;rsBatch(&amp;quot;TranDate&amp;quot;) = &amp;quot;06/10/2009&amp;quot;&lt;br /&gt;rsBatch.Update&lt;br /&gt;&lt;br /&gt;dbCon.CommitTrans&lt;br /&gt;rsBatch.Close&lt;br /&gt;Set rsBatch = Nothing &lt;br /&gt;dbCon.Close&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;The above code, till yesterday was working fine..All of a sudden, from today morning the &amp;quot;Trandate&amp;quot; field..Although i&amp;#39;m setting date in &amp;quot;06/10/2009&amp;quot;[mm/dd/yyyy] format..ado recordset update reformats to &amp;quot;10/06/2009&amp;quot;..but if i give CDate(&amp;quot;06/10/2009&amp;quot;) it works fine and take as &amp;quot;06/10/2009&amp;quot;...pls help me to sort out this..till yesterday it was working fine..it happen from today.. i checked the regional setting, nothing changed there.&lt;br /&gt;&lt;br /&gt;pls comment&lt;br /&gt;&lt;br /&gt;thanks&lt;/p&gt;</description></item></channel></rss>