<?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/"
		>
<channel>
	<title>Comments on: Passing parameters from .ASP (VBSript) to Activex object in date format</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/passing-parameters-from-asp-vbsript-to-activex-object-in-date-format/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/passing-parameters-from-asp-vbsript-to-activex-object-in-date-format/</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jun 2013 10:32:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Surianee &#187; Passing Parameters in Crystal Report Using ASP</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/passing-parameters-from-asp-vbsript-to-activex-object-in-date-format/#comment-53149</link>
		<dc:creator>Surianee &#187; Passing Parameters in Crystal Report Using ASP</dc:creator>
		<pubDate>Mon, 12 May 2008 07:38:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-53149</guid>
		<description><![CDATA[[...] Here&#8217;s a forum entry    Filed under: Crystal Report [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Here&#8217;s a forum entry    Filed under: Crystal Report [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: freejack</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/passing-parameters-from-asp-vbsript-to-activex-object-in-date-format/#comment-45206</link>
		<dc:creator>freejack</dc:creator>
		<pubDate>Tue, 07 Feb 2006 11:14:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-45206</guid>
		<description><![CDATA[Try this for your date sections:

If IsDate(Request.Form(&quot;datefrom&quot;)) Then
	set Param1 = session(&quot;ParamCollection&quot;).Item(1)
	NewParamValue = CDate(Request.Form(&quot;datefrom&quot;)) &#039;&quot;08/05/2005&quot; &#039;
	Call Param1.SetCurrentValue(CStr(NewParamValue),12)
End If

If IsDate(Request.Form(&quot;dateto&quot;)) Then
	set Param2 = session(&quot;ParamCollection&quot;).Item(2)
	NewParamValue = CDate(Request.Form(&quot;dateto&quot;)) &#039;&quot;09/02/2005&quot; &#039;
	Call Param2.SetCurrentValue(CStr(NewParamValue),12)
End If

Also, be aware that it&#039;s generally a good idea not to store external objects in Session variables if it can be avoided because this can have a negative impact on performance in IIS.]]></description>
		<content:encoded><![CDATA[<p>Try this for your date sections:</p>
<p>If IsDate(Request.Form(&#8220;datefrom&#8221;)) Then<br />
	set Param1 = session(&#8220;ParamCollection&#8221;).Item(1)<br />
	NewParamValue = CDate(Request.Form(&#8220;datefrom&#8221;)) &#8216;&#8221;08/05/2005&#8243; &#8216;<br />
	Call Param1.SetCurrentValue(CStr(NewParamValue),12)<br />
End If</p>
<p>If IsDate(Request.Form(&#8220;dateto&#8221;)) Then<br />
	set Param2 = session(&#8220;ParamCollection&#8221;).Item(2)<br />
	NewParamValue = CDate(Request.Form(&#8220;dateto&#8221;)) &#8216;&#8221;09/02/2005&#8243; &#8216;<br />
	Call Param2.SetCurrentValue(CStr(NewParamValue),12)<br />
End If</p>
<p>Also, be aware that it&#8217;s generally a good idea not to store external objects in Session variables if it can be avoided because this can have a negative impact on performance in IIS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paulryan</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/passing-parameters-from-asp-vbsript-to-activex-object-in-date-format/#comment-45207</link>
		<dc:creator>paulryan</dc:creator>
		<pubDate>Fri, 03 Feb 2006 07:50:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-45207</guid>
		<description><![CDATA[Re-format the date string using the universal date format, e.g.

3 Feb 2006 (UK 03/02/2006) becomes &#039;20060203&#039;
]]></description>
		<content:encoded><![CDATA[<p>Re-format the date string using the universal date format, e.g.</p>
<p>3 Feb 2006 (UK 03/02/2006) becomes &#8217;20060203&#8242;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emtcodegod</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/passing-parameters-from-asp-vbsript-to-activex-object-in-date-format/#comment-45208</link>
		<dc:creator>emtcodegod</dc:creator>
		<pubDate>Fri, 03 Feb 2006 07:33:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-45208</guid>
		<description><![CDATA[Try CDate ]]></description>
		<content:encoded><![CDATA[<p>Try CDate </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlesjc</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/passing-parameters-from-asp-vbsript-to-activex-object-in-date-format/#comment-45209</link>
		<dc:creator>charlesjc</dc:creator>
		<pubDate>Fri, 03 Feb 2006 07:22:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-45209</guid>
		<description><![CDATA[avdberg,

  Try changing the double quotes (&quot;) around the date to a pound (#).]]></description>
		<content:encoded><![CDATA[<p>avdberg,</p>
<p>  Try changing the double quotes (&#8220;) around the date to a pound (#).</p>
]]></content:encoded>
	</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/10 queries in 0.040 seconds using memcached
Object Caching 323/329 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-20 10:38:19 -->