I'm taking my first stab at asp with a database. When I try to run the code I get a general error on line 15 which is the connection string. I think the way I'm trying to define my path is the problem. thanks in advance for the help. here is the code:
<html>
<head>
</head>
<body>
<p>
<%
dim path
dim dbq
path = server.mappath("critters.mdb"
dbq = path
%>
<%
openstr = "driver={Microsoft Access Driver (*.mdb)};" & "dbq"
Set cn = Server.CreateObject("ADODB.Connection"
cn.Open openstr
<html>
<head>
</head>
<body>
<p>
<%
dim path
dim dbq
path = server.mappath("critters.mdb"
dbq = path
%>
<%
openstr = "driver={Microsoft Access Driver (*.mdb)};" & "dbq"
Set cn = Server.CreateObject("ADODB.Connection"
cn.Open openstr