Hello vpooks,
Here's the code. I don't think there's a problem with the code because this code is from a CD and can't change it. My computer doesn't seem to be able to read an ASP. I think the problem is with my IIS settings on my computer, and that's what I'm trying to find. I'm using W2K Advance Server.
<html>
<head>
</head>
<body>
<p>
<%
openstr = "driver={Microsoft Access Driver (*.mdb)};" & _
"dbq=" & Server.MapPath("critters.mdb"

Set cn = Server.CreateObject("ADODB.Connection"

cn.Open openstr
sql = "SELECT jersey, fname, sname, position " & _
"FROM roster " & _
"ORDER BY jersey; "
Set rs = Server.CreateObject("ADODB.Recordset"

rs.Open sql, cn, 3, 3
On Error Resume Next
rs.MoveFirst
Do While Not rs.EOF
Response.Write Server.HTMLEncode(_
rs.Fields("jersey"

& ", " & _
rs.Fields("fname"

& " " & _
rs.Fields("sname"

& ", " & _
rs.Fields("position"

) & "<br>" & vbCrLf
rs.MoveNext
Loop
rs.Close
Set rs = Nothing
cn.Close
Set cn = Nothing
%>
</p>
</body>
</html>
Andel
andel@barroga.net