Re: Microsoft JET Database Engine error '80040e10'
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 15:19:14 -0500
TonnyD wrote:
the statement worked. It brought up the table tblIPPlease quote the message you are replying to. :-)
That tells me that that is not the statement that the error message is
referring to. So I look back at the script and see that you've used
Response.Write to print out the wrong statement. You should put the
Response.Write after the statement that is causing the error:
strSQL="UPDATE tblCount SET " & Request.Form("txtOption") & "
= " & Request.Form("txtOption") & " + 1 WHERE ID = " & ID
Response.Write strSQL
SET rsPoll=adoCon.execute(strSQL)
This is bad. Don't use a recordset to execute a statement that does not
return records. This is how to execute a statement that does not return
records:
adoCon.execute strSQL,,129
Is asppoll something you bought from somebody? Can't you get them to
support it? Hmm, given the quality of the code, I guess that's too much
to expect...
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- Follow-Ups:
- Re: Microsoft JET Database Engine error '80040e10'
- From: TonnyD
- Re: Microsoft JET Database Engine error '80040e10'
- References:
- Microsoft JET Database Engine error '80040e10'
- From: TonnyD
- RE: Microsoft JET Database Engine error '80040e10'
- From: Max
- Re: Microsoft JET Database Engine error '80040e10'
- From: TonnyD
- Re: Microsoft JET Database Engine error '80040e10'
- From: Bob Barrows [MVP]
- Re: Microsoft JET Database Engine error '80040e10'
- From: TonnyD
- Re: Microsoft JET Database Engine error '80040e10'
- From: Bob Barrows [MVP]
- Re: Microsoft JET Database Engine error '80040e10'
- From: TonnyD
- Microsoft JET Database Engine error '80040e10'
- Prev by Date: Re: Microsoft JET Database Engine error '80040e10'
- Next by Date: Re: Microsoft JET Database Engine error '80040e10'
- Previous by thread: Re: Microsoft JET Database Engine error '80040e10'
- Next by thread: Re: Microsoft JET Database Engine error '80040e10'
- Index(es):
Relevant Pages
|