|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Debug My Update Statement
Why will this not work. It is not giving me any errors it just won't put anything into the database.
Code:
strsql = "UPDATE reportsn1nal1 SET n4 = n4 + (" & qn4 & ")"
|
|
#2
|
||||
|
||||
|
You don't have a where clause in your sql statement. Add a response.write of your query, for debugging, and use the query analyzer in your database program to make sure you have a valid sql query.
The problem might also be in your asp code, however, so post the context of that line. |
|
#3
|
|||
|
|||
|
yeah i just added a where clause and it fixed it, thanks for the help
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Debug My Update Statement |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|