Hi,
I have an MS-Access database on a shared drive.The Access database has tables linked to a SQL server database.When I try to query the tables in MS-Access database by accessing the share drive,I get the ODBC--call failed error.So I tried creating an ODBC driver for the SQL Server and when I try to link the tables,no tables are displayed.Can anyone help me out with this problem?
-Ruth
If your Access Database has both Code and Data, you should separate them, Put the Data on the shared Drive,
The Code mdb is your client application and can be Linked to SQL-Server thru ODBC
create an ODBC connection to SQL-Server, So Your Client mdb app has both linked Tables to SQL Server and To the Shared Access Database.
You can not link to SQL Server thru an mdb indirectly.
|||The mdb just has tables linked to SQL Server.I tried creating a ODBC and linking the tables.But it did not work.But when I tried to link to tables in the Northwind database,I am able to do so.I think it is a SQL Server access issue.But I am not sure where exactly the issue lies.
-Ruth
|||Those are links to the SQL Server table, not the Actual table, so if you want, you can create link to SQL Server by Craeting a ODBC connection from your Control Panel.
Then in your Access app, add linked table using the DSN that you created.
You do not need an mdb on shared drive. if It does not have any local tables.
The once you compiled and distributed you app. On every PC, that it is installed the DSN should be created.
No comments:
Post a Comment