<?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 : Class not defined: &#146;CSimpleAdo&#146;</title>
  <link>http://forum.salescart.com/forum/</link>
  <description><![CDATA[This is an XML content feed of; SalesCart Forums : SalesCart Standard / PRO / SQL : Class not defined: &#146;CSimpleAdo&#146;]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 15:47:27 +0000</pubDate>
  <lastBuildDate>Thu, 21 Oct 2004 07:48:38 +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=215</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[Class not defined: &#146;CSimpleAdo&#146; : When attempting to use the dynamic-include.asp...]]></title>
   <link>http://forum.salescart.com/forum/forum_posts.asp?TID=215&amp;PID=779&amp;title=class-not-defined-csimpleado#779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.salescart.com/forum/member_profile.asp?PF=36">UpstateGirl</a><br /><strong>Subject:</strong> 215<br /><strong>Posted:</strong> October/21/04 at 7:48am<br /><br />When attempting to use the dynamic-include.asp file to add options I am receiving the following error.<br />Microsoft VBScript runtime error '800a01fa' <br />Class not defined: 'CSimpleAdo' <br />/dynamic-include.asp, line 19 <br /><br />If I remove the lines in the dynamic-include.asp file that refer to the the Class then no error appears but neither do the options.<br /><br />This is how the dynamic-include page is added in my product page<br />&lt;!-- #include file="dynamic-include.asp" --&gt;<br /><br />Here is the text from the dynamic-include.asp page<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("webdata_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;<br />]]>
   </description>
   <pubDate>Thu, 21 Oct 2004 07:48:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.salescart.com/forum/forum_posts.asp?TID=215&amp;PID=779&amp;title=class-not-defined-csimpleado#779</guid>
  </item> 
 </channel>
</rss>