<?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"
	>
<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>
	<pubDate>Mon, 09 Nov 2009 14:14:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<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>[...] 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>Try this for your date sections:

If IsDate(Request.Form("datefrom")) Then
	set Param1 = session("ParamCollection").Item(1)
	NewParamValue = CDate(Request.Form("datefrom")) '"08/05/2005" '
	Call Param1.SetCurrentValue(CStr(NewParamValue),12)
End If

If IsDate(Request.Form("dateto")) Then
	set Param2 = session("ParamCollection").Item(2)
	NewParamValue = CDate(Request.Form("dateto")) '"09/02/2005" '
	Call Param2.SetCurrentValue(CStr(NewParamValue),12)
End If

Also, be aware that it'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(&#8221;datefrom&#8221;)) Then<br />
	set Param1 = session(&#8221;ParamCollection&#8221;).Item(1)<br />
	NewParamValue = CDate(Request.Form(&#8221;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(&#8221;dateto&#8221;)) Then<br />
	set Param2 = session(&#8221;ParamCollection&#8221;).Item(2)<br />
	NewParamValue = CDate(Request.Form(&#8221;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>Re-format the date string using the universal date format, e.g.

3 Feb 2006 (UK 03/02/2006) becomes '20060203'
</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 &#8216;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>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>avdberg,

  Try changing the double quotes (") around the date to a pound (#).</description>
		<content:encoded><![CDATA[<p>avdberg,</p>
<p>  Try changing the double quotes (&#8221;) around the date to a pound (#).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- dynamic -->