Ask a Question related to ASP Database, Design and Development.
-
Poppy #1
Update refuses to work
I run the following code and nothing happens.
mySQLUpdate = "UPDATE tblProd SET authorMemo = 'TEST'"
set objCmdUpdate = Server.CreateObject("ADODB.Command")
objCmdUpdate.ActiveConnection = MM_myConn_STRING
objCmdUpdate.CommandText = mySQLUpdate
objCmdUpdate.CommandType = 1
objCmdUpdate.CommandTimeout = 0
objCmdUpdate.Prepared = true
objCmdUpdate.Execute()
The page executes without a problem but the field 'authorMemo' never gets
updated.
Any Ideas ?
TIA
Poppy Guest
-
Shockwave refuses to work
Here are my specs... Operating System: Windows Vista? Home Premium (6.0, Build 6000) (6000.vista_gdr.071023-1545) Language: English (Regional... -
How does update work
I bind a Datagrid to a recordset obtained from a stored proc in SQL server. DataGrid displays the recordset. User updates some data on the grip,... -
why is the "Adobe Acrobat 6.0.1 Update" message there at the top? -- the update doesn't work
why is the "Adobe Acrobat 6.0.1 Update" message there there at the top? -- the update doesn't work -
#25332 [Opn->Bgs]: Update from 4.3.2 to 4.3.3 won't work
ID: 25332 Updated by: sniper@php.net Reported By: info at y2ksw dot it -Status: Open +Status: Bogus... -
#25332 [NEW]: Update from 4.3.2 to 4.3.3 won't work
From: info at y2ksw dot it Operating system: Windows XP Pro/ Win 2000 server PHP version: 4.3.3 PHP Bug Type: Unknown/Other... -
Ray at #2
Re: Update refuses to work
Do you have an On Error Resume Next?
And what happens if you just do:
Set objADO = Server.CreateObject("ADODB.Connection")
objADO.Open MM_myConn_STRING
objADO.Execute mySQLUpdate
objADO.Close : Set objADO = Nothing
Ray at work
"Poppy" <paul.diamond@NOSPAMthemedialounge.com> wrote in message
news:OcnYER%23lDHA.2964@tk2msftngp13.phx.gbl...> I run the following code and nothing happens.
>
> mySQLUpdate = "UPDATE tblProd SET authorMemo = 'TEST'"
> set objCmdUpdate = Server.CreateObject("ADODB.Command")
> objCmdUpdate.ActiveConnection = MM_myConn_STRING
> objCmdUpdate.CommandText = mySQLUpdate
> objCmdUpdate.CommandType = 1
> objCmdUpdate.CommandTimeout = 0
> objCmdUpdate.Prepared = true
> objCmdUpdate.Execute()
>
> The page executes without a problem but the field 'authorMemo' never gets
> updated.
>
> Any Ideas ?
>
> TIA
>
>
Ray at Guest



Reply With Quote

