Home | Advertising Info21 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: Updating multiple records
From: Paul DeBenedittis
Date: 2/24/1999 11:04:38 PM
IP: 209.131.171.31



 

I have a web database with an admin section that will bring up abbreviate listing of all the records (only some of the fields). I have two checkboxes for each record that the administrator can select or deselect. I am trying to write a routine that would go through each of the records and update on one submission rather than editing one record, enter, edit another record and enter etc. My code looks like:
for each x in Request.Form
xstr=Left(Cstr(x),5) '(each form field has a 5 letter prefix and then a unique number)
if xstr = "entry" then (entrynum is the key)
entrynum= Request.form(x)
PicRec=Request.form("PicRec" & entrynum)
PicLoaded=Request.form("PicLoaded" & entrynum)
objRS.Filter="[entrynum] = '" & entrynum & "'"
if PicRec = "on" then
objRS("PicRec")=1
else
objRS("PicRec")=0
end if
if PicLoaded="on" then
objRS("PicLoaded")=1
else
objRS("PicLoaded")=0
end if
objRS.Update
end if
next

I get the following error:
ADODB.Field error '800a0cb3'

The operation requested by the application is not supported by the provider.

/administration/show.asp, line 95
Line 95 is the line objRs("PicRec")= 1

In a very drawn out way, I have tried to provide details to the question can you have a form for multiple records and with one submission update them all. If so, does anyone see a syntax error or concept error in the above?

thanks
Paul


 

   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