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

 
 
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



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




ASPProtect

 
Subject: Updating too many records
From: Kevin ONeil
Date: 10/26/1999 10:13:37 PM
IP: 129.93.53.69



 

Im currently experiencing a problem with my ASP code. A section of it is copied below. When this code updates the database (Access
2000), it updates more than one line (more than one record) even though the WHERE statement should limit the recordset to
just one record because each line has a unique value of "subjnum". What could be causing this? If you need to know more,
or need the full code, email me and Ill send it to you.

Thanks. Please email me with comments/answers.

Code:

set rs = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT date2,time2,att,dq,condorig FROM KevinData WHERE subjnum = "& request.form("subjnum") & ""
rs.Open strSQL, objConn, adOpenForwardOnly, adLockOptimistic, adCmdText

rs("date2") = request.form("date")
rs("time2") = request.form("time")
rs("att") = request.form("att")
rs("dq") = request.form("dq")
rs("condorig") = strcond
rs.Update
rs.Close

Follow Up - Re: Updating too many records - aaaa 10/29/1999 6:51:08 AM


 

   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