[thelist] (no subject)

slim dammak atarak1 at yahoo.fr
Sun Jun 2 09:42:01 CDT 2002


--
[ Picked text/plain from multipart/alternative ]

objet:

i can't connect to my acces database with the asp method.

my source code is :

<html>
<%
Set cn = CreateObject("ADODB.Connection")
adoCon.Open ("DRIVER={Microsoft Access Driver (*.mdb)};DBQ="& server.mappath("/inetpub/wwwroot/itu.mdb"))

sql="Select * from staff"
Set rs=CreateObject("ADODB.recordset")
rs.open sql, cn, 3 , 3
rs.MoveFirst
while not rs.eof
response.write rs("full_name") & "<br>"
rs.moveNext
wend
%>
<head>
<title></title>
</head>
<body>
</body>
</html>



THE ERROR WAS :Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'server'
/read.asp, line 5


THANKS FOR YOUR RESPONSE








---------------------------------
Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !



More information about the thelist mailing list