|
500067 10/30/2003 |
Swat, |
![]() |
Sergey Kornilov admin 10/30/2003 |
Swat, |
![]() |
swat author 10/30/2003 |
hi admin, gstrSQL = "select [ID], [Month], [Year] From [product] " gstrSQL =" update [product] SET [Year] = 2002 WHERE [Year] = 2003 "
The only way I have been able to get around this is to declare and assign a different name to the second statement. I'll look to see if Admin posts a different solution. Please see my validation post. You had a solution but I couldn't get it to stop giving me Bill Gates error messages.
|
M
|
MaxLm 11/1/2003 |
Hello swat- |
![]() |
Sergey Kornilov admin 11/2/2003 |
Swat, dbConnection.Execute "update [product] SET [Year] = 2002 WHERE [Year] = 2003"
|
![]() |
swat author 11/3/2003 |
Admin, |
![]() |
Sergey Kornilov admin 11/4/2003 |
Hi, |
![]() |
swat author 11/4/2003 |
admin- |
![]() |
Sergey Kornilov admin 11/5/2003 |
Swat, |
![]() |
swat author 11/6/2003 |
here is the my code it works just fine ,however when add the second sql code: |
![]() |
Sergey Kornilov admin 11/7/2003 |
Swat, set dbConnection = server.CreateObject ("ADODB.Connection") dbConnection.ConnectionString = strConnection dbConnection.Open Call ReportError dbConnection.Execute "update [product] SET [Year] = '2002' WHERE [Year] = '2003' "
|
![]() |
swat author 11/10/2003 |
admin- |
![]() |
swat author 12/11/2003 |
hi admin, set dbConnection = server.CreateObject ("ADODB.Connection") dbConnection.ConnectionString = strConnection dbConnection.Open Call ReportError dbConnection.Execute "update [product] SET [Year] = '2002' WHERE [Year] = '2003' "
|
![]() |
Sergey Kornilov admin 12/11/2003 |
Swat, update [product] SET [Year] = '2002' WHERE [Year] = '2003'
|
![]() |
swat author 12/11/2003 |
Swat, try to execute this statement in MS Access to see what's wrong. update [product] SET [Year] = '2002' WHERE [Year] = '2003'
|
![]() |
Sergey Kornilov admin 12/11/2003 |
Swat, |
![]() |
swat author 12/11/2003 |
admin- |
![]() |
Sergey Kornilov admin 12/11/2003 |
Swat, |