Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 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 11th, 2008, 11:54 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default Resolved - Can't do updates via VBA

Hi all!
I put this out on the Access forum, and haven't gotten a response so maybe this is the correct place for it.

Using Access as a front end, I've linked to a multitude of SQL Server tables, via an ODBC connection with SQL server authentication. If I open a table, I can edit data within the column without any problem. When I try using a recordset within VBA (I created a button on a form to execute a loop), everything works until it gets to the .update statement. It then tells me the ODBC call failed.

Please help!

Thanks in advance.


dartcoach
__________________
dartcoach
 
Old February 11th, 2008, 04:33 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default

Found the problem - I was only trapping 1 error. Once I trapped the others, it showed me how to fix.


dartcoach





Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolved - SQL Server - link updates not working dartcoach Access 2 February 5th, 2008 12:57 PM
Parameter Updates HelmutArnold Reporting Services 3 October 23rd, 2006 09:06 AM
Updates? GeekyMonkey BOOK: Professional Web Parts and Custom Controls ASP.NET ISBN: 0-7645-7860-X 12 May 24th, 2006 12:11 PM
Transactional UPDATEs djm2cmu BOOK: ASP.NET Website Programming Problem-Design-Solution 0 January 20th, 2004 11:42 AM





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