Home | Advertising Info3 USERS CURRENTLY ONLINE   
   Site Search Contact Us Thursday, September 18, 2014  
 
 


 
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
 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets 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 - 2014 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.

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program 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