A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Stop Statement Doesn't Stop



 
 
Thread Tools Display Modes
  #1  
Old December 2nd, 2004, 08:49 PM
drwip
external usenet poster
 
Posts: n/a
Default Stop Statement Doesn't Stop

As a volunteer I create Access databases for non-profits. Frequently, I
encounter code within which the Stop Statement fails and the debugger is not
activated. The Stop Statement is ignored as are breakpoints.

Over the years I have seen several messages posted that address this problem
and several solutions have been offered. None of them seem to work for me.
Among is Microsoft Knowledge Base article 275087. It points out that the
Stop Statement will not work in a *.mde file. I knew that – my problem is
with single user *.mdb database applications.

Also, the “PRB:VBScript ‘ Stop Statement Does not Start Script debugger”
article(252805) that suggests using Regedit to set the JITDebug value to 1,
also doesn’t fix the problem.

Typically, in my case VBA code that has been working, i.e. it compiles,
executes, and both the Stop Statement and the breakpoints work -- suddenly
fails in the sense that while it still compiles and executes, the Stop
Statement and the breakpoints become inoperative.

I do version conversions to accommodate users that have older versions of
Access. That is my only known “sin.” I don’t know if it is relevant to my
problems with the Stop Statement.

--
Drwip
  #2  
Old December 2nd, 2004, 11:10 PM
Dirk Goldgar
external usenet poster
 
Posts: n/a
Default

"drwip" wrote in message

As a volunteer I create Access databases for non-profits.
Frequently, I encounter code within which the Stop Statement fails
and the debugger is not activated. The Stop Statement is ignored as
are breakpoints.

Over the years I have seen several messages posted that address this
problem and several solutions have been offered. None of them seem
to work for me. Among is Microsoft Knowledge Base article 275087. It
points out that the Stop Statement will not work in a *.mde file. I
knew that - my problem is with single user *.mdb database
applications.

Also, the "PRB:VBScript ' Stop Statement Does not Start Script
debugger" article(252805) that suggests using Regedit to set the
JITDebug value to 1, also doesn't fix the problem.

Typically, in my case VBA code that has been working, i.e. it
compiles, executes, and both the Stop Statement and the breakpoints
work -- suddenly fails in the sense that while it still compiles and
executes, the Stop Statement and the breakpoints become inoperative.

I do version conversions to accommodate users that have older
versions of Access. That is my only known "sin." I don't know if it
is relevant to my problems with the Stop Statement.


One thing that you may not be aware of is that if the option "Use Access
Special Keys" in the Tools - Startup... dialog is not checked, the
breakpoints and the Stop statement will be ignored.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
using the results of a SQL SELECT(COUNT) statement in VBA Paul James Using Forms 7 September 24th, 2004 09:44 PM
using the results of a SQL SELECT(COUNT) statement in VBA Paul James Running & Setting Up Queries 7 September 24th, 2004 09:44 PM
Access 2000 query SQL statement into VBA code Clint Running & Setting Up Queries 1 June 10th, 2004 01:33 PM
If statement Phyllis Worksheet Functions 5 May 1st, 2004 12:27 AM
help with IF statement Aladin Akyurek Worksheet Functions 0 March 3rd, 2004 08:54 PM


All times are GMT +1. The time now is 06:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.