Wrox Programmer Forums
|
BOOK: Beginning Access VBA
This is the forum to discuss the Wrox book Beginning Access 2002 VBA by Robert Smith, Dave Sussman, Ian Blackburn, John Colby, Mark Horner, Martin Reid, Paul Turley, Helmut Watson; ISBN: 9780764544026
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Access 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 October 29th, 2003, 11:17 AM
Registered User
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access 2000 VBA Chapter 3 Problem

Chapter 3, Page 70 Access 2000 VBA. I get an error when I
try to click any of the new buttons, and am shown the code:-
(Error$ is highlighted)

This also happens on the version of the Chapter 3 database
supplied on the CD


cmdNext_Click_Err:
    MsgBox Error$
    Resume cmdNext_Click_Exit

It seems to work OK by the time I check Example Database
from Chapter 9 but I cannot see what is different

 
Old December 25th, 2003, 04:08 PM
Registered User
 
Join Date: Dec 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

this is the same problem that Michael Gavel and I have posted under his topic Compile Error:

in my case it is resolved by the time I use IceCream4.mdb, that is at the end of Chapter 4

weird - peter j

 
Old December 30th, 2003, 12:32 PM
Registered User
 
Join Date: Jun 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You might want to check if you have the statement Option Explicit at the top of your module. This statement will prevent variables being declared "on the fly". Try deleting all of the error processing and see if the error goes away.
 
Old January 30th, 2005, 03:06 PM
Registered User
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have exactly the same problem. I'm not certain whether it has something to do with an addin or what. It is resolved by Chapter 4, but I would love to know what is causing the problem.

Regards,

Richard Hein





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 17 Beginning Access 2000 VBA gracechen19 BOOK: Beginning Access VBA 0 August 23rd, 2004 04:02 PM
Beginning Access 2000 VBA Chapter 6: List Boxes greencw BOOK: Beginning Access VBA 1 June 13th, 2004 08:16 PM
Access 2000 VBA problem dubs70 Access VBA 2 February 18th, 2004 11:38 AM
Access XP VBA compatibility issues w/ Access 2000 bourgeois02 Access VBA 1 August 19th, 2003 04:14 PM





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