J
Janis Rough
Can you use ADO object to connect to an Access database from Excel on a Mac
on a network? I would like to connect to an Access database using ODBC.
In otherwords does the Excel object model on a Mac have ADO? I know what
the object model is about and an ADO object connection.
Here are the instructions:
Here is how to create a connection to a MS Access Database:
1. Open the ODBC icon in your Control Panel.
2. Choose the System DSN tab.
3. Click on Add in the System DSN tab.
4. Select the Microsoft Access Driver. Click Finish.
5. In the next screen, click Select to locate the database.
6. Give the database a Data Source Name (DSN).
7. Click OK.
So here is the object code:
<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Open "northwind"
%>
Does ADO only work on Active Server Pages on a PC? Is Active Server Pages
the middleware to connect to an Access database through a Windows Server and
IIS? What is the relationship between Active Server Pages and ADO.
I'm confused since I'm on a Mac.
Thanks,
Janis
on a network? I would like to connect to an Access database using ODBC.
In otherwords does the Excel object model on a Mac have ADO? I know what
the object model is about and an ADO object connection.
Here are the instructions:
Here is how to create a connection to a MS Access Database:
1. Open the ODBC icon in your Control Panel.
2. Choose the System DSN tab.
3. Click on Add in the System DSN tab.
4. Select the Microsoft Access Driver. Click Finish.
5. In the next screen, click Select to locate the database.
6. Give the database a Data Source Name (DSN).
7. Click OK.
So here is the object code:
<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Open "northwind"
%>
Does ADO only work on Active Server Pages on a PC? Is Active Server Pages
the middleware to connect to an Access database through a Windows Server and
IIS? What is the relationship between Active Server Pages and ADO.
I'm confused since I'm on a Mac.
Thanks,
Janis