Any help with this is greatly appreciated, thankyou.
I currently use the below VBScript to connect to a Access database and it all works perfectly.
<%
'Request the name of cars and the primary key from the Cars table.
SQLCAR="SELECT carName, carID FROM Cars"
set conncar = server.createobject("ADODB.Connection"
conncar.open "parking"
set cars=conncar.execute(SQLCAR)
%>
What I now want to do is exactly the same to a SQL 2000 database.
I have imported the database and set the ODBC (and tested it successfully)
Now I beleive that if the above code is altered then I can make the connection?!?!?
I currently use the below VBScript to connect to a Access database and it all works perfectly.
<%
'Request the name of cars and the primary key from the Cars table.
SQLCAR="SELECT carName, carID FROM Cars"
set conncar = server.createobject("ADODB.Connection"
conncar.open "parking"
set cars=conncar.execute(SQLCAR)
%>
What I now want to do is exactly the same to a SQL 2000 database.
I have imported the database and set the ODBC (and tested it successfully)
Now I beleive that if the above code is altered then I can make the connection?!?!?