Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Programming

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-28-2009, 05:13 AM
jeffbase34 jeffbase34 is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: May 2009
Posts: 1
jeffbase34 is on a distinguished road
Default Is There a Way to Debug or Step Through VB code?

Hey guys,

I am trying to break down an Access database designed by a programmer several years ago. I've hit a brick wall because the mdb uses VB code which I don't know.

Thankfully, the guy inserted detailed comments so I can somewhat follow the code. My problem is I don't understand what gets executed when. Is there some way or an app that could step me through the code and show me exactly what it is running on the front end? The code refers macros that reference other macros which references queries.

Thanks!
Reply With Quote
  #2  
Old 05-28-2009, 06:14 PM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,263
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

Access is Event driven so it can be a bit confusing to follow until you inderstand the Event model. If your system is using macros rather than code I'm not sure the debugger can single step through macros. In code you just clock outside of the left margin in the code window to set a break point and when the code stops, F8 will single step the code. VBA has an excellent debugger.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
Reply

Bookmarks

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some Help: Forms - Step-by-Step Model? Nosaj08 Forms 4 04-29-2009 02:59 PM
Need help with code hoenheim Programming 9 09-11-2008 02:19 PM
Need Help Getting to Code Snuffles Programming 8 04-22-2008 03:25 PM
Navigation Code henryclay Forms 2 11-15-2006 06:48 AM
"Debug Error!" and crash while editting code or form Dan Herrick Access 4 04-20-2006 10:30 PM


All times are GMT -8. The time now is 02:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.