Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 25th, 2019, 12:27 PM
Authorized User
Points: 287, Level: 5
Points: 287, Level: 5 Points: 287, Level: 5 Points: 287, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2006
Location: Colorado Springs, CO
Posts: 60
Thanks: 1
Thanked 0 Times in 0 Posts
Default Update Record Not Working

Hello All,


Been awhile since I posted! (Haven't had a chance to use ASP in a while.)


Anyway, I'm trying to update a record my SQL database and the update APPENDS the new data to the existing column data. Here's the update statement:


Code:
sql="UPDATE noi_kb SET "
sql=sql & " Problem_Status = '" & request.form("Problem_Status") & "' ,"
sql=sql & "resolution='" & Request.Form("resolution") & "' "
sql=sql & " WHERE row_id = '" & row_id & "' "
Connnoikb.Execute sql

Last edited by dalezjc; March 27th, 2019 at 11:16 AM..




Similar Threads
Thread Thread Starter Forum Replies Last Post
update gridview record Sheraz Khan General .NET 0 June 6th, 2010 07:09 PM
Update one record jemacc SQL Server 2000 0 September 12th, 2007 11:47 AM
not update all record mohiddin52 Access VBA 10 May 9th, 2007 11:41 AM
cannot update record keyvanjan ASP.NET 1.0 and 1.1 Basics 0 September 9th, 2006 05:25 AM
error trying to update record in asp method Classic ASP Databases 1 May 9th, 2005 05:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.