Home | Advertising Info192 USERS CURRENTLY ONLINE   
   Site Search Contact Us Sunday, June 25, 2017  

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

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)


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


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 - 2017 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 what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa 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