all groups > sql server msde > august 2004 >
You're in the

sql server msde

group:

Link Access to SQL via MSDE


Link Access to SQL via MSDE Howard
8/27/2004 10:47:22 AM
sql server msde:
I have an MSDE database with a linked SQL server defined in it.

Is it possible to create a table in an Access database which is linked to a
table in the SQL server by going through the MSDE linked server.

I can easily create linked tables in Access to a db defined in MSDE, or SQL
Server, but I cannot find the magic bullet to let Access link through MSDE
to the linked SQL server.

Thanks,

Howard


Re: Link Access to SQL via MSDE Mary Chipman
8/27/2004 5:42:14 PM
No. Create the linked table directly to the SQL Server you are
interested in, or create a view in MSDE that pulls the data in the SQL
Server and link to that.

--Mary

On Fri, 27 Aug 2004 10:47:22 -0400, "Howard" <howardpo@hotmail.com>
[quoted text, click to view]
Re: Link Access to SQL via MSDE Howard
8/28/2004 9:34:11 AM
A view wouldn't work because the client needs it to be updatable.

[quoted text, click to view]

Re: Link Access to SQL via MSDE Mary Chipman
8/29/2004 11:34:42 AM
Views can be updateable if you tell Access what the PK/unique index
is, but I would recommend linking directly to the SQLS table instead
of trying to go through linked servers. If that is not possible, a
second option would be to not use links at all for the updates. Write
stored procedures in the MSDE database that update the SQLS database,
and pass parameters to the MSDE stored procedures from your Access FE.
More work, and you need to handle possible concurrency conflicts
yourself, but it eliminates the linked-servers-from-Access potential
boondoggle you are contemplating.

--Mary

On Sat, 28 Aug 2004 09:34:11 -0400, "Howard" <howardpo@hotmail.com>
[quoted text, click to view]
AddThis Social Bookmark Button