Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 3rd, 2006, 12:59 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
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.

Reply With Quote
  #2 (permalink)  
Old October 25th, 2006, 08:34 PM
Registered User
 
Join Date: Oct 2006
Location: , , .
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.

Reply With Quote
  #3 (permalink)  
Old August 11th, 2007, 07:29 PM
Registered User
 
Join Date: Aug 2007
Location: , Colorado, .
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.
Reply With Quote
  #4 (permalink)  
Old November 6th, 2007, 05:59 AM
Registered User
 
Join Date: Sep 2007
Location: , , .
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

Reply With Quote
  #5 (permalink)  
Old November 30th, 2007, 12:59 PM
Registered User
 
Join Date: Sep 2007
Location: , , .
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?

Reply With Quote
  #6 (permalink)  
Old July 31st, 2008, 02:28 PM
Registered User
 
Join Date: Jul 2008
Location: Pataskala, Oh, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Switched to Access 2003 and it worked!

<{{>><
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 01:06 AM



All times are GMT -4. The time now is 09:46 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.