Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: Re: Newbie to ASP


Message #1 by "Ken Schaefer" <ken@a...> on Thu, 1 Nov 2001 10:57:35 +1100
Noni,



Just before you do this



objCmd.Execute



do this instead:



Response.Write(strSQL)

Response.End



and you should see your SQL string printed to the screen. Please post that

output to the list.



Cheers

Ken



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: "Noni Jenkins" <noni_j@h...>

To: "Access ASP" <access_asp@p...>

Sent: Wednesday, October 31, 2001 7:07 PM

Subject: [access_asp] Re: Newbie to ASP





:

:

:

:

: I tried your suggestion and I got the following error message:

: Error Type:

: Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)

: [Microsoft][ODBC Microsoft Access Driver] Invalid SQL statement; expected

'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'.

: /noniweb/example1.asp, line 109

:  Below is the revised code.  I hope I put everything is the right places.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




  Return to Index