<?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 : dynamic-include</title>
  <link>http://forum.salescart.com/forum/</link>
  <description><![CDATA[This is an XML content feed of; SalesCart Forums : SalesCart Standard / PRO / SQL : dynamic-include]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 07:32:55 +0000</pubDate>
  <lastBuildDate>Tue, 26 Oct 2004 11:10:22 +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=208</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[dynamic-include : The most important part of this...]]></title>
   <link>http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=794&amp;title=dynamicinclude#794</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.salescart.com/forum/member_profile.asp?PF=4">Techno Geek</a><br /><strong>Subject:</strong> 208<br /><strong>Posted:</strong> October/26/04 at 11:10am<br /><br />The most important part of this issue to make sure that you have the following code on top of your dynamic product pages:<br /><br /><table width="99%"><tr><td><pre class="BBcode">&lt;%@ LANGUAGE="VBScript.Encode" %&gt;<br />&lt;!--#include file="../cgi-bin/CSimpleAdo.asp"--&gt;<br />&lt;!--#include file="../cgi-bin/ADOVBS.inc"--&gt;<br />&lt;!--#include file="../cgi-bin/IASUtil.asp"--&gt;</pre></td></tr></table>]]>
   </description>
   <pubDate>Tue, 26 Oct 2004 11:10:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=794&amp;title=dynamicinclude#794</guid>
  </item> 
  <item>
   <title><![CDATA[dynamic-include : I still have not heard anything...]]></title>
   <link>http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=776&amp;title=dynamicinclude#776</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.salescart.com/forum/member_profile.asp?PF=37">drafting</a><br /><strong>Subject:</strong> 208<br /><strong>Posted:</strong> October/20/04 at 10:03am<br /><br />I still have not heard anything from Support at SalesCart.  I will let you all know if I hear anything.  ]]>
   </description>
   <pubDate>Wed, 20 Oct 2004 10:03:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=776&amp;title=dynamicinclude#776</guid>
  </item> 
  <item>
   <title><![CDATA[dynamic-include : I&amp;#039;m getting the same error...]]></title>
   <link>http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=769&amp;title=dynamicinclude#769</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.salescart.com/forum/member_profile.asp?PF=36">UpstateGirl</a><br /><strong>Subject:</strong> 208<br /><strong>Posted:</strong> October/13/04 at 2:00pm<br /><br />I'm getting the same error and have not been able to resolve it.  And when I look at the dynamic-include.asp by itself it is throwing this error:<br />Microsoft VBScript runtime error '800a000d'<br />Type mismatch: 'FP_Field' <br />/dynamic-include.asp, line 10 <br /><br />The field that it does not like is the prodID (which is a number) and the database field basketID (which is also a number)<br /><br />Any thoughts?<br /><br />thisproduct = FP_Field(fp_rs,"basketid")<br />]]>
   </description>
   <pubDate>Wed, 13 Oct 2004 14:00:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=769&amp;title=dynamicinclude#769</guid>
  </item> 
  <item>
   <title><![CDATA[dynamic-include : Here is the code for dynamic-include.asp....]]></title>
   <link>http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=765&amp;title=dynamicinclude#765</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.salescart.com/forum/member_profile.asp?PF=37">drafting</a><br /><strong>Subject:</strong> 208<br /><strong>Posted:</strong> October/11/04 at 12:45pm<br /><br />Here is the code for dynamic-include.asp. Thanks! <br /><br />&lt;%<br />'edit this file for the options you want to display<br />'There is no longer a maximum number of options but all must be named option<br />'you can delete the options you don't need<br />'you can specify a price increase for option but separating the option value with the delimiter (default=$) specified in the wizard<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' The separator field is what you want to separate different options, can be "" or "&lt;p&gt;"<br />Separator = "&lt;br&gt;"<br />%&gt;<br /><br />&lt;%<br />thisproduct = FP_Field(fp_rs,"ProdID")<br /><br />'READ STUFF From Database<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim objSimpleAdo, rstRS, SQLStmt<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SQLStmt = "SELECT * From Options "<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SQLStmt = SQLStmt & "WHERE &#091;ProdID&#093; =" & thisproduct & " "<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SQLStmt = SQLStmt & "ORDER BY Options.Attribute, Options.&#091;AttNo&#093;; "<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Set SimpleAdo = New CSimpleAdo<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SimpleAdo.setConnectionString = Application("Products1_ConnectionString")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set RS = SimpleAdo.getRecordSet(SQLStmt)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Do stuff with the record set<br />%&gt;&lt;%<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CurrentRecord = 0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ChangeFlag = ""<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do While CheckRS(RS)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description = RS("Description")<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Save Attribute name if first time in<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CurrentRecord = 0 Then<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ChangeFlag  = RS("Attribute")<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.write  ("&lt;Strong&gt;" & ChangeFlag & "&lt;/Strong&gt;&lt;select name=option size=1&gt;")<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Hasn't changed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If RS("Attribute") = ChangeFlag Then<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response.write ("&lt;option value=" & RS("FmVal") & "&gt;" & RS("Choice") & "&lt;/option&gt;")<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.write  ("&lt;/select&gt;" & RS("Description") & separator)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ChangeFlag  = RS("Attribute")<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.write  ("&lt;Strong&gt;" & ChangeFlag & "&lt;/Strong&gt;&lt;select name=option size=1&gt;")<br />  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.write  ("&lt;option value=" & RS("FmVal") & "&gt;" & RS("Choice") & "&lt;/option&gt;")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RS.MoveNext<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CurrentRecord = CurrentRecord + 1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loop<br /><br />Response.write ("&lt;/select&gt;" & Description & separator)<br /><br /><br />'Done with everything<br />Set SimpleAdo = Nothing<br />Set RS = Nothing<br />%&gt;]]>
   </description>
   <pubDate>Mon, 11 Oct 2004 12:45:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=765&amp;title=dynamicinclude#765</guid>
  </item> 
  <item>
   <title><![CDATA[dynamic-include : Go ahead and paste the code, let&amp;#039;s...]]></title>
   <link>http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=764&amp;title=dynamicinclude#764</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.salescart.com/forum/member_profile.asp?PF=4">Techno Geek</a><br /><strong>Subject:</strong> 208<br /><strong>Posted:</strong> October/11/04 at 12:39pm<br /><br />Go ahead and paste the code, let's see what you have :) <br /><br />Copy the code then pate in here and make sure that you wrap it in. It should look like this:<br /><br />&#091; CODE &#093;CODE IN HERE&#091;/CODE&#093;<span style="font-size:10px"><br /><br />Edited by Will Sani</span>]]>
   </description>
   <pubDate>Mon, 11 Oct 2004 12:39:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=764&amp;title=dynamicinclude#764</guid>
  </item> 
  <item>
   <title><![CDATA[dynamic-include : Hello,  Thanks for responding....]]></title>
   <link>http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=763&amp;title=dynamicinclude#763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.salescart.com/forum/member_profile.asp?PF=37">drafting</a><br /><strong>Subject:</strong> 208<br /><strong>Posted:</strong> October/11/04 at 12:36pm<br /><br />Hello,<br /><br />Thanks for responding.  I did what you said and added the apostrophe to the beginning of the line...but now a new error comes up:<br /><br />Microsoft VBScript runtime error '800a01a8' <br /><br />Object required: '' <br /><br />/mall/dynamic-include.asp, line 22 <br /><br /><br />]]>
   </description>
   <pubDate>Mon, 11 Oct 2004 12:36:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=763&amp;title=dynamicinclude#763</guid>
  </item> 
  <item>
   <title><![CDATA[dynamic-include : It looks like that &amp;#039;CSimpleAdo&amp;#039;...]]></title>
   <link>http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=761&amp;title=dynamicinclude#761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.salescart.com/forum/member_profile.asp?PF=4">Techno Geek</a><br /><strong>Subject:</strong> 208<br /><strong>Posted:</strong> October/11/04 at 11:58am<br /><br />It looks like that 'CSimpleAdo' is being redefined in dynamic-include.asp. Do a search on that file for CSimpleAdo. Comment out the line (add apostrophe to the beginning of the line) that this shows up on and it should take care of the problem. ]]>
   </description>
   <pubDate>Mon, 11 Oct 2004 11:58:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=761&amp;title=dynamicinclude#761</guid>
  </item> 
  <item>
   <title><![CDATA[dynamic-include : Hello,  I have check the box in...]]></title>
   <link>http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=758&amp;title=dynamicinclude#758</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.salescart.com/forum/member_profile.asp?PF=37">drafting</a><br /><strong>Subject:</strong> 208<br /><strong>Posted:</strong> October/08/04 at 11:15am<br /><br />Hello,<br /><br />I have check the box in the salescart bot so the dynamic-include page can give options to the customer.  When I check the box I receive this error:<br /><br />Microsoft VBScript runtime error '800a01fa' <br /><br />Class not defined: 'CSimpleAdo' <br /><br />/mall/dynamic-include.asp, line 21 <br /><br />Does anyone know how to fix this to make the dynamic-include work?  Thanks!]]>
   </description>
   <pubDate>Fri, 08 Oct 2004 11:15:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.salescart.com/forum/forum_posts.asp?TID=208&amp;PID=758&amp;title=dynamicinclude#758</guid>
  </item> 
 </channel>
</rss>