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 August 3rd, 2006, 12:59 PM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch.5 Problem

When I try to run frmContactsBound I get a message box that says Run-time error' -2147467259 (80004005)': Could not "; file already in use. I don't what this means and i don't know what i should do.

 
Old October 25th, 2006, 08:34 PM
Registered User
 
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Me too! I have replaced the code with the Wrox code, to no avail. Setting break points and using the Immediate Window, all is well until I get to the chCh5.Open strConnection line in Private Sub Form_Load(). There are no .ldb files showing using the Search feature. Please help.

 
Old August 11th, 2007, 07:29 PM
Registered User
 
Join Date: Aug 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yep, I've tried these suggestions and have tried a few of my own half-brained tricks to no avail. An un-documented de-bugging challenge??

Frustrating, as the book is really very well written and set-up.
 
Old November 6th, 2007, 06:59 AM
Registered User
 
Join Date: Sep 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yep, me too.

I think the error arises once you've loaded the form, as the debugger stops at the line:-

      cnCh5.Open strConnection

as (I think) the connection is already open ?

Also, I found that I couln't add or amend records to the table using the form as "This Recordset is not updatable". You might also get the message that Access has locked the table. I tried changing the LockType property on the rcordset to adLockPessimistic but still had the same problem.

Glad it's not just me!

Phil

 
Old November 30th, 2007, 01:59 PM
Registered User
 
Join Date: Sep 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmmm...thinking about this one further

I downloaded Gosnell's code and ran that and it worked fine but her mdb was in 2002-2003 format and mine was in 2000 format

Does anyone know how this might make the difference?

 
Old July 31st, 2008, 02:28 PM
Registered User
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Switched to Access 2003 and it worked!

<{{>><





Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 12 LoadTimeSheet() Problem chuck BOOK: Beginning VB.NET Databases 11 July 26th, 2012 11:48 AM
Ch. 2 TestError Code Problem Nanette BOOK: Beginning Access 2003 VBA 1 May 5th, 2007 08:41 PM
weird problem with Ch 9 example proslambano BOOK: Ivor Horton's Beginning Visual C++ 2005 1 February 2nd, 2007 02:06 AM





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