Home | Advertising Info28 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Item cannot be found in the collection corresponding to the requested name or ordinal.
From: Clueless
Date: 4/2/2001 5:54:35 AM
IP: 153.20.95.66



 

Hi, I encountered the following error.
Can some one kindly help me out on how to solve this error ? You can reach me at studiez@hotmail.com

Error Type:
ADODB.Recordset (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested name or ordinal.

if session("idBasket") = "" then

Dim dbConn, dbBasket, rsBasket
set dbConn = ConnectToDB (svrName,dbName,userId,passWd)

'Create an ADO database connection
set dbBasket = server.createobject("adodb.connection")

'Create a record set
set rsBasket = server.CreateObject("adodb.recordset")

rsBasket.Open "execute sp_CreateBasket " & session("idShopper"), dbConn

I think it lies with the 2 statements below.
How can I retrieve the id of the basket returned from the insert and set the basket is in the session variable

'Retrieve the id of the basket returned from the insert
idBasket = rsBasket("idBasket")
'Set the basket is in the session variable
session("idBasket") = idBasket


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com