Home | Advertising Info95 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
 

 
 
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: Re: Deleting multiple records in SQL DB
From: Charles
Date: 12/29/1999 12:42:59 PM
IP: 207.144.165.177



 

Thanks for the info it did help!

Now, I have another question. I ended up doing it this way:

<%
Open the database
set conn = server.createobject ("adodb.connection")
conn.open "DSN" , "sa" , "password"

Loop through the form checking for items checked in field DEL
For Each Item in Request.Form("DEL")

Define our variables
Dim itemToDelete, RS, Conn, SQL

Define our SQL command to execute and execute it
SQL = "DELETE FROM Shopping WHERE ShoppingID = " & item & ""
SET RS = Conn.Execute(SQL)

Get next record
Next

Close the database and clear the conn session parameter
Conn.Close
Set Conn = Nothing
%>

Is there anything wrong with doing it this way? I dont expect more than 10 users at a time.

Thanks,
Charles

Previous Message


 

   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.

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