<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>SalesCart Forums : another shipping2.asp code questi&#111;n</title>
  <link>http://forum.salescart.com/forum/</link>
  <description><![CDATA[This is an XML content feed of; SalesCart Forums : SalesCart Standard / PRO / SQL : another shipping2.asp code questi&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:37:20 +0000</pubDate>
  <lastBuildDate>Mon, 17 Oct 2005 09:45:46 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.salescart.com/forum/RSS_post_feed.asp?TID=465</WebWizForums:feedURL>
  <image>
   <title><![CDATA[SalesCart Forums]]></title>
   <url>http://forum.salescart.com/forum/forum_images/web_wiz_forums.png</url>
   <link>http://forum.salescart.com/forum/</link>
  </image>
  <item>
   <title><![CDATA[another shipping2.asp code questi&#111;n : Looking at shipping2.asp code...]]></title>
   <link>http://forum.salescart.com/forum/forum_posts.asp?TID=465&amp;PID=1671&amp;title=another-shipping2asp-code-question#1671</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.salescart.com/forum/member_profile.asp?PF=6">lleemon</a><br /><strong>Subject:</strong> 465<br /><strong>Posted:</strong> October/17/05 at 9:45am<br /><br />Looking at shipping2.asp code it looks like a section is populated with data but then all the values are set to 0.  Do I just have a bad file or are there good reasons for doing/having code like this:<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />Dim SimpleAdo, rstRS, SQLStmt<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SQLStmt = "SELECT * FROM &#091;order&#093; "<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SQLStmt = SQLStmt & "WHERE orderid=" & order & ";"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set SimpleAdo = New CSimpleAdo<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SimpleAdo.setConnectionString = Session("ConnectionString")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set RS = SimpleAdo.getRecordSet(SQLStmt)<br /><br />If CheckRS(RS) Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subtotal = RS("subtotal")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subhand = RS("subhand")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subship = RS("subship")<br />End If<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set SimpleAdo = Nothing<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set RS = Nothing<br /><br /><br />'''''''''''''''''''''''''''''''''''''''''''''''<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'thedate =  Cstr(Date)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'thetime =  Cstr(Time)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subtotal =  0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subweight =  0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subsize =  0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subquantity =  0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subship =  0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subhand =  0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SQLStmt = "SELECT * From item "<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SQLStmt = SQLStmt & "WHERE &#091;Orderid&#093; =" & Order & "; "<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set SimpleAdo = New CSimpleAdo<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SimpleAdo.setConnectionString = Session("ConnectionString")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set RS = SimpleAdo.getRecordSet(SQLStmt)<br /><br /></pre></td></tr></table><br /><br />You will see in the code above that the following variables (subtotal, subhand, subship) are populated from recordset RS but then set to 0 before items from the item table is formed.<br /><br />Thanks in advance for the info.<br />]]>
   </description>
   <pubDate>Mon, 17 Oct 2005 09:45:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.salescart.com/forum/forum_posts.asp?TID=465&amp;PID=1671&amp;title=another-shipping2asp-code-question#1671</guid>
  </item> 
 </channel>
</rss>