ASP Update statement to a MS SQL 2000 DB clears fields outside of the statement
I have an ASP app that allows teachers to enter reportcard grades for students. The forms have roughly 300 fields but only a third are ever active for the curren marking period. So each update state ent only has a little over 100 felds beig upated. Randomly data from fields not in the current period are bing cleared as the teachers are using the app.
Is there a reason why SQL server might clear fields not even included in the UPDATE statement?
Welcome to DexX.
No. SQL Server would not randomly clear fields even if they were in the UPDATE statement. It sounds like something unexpected is happening in your code. What is your update statement?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
Update statement is toolong to post and it is created dynamically as the form is generated. Based on what period it is it geerates the form and updte statement. The only thing I could think of was if the update statement didn't get completely processed for some reason or if iis failed to process the database execute statement properly.
By Mustafa in forum Database
Last Post: 08-15-2002, 06:48 AM
By Maria in forum Database
Last Post: 08-13-2002, 01:58 PM
By Alejandra in forum ASP.NET
Last Post: 04-04-2002, 06:10 AM
By Ronald in forum Database
Last Post: 11-27-2001, 09:28 AM
By C. Liacopoulos in forum authorevents.mitchell
Last Post: 10-17-2000, 01:53 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL