Hi there,
I don't know ASP, nor do I really want to know ASP, however I need a simple script to do testing with. The test is as follows:
MS Access Name: mytest.mdb
MS Access Table Name: status_test
Fields
ID - Test
1 ASP is connecting to MS Access
(only one row in the db)
I need a simple script to connect to my MS Access db and do the following query: "SELECT * FROM status_test" then output the "test" field onto the page (thus spitting out: ASP is connecting to MS Access)
The connection settings are (from what I gather):
That connection may need to be in a separate file called "theconnection.asp"
I apologize for my ignorance on this, and YES I HAVE searched google for help and tutorials, but being a PHP programming I really can't wrap my head around ASP. It's just not my thing. Your help is greatly appreciated.
NATE
Got a question? Search G O O G L E first.
I don't know ASP, nor do I really want to know ASP, however I need a simple script to do testing with. The test is as follows:
MS Access Name: mytest.mdb
MS Access Table Name: status_test
Fields
ID - Test
1 ASP is connecting to MS Access
(only one row in the db)
I need a simple script to connect to my MS Access db and do the following query: "SELECT * FROM status_test" then output the "test" field onto the page (thus spitting out: ASP is connecting to MS Access)
The connection settings are (from what I gather):
Code:
<%
sub subconnection
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=C:\path\domain\msdb\mytest.mdb"
'conn.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & Server.Mappath("msdb/mytest.mdb")
end sub
%>
That connection may need to be in a separate file called "theconnection.asp"
I apologize for my ignorance on this, and YES I HAVE searched google for help and tutorials, but being a PHP programming I really can't wrap my head around ASP. It's just not my thing. Your help is greatly appreciated.
NATE
Got a question? Search G O O G L E first.