473,385 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

A97: Module window, clicking in vertical bar on left side of window...

MLH
In Access 97's module window, clicking in vertical bar on left side of
window causes individual lines of code to be hilited - nothing like
this at all ever happened with Access 2.0. What is this all about?
What use can be made of it?
Nov 13 '05 #1
4 1263
It's a breakpoint, used to pause code execution at the highlighted line
for debugging purposes. Personally I prefer to use the keyword 'stop' .

Nov 13 '05 #2
MLH
No wonder my code was not running correctly! I thought the hilites
went away if you closed the module window. Not true! They're
remembered & acted on as you have said here. Thx for update!
I too prefer the STOP keyword.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
It's a breakpoint, used to pause code execution at the highlighted line
for debugging purposes. Personally I prefer to use the keyword 'stop' .


Nov 13 '05 #3
MLH wrote:
No wonder my code was not running correctly! I thought the hilites
went away if you closed the module window. Not true! They're
remembered & acted on as you have said here. Thx for update!
I too prefer the STOP keyword.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

It's a breakpoint, used to pause code execution at the highlighted line
for debugging purposes. Personally I prefer to use the keyword 'stop' .


The breakpoints aren't guaranteed to be remembered so if you want to
close and reopen the app and debug, assume they won't be and use the
stop keyword. If you want to close and reopen and not debug, assume they
will be remembered and clear them all.

Rather than having to clear up a load of stops for runtime you can use a
conditional stop using either a variable or a constant, e.g.

Global gfDebug as boolen
if gfDebug then
stop
end if

or using conditional compilation...

#const gcfDebug = True
#if gcfDebug then
stop
#end if

or even make use of Debug.Assert

--
[OO=00=OO]
Nov 13 '05 #4
MLH
Nice! Many thx.
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: syed_saqib_ali | last post by:
Below is a simple code snippet showing a Tkinter Window bearing a canvas and 2 connected scrollbars (Vertical & Horizontal). Works fine. When you shrink/resize the window the scrollbars adjust...
1
by: syed_saqib_ali | last post by:
Below is a simple code snippet showing a Tkinter Window bearing a canvas and 2 connected scrollbars (Vertical & Horizontal). Works fine. When you shrink/resize the window the scrollbars adjust...
0
by: David W. Fenton | last post by:
Today I was working on a hideous old app that I created a long time ago that does a lot of showing/hiding/resizing of fields on one of the forms. I had used constants to store reference values for...
5
by: MLH | last post by:
Private Sub UnhideDBwndowBtn_Click() SendKeys "~" DoCmd.DoMenuItem A_FORMBAR, 4, 4, 0, A_MENU_VER20 End Sub If I run the above code, database window 'unhides' and is displayed. However, on...
3
by: MLH | last post by:
I've lost ability to drag the slider bar at bottom of database window in A97 on many occasions. Have no clue as to the origin of this. Do know that its darned inconvenient. Comments appreciated.
4
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database...
4
by: Bugs | last post by:
Hello! How do I achieve in my application a window similar to the Toolbox and Server Explorer windows in Visual Studio 2005 itself? Ideally, I want to have a TreeView on the left side of my form...
7
by: joecap5 | last post by:
I have a main window from which I want to open a separate side menu window. I then want to create a list of items on that side menu by clicking on the item names in the main window. So far I am...
0
by: Anish Chapagain | last post by:
Hi!! I'm trying to program an application which have multiple windows and is capable of executing method defined inside class of one another, i tries a simpel frame work here and am creating...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.