<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1018402" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1018402</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/need-asp-shopping-cart#comment-1108163</link>
    <description> &lt;p&gt;That worked!&lt;/p&gt;
&lt;p&gt;Thanks a million.&lt;/p&gt;
 </description>
     <pubDate>Fri, 03 May 2002 13:52:39 +0000</pubDate>
 <dc:creator>akohl</dc:creator>
 <guid isPermaLink="false">comment 1108163 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/need-asp-shopping-cart#comment-1108155</link>
    <description> &lt;p&gt;Now I understand what you mean. I&#039;ll try that.&lt;br /&gt;
Thanks&lt;/p&gt;
 </description>
     <pubDate>Fri, 03 May 2002 09:36:49 +0000</pubDate>
 <dc:creator>akohl</dc:creator>
 <guid isPermaLink="false">comment 1108155 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/need-asp-shopping-cart#comment-1108106</link>
    <description> &lt;p&gt;I don&#039;t think its the session or library object, otherwise it wouldn&#039;t be an ADODB.Field error.&lt;/p&gt;
&lt;p&gt;What I meant is, the code might think you&#039;re actually referencing the field as an object instead of a value, so by adding the .Value you would be sure you&#039;re passing it as a value and not as an object.&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 May 2002 12:50:39 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1108106 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/need-asp-shopping-cart#comment-1108086</link>
    <description> &lt;p&gt;Nope. No error line number.&lt;/p&gt;
&lt;p&gt;The recordset object is fine. I tested that by just printing&lt;br /&gt;
the value of rs1.fields(&quot;title&quot;) instead of assigning it to an array which is taken further in the code. And besides, when you make errors with a recordset object, that&#039;s not the kind of error message you get. I have a lot of experience with those aggravating error messages. &lt;/p&gt;
&lt;p&gt;My guess is that the problem has to do with some other object, perhaps the library object, or session and some issue with the the way the code handles the value from recrodset. Perhaps I&#039;m not giving it the right variable type.&lt;/p&gt;
&lt;p&gt;I&#039;m not sure I really understood your suggestion. Could you explain further. And what about the direction I&#039;m thinking in. Am I barking up the right tree?&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 May 2002 00:19:55 +0000</pubDate>
 <dc:creator>akohl</dc:creator>
 <guid isPermaLink="false">comment 1108086 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/need-asp-shopping-cart#comment-1108080</link>
    <description> &lt;p&gt;No error line number?&lt;/p&gt;
&lt;p&gt;Looks like you&#039;re trying to access a recordset or command object that is closed.&lt;/p&gt;
&lt;p&gt;Try adding a .Value to rs1.fields(&quot;title&quot;), the code might think you&#039;re refering to it (reference) instead of just the value.&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 May 2002 20:18:13 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1108080 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/need-asp-shopping-cart#comment-1108067</link>
    <description> &lt;p&gt;So here I am again with some code that doesn&#039;t seem to work. Thanks for offering to help.&lt;/p&gt;
&lt;p&gt;Error Type:&lt;br /&gt;
ADODB.Field (0x80020009)&lt;br /&gt;
Object is no longer valid.&lt;br /&gt;
/akohl/m-pomeranz/asp/client/shopping.asp&lt;/p&gt;
&lt;p&gt;I just made changes in one function. So I&#039;ve posted the function. I assume you have the rest of the code on hand.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Function GetItemParameters(iItemID)&lt;br /&gt;&lt;br /&gt;Dim aParameters &amp;#039; Will contain 3 string values : image path, description, price&lt;br /&gt;				&amp;#039; However we need to keep price so it can be converted to a&lt;br /&gt;				&amp;#039; single for computation hence no currency symbol.&amp;nbsp; This array&lt;br /&gt;				&amp;#039; can also be expanded to contain any other information about the&lt;br /&gt;				&amp;#039; product that you might want to pull from the DB.&lt;br /&gt;&lt;br /&gt;call connection&lt;br /&gt;dim rs1,sqlStr&lt;br /&gt;dim i,j&lt;br /&gt;&amp;#039;dim arBookData,firstRecord,lastRecord,firstField,lastField&lt;br /&gt;&amp;#039;this querry gets all the book data in database. &lt;br /&gt;&amp;#039;could add a clause limiting it to items which are featured.&lt;br /&gt;sqlStr=&amp;quot;SELECT issue_details.issue_details_id, issue_details.binding, issue_details.price, books.title&amp;quot;&lt;br /&gt;sqlStr=sqlStr&amp;amp;&amp;quot; FROM books INNER JOIN issue_details ON books.book_id = issue_details.book_id&amp;quot;&lt;br /&gt;sqlStr=sqlStr&amp;amp;&amp;quot; WHERE (((issue_details.issue_details_id)=&amp;quot;&amp;amp;iItemID&amp;amp;&amp;quot;));&amp;quot;&lt;br /&gt;&lt;br /&gt;Set rs1=Server.CreateObject(&amp;quot;ADODB.Recordset&amp;quot;)&lt;br /&gt;rs1.ActiveConnection = con1&lt;br /&gt;rs1.Source = sqlStr&lt;br /&gt;rs1.CursorLocation = 3	&amp;#039;3=adUseClient&lt;br /&gt;rs1.CursorType = 3		&amp;#039;1= adOpenForwardOnly&lt;br /&gt;rs1.Locktype = 1			&amp;#039;1=adLockReadOnly&lt;br /&gt;rs1.Open&lt;br /&gt;Set rs1.ActiveConnection = Nothing&lt;br /&gt;&lt;br /&gt;&amp;#039;***************************orignal code replaced with the line below it&lt;br /&gt;&amp;#039;	Select Case iItemID&lt;br /&gt;&amp;#039;		Case 1&lt;br /&gt;&amp;#039;			aParameters = Array(&amp;quot;./images/shop_shirt.gif&amp;quot;, &amp;quot;ASP 101 T-Shirt&amp;quot;, &amp;quot;15.00&amp;quot;)&lt;br /&gt;&amp;#039;		Case 2&lt;br /&gt;&amp;#039;			aParameters = Array(&amp;quot;./images/shop_kite.gif&amp;quot;, &amp;quot;ASP 101 Kite&amp;quot;, &amp;quot;17.50&amp;quot;)&lt;br /&gt;&amp;#039;		Case 3&lt;br /&gt;&amp;#039;			aParameters = Array(&amp;quot;./images/shop_watch.gif&amp;quot;, &amp;quot;ASP 101 Watch&amp;quot;, &amp;quot;35.00&amp;quot;)&lt;br /&gt;&amp;#039;		Case 4 &amp;#039; Not in use because we couldn&amp;#039;t draw a pen in a few seconds!&lt;br /&gt;&amp;#039;			aParameters = Array(&amp;quot;./images/shop_pen.gif&amp;quot;, &amp;quot;ASP 101 Pen&amp;quot;, &amp;quot;5.00&amp;quot;)&lt;br /&gt;&amp;#039;	End Select&lt;br /&gt;&amp;#039;***************************&lt;br /&gt;aParameters = Array(&amp;quot;./images/shop_watch.gif&amp;quot;, rs1.fields(&amp;quot;title&amp;quot;), &amp;quot;35.00&amp;quot;)&lt;br /&gt;&lt;br /&gt;&amp;#039; Return array containing product info.&lt;br /&gt;rs1.close&lt;br /&gt;set rs1=nothing&lt;br /&gt;closeConnection()&lt;br /&gt;GetItemParameters = aParameters&lt;br /&gt;End Function&lt;br /&gt;%&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 May 2002 14:54:36 +0000</pubDate>
 <dc:creator>akohl</dc:creator>
 <guid isPermaLink="false">comment 1108067 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/need-asp-shopping-cart#comment-1108063</link>
    <description> &lt;p&gt;That code should work with Access, maybe post the specific error you&#039;re getting along with the line of code that is genereating the error.&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 May 2002 12:56:15 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1108063 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/need-asp-shopping-cart#comment-1108061</link>
    <description> &lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;No, sorry, I don&#039;t have knoweldge of ASP or using MS based databases. However, there are a few folks around that do - I&#039;ll move your message to the database forum to see if someone can help you get this working!&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 May 2002 11:21:14 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1108061 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/need-asp-shopping-cart#comment-1108060</link>
    <description> &lt;p&gt;I have a database connection which works. Its just that when I use values from a recordset for the parameters, I get errors.&lt;/p&gt;
&lt;p&gt;Are you familiar with that particular script?&lt;br /&gt;
Should I post the specifics of my problem and try to get it to work?&lt;br /&gt;
Its a free script. Can you tell me if its worth my time or should I look for another one?&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 May 2002 11:04:20 +0000</pubDate>
 <dc:creator>akohl</dc:creator>
 <guid isPermaLink="false">comment 1108060 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/need-asp-shopping-cart#comment-1108059</link>
    <description> &lt;p&gt;You say you&#039;re having trouble installing a cart that uses a database? Am I meant to read this as you do not have access to a database? Or not?&lt;/p&gt;
&lt;p&gt;The only place I would advise you to look at is hotscripts.com :&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.hotscripts.com/ASP/Scripts_and_Components/E-Commerce/Shopping_Carts/&quot; class=&quot;bb-url&quot;&gt;http://www.hotscripts.com/ASP/Scripts_and_Components/E-Commerce/Shopping_Carts/&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 May 2002 10:47:33 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1108059 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
