Testing on XP pro stopped working

J

Jeremy

I was working on an asp and it was working fine. I came back to it a
few days later and it was no longer working... When I submit a form
through the ASP page, it only spits back the raw code, but doesn't
write to access as it was before... I don't know what has chenged.
Any suggestions? FYI here is the code (simplified...This does the
same...) thanks!

Jeremy

<% LANGUAGE="VBScript"

First = Request.form("First")

set responseDB = server.createobject("ADODB.Connection")
responseDB.open "driver={Microsoft Access Driver
(*.mdb)};DBQ=new.mdb;Uid=Admin"

sqlText = "INSERT INTO Results (First)"
sqlText = sqlText & " VALUES("
sqlText = sqlText & "'" & First & "'"
sqlText = sqlText & ")"

Response.Write sqlText

set ReturnSet = responseDB.Execute(sqlText)

Response.Write "Record Added"

%>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top