Trying to create an asp connetion to a access data base in front page ...to which I will eventualy pass values from a form to...however been trying in vain to set up a basic connection......and I cannot even see the page in my browser...can someone please point out the obvious.....as this is my first week of programming asp and web applications...Thanks......
<%
Set db = Server.CreateObject("ADODB.Connection"
db.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("login_name.mdb" & ";UID=;PWD="
db.execute("INSERT INTO Results VALUES ('Jon Doe', 22)"
set rs=db.execute("SELECT * FROM Results"
rs.MoveFirst
Do Until rs.EOF
Response.Write rs("ogin" & "<br>"
rs.MoveNext
Loop
db.execute("DELETE FROM Results WHERE ogin = 'Jon Doe'"
%>
<%
Set db = Server.CreateObject("ADODB.Connection"
db.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("login_name.mdb" & ";UID=;PWD="
db.execute("INSERT INTO Results VALUES ('Jon Doe', 22)"
set rs=db.execute("SELECT * FROM Results"
rs.MoveFirst
Do Until rs.EOF
Response.Write rs("ogin" & "<br>"
rs.MoveNext
Loop
db.execute("DELETE FROM Results WHERE ogin = 'Jon Doe'"
%>