Wrox Programmer Forums
|
BOOK: Beginning Access 2003 VBA
This is the forum to discuss the Wrox book Beginning Access 2003 VBA by Denise M. Gosnell; ISBN: 9780764556593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Access 2003 VBA 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 12th, 2005, 07:26 PM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ADO???

After typing in the code for the first example in Ch. 5, I ran it successfully, but now I get a "Run-time error '-2147467259 (80004005)' Could not use "; File already in use" message. What's wrong???

0-7645-5659-2
Beginning Access 2003 VBA

Barely here:
Mona
Encinitas, CA
 
Old August 7th, 2007, 05:44 PM
Registered User
 
Join Date: Aug 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know the 'why', but I seem to have gotten around it by adding an error trapper:

On Error GoTo HandleError

(code, code, code)

HandleError:
    If Err.Number = "80004005" Then
        cnCh5.Cancel
        MsgBox "Error 80004005 thrown and trapped."
    End If

Oddly, my MsgBox doesn't pop on this one...but at least the stupid error is gotten around. I had lots of trouble getting

Etc, based on Ms. Gosnell's p71, etc





Similar Threads
Thread Thread Starter Forum Replies Last Post
ADO explore_asp ADO.NET 2 August 20th, 2007 02:58 PM
Difference between ADO and ADO.NET rakeshclose2u ADO.NET 2 April 23rd, 2007 03:57 AM
ADO AND ADO.NET royalsurej ADO.NET 1 November 8th, 2004 08:28 AM
ADO could ADO counot find the specified provider. Rob Collie Classic ASP Databases 2 June 9th, 2003 04:12 AM





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