Results 1 to 2 of 2
2002-04-19, 19:03 #1
- Join Date
- May 2001
- Ventura, California, USA
- Thanked 0 Times in 0 Posts
Linked to SQL Server (Access 2000 SR1)
We have a proprietary application that needs to update customer data from an Access database. [Proprietary] looks for tblCust from the Source.mdb file. It worked fine when tblCust was a plain old native Access table.
The problem is that the actual live data exists in a SQL Server database. So I created a View in SQLDB and linked to it from Source.mdb. The linked table is "dbo_tblCust"; so I renamed it "tblCust".
BUT the code from [Proprietary] fails against the linked table.
I suspect the problem is: a) security permissions with the linked table; [img]/forums/images/smilies/cool.gif[/img] the code does not recognize the renamed table in Source.mdb (the properties of the linked table provide the wrong name?).
Let me know what you think... I am really looking for a solution to allow the [Proprietary] routine to be successful and pull data from the actual SQL Server source.
2002-04-19, 22:27 #2
- Join Date
- Aug 2001
- Evergreen, CO, USA
- Thanked 60 Times in 60 Posts
Re: Linked to SQL Server (Access 2000 SR1)
I assume you are linking to the SQL Server table using ODBC, and that you setup an ODBC data source that lets you connect to the server. In that case, and presuming you are using SQL Server integrated security on an NT/2000 network, then you will need to give each user permissions to read, edit, etc on the table in question. If standard security is being used, then you need to make sure your ODBC connection uses a login id that has permissions. Note that if you created a view, then you can set permissions on the view and not worry about the table permissions. However, you need to make sure that the view you are using is updateable - it may or may not be depending on how the view is constructed, and the version of SQL Server that is being used. Hope this gives you some leads.Wendell