Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 5th, 2008, 11:49 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: Kansas City, Missouri, USA.
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default Resolved - SQL Server - link updates not working

Hi all!
I've got an Access 2007 front end with links to a SQL Server db. I can open the links and view the data fine.
In code, when I open a recordset, everything is also fine, I can read through the records. When I try to update, I get nothing. No error message, nothing. The routine just stops, exits the sub and that's it. I've put message boxes at each line. As soon as I hit the "With RS" statement, out it goes.

Any ideas?

Thanks in advance.
Dartcoach

dartcoach
__________________
dartcoach
 
Old February 5th, 2008, 11:57 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: Kansas City, Missouri, USA.
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sorry All!
I'm using Windows authentication, and I've checked with my Network guys and they don't know.

Thanks again.

Dartcoach

dartcoach
 
Old February 5th, 2008, 12:57 PM
Friend of Wrox
 
Join Date: Jan 2005
Location: Kansas City, Missouri, USA.
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default

I added a msgbox within the "With RS" and get the error 3146 - ODBC connection failed. The error description tells me that the network is unavailable, but if I can read the data using the same connection, why can't I update it?

Thanks,

dartcoach




Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolved - Can't do updates via VBA dartcoach SQL Server 2005 1 February 11th, 2008 04:33 PM
SQL SERVER link problem.please hope me. kukusheng Classic ASP Databases 0 July 29th, 2007 08:26 PM
Best way to link Access to SQL Server echovue Access VBA 0 May 31st, 2006 04:28 PM
can to link a ms access table to sql server? sugar SQL Server 2000 6 May 23rd, 2006 11:45 AM
how can i link to sql-server with ado.net[B)] zjxgjp ADO.NET 1 December 25th, 2004 09:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.