Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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 September 13th, 2004, 04:07 AM
Authorized User
 
Join Date: May 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Cr0vaX
Default Can't debug in VBA

I've received a DB in Access.

I've placed a new button on a form of it, and placed a breakpoint on_click of that button... but when I click it it doesn't go into debug mode :(
I've tried some more events and objects... no matter what I do it simply don't go into debug mode.

Is there any option that could be deactivated?

PS: it only happens to me in that project, in other projects it works just fine, so it's not an application problem

 
Old September 13th, 2004, 10:00 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Where exactly did you place your breakpoint? It could be that it actually is doing what you want, but the debugger is sitting on a "non-obvious" point in your code.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old September 15th, 2004, 07:39 AM
Authorized User
 
Join Date: May 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Cr0vaX
Default

Quote:
quote:Originally posted by SerranoG
 Where exactly did you place your breakpoint? It could be that it actually is doing what you want, but the debugger is sitting on a "non-obvious" point in your code.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
I'm used to work with debug mode, and I've placed the breakpoint at the start of the event, so if I click it'll stop immediatly, but nothing happens :|

 
Old September 15th, 2004, 08:23 PM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

On the properties pane for the button ensure that [Event Procedure] is selected for the onClick event.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Debug arholly Access VBA 19 December 18th, 2006 01:52 PM
Debug com component vinaykumar_inavolu C# 2005 0 October 12th, 2006 07:15 AM
best way to Debug JavaScript crmpicco Javascript 5 June 22nd, 2006 03:26 AM
Can't debug sithlrd General .NET 9 July 28th, 2004 05:00 PM
Can't Debug shmacgregor General .NET 6 March 1st, 2004 05:10 PM





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