By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,340 Members | 1,715 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,340 IT Pros & Developers. It's quick & easy.

How to clear the debug window?

P: n/a
Is there a way to clear the debug window other than just sending a bunch of
line feeds? Tanks -- Mike

Nov 13 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Programmatically? I don't think there's a command for it. Guess you could
RunCommand acCmdDebugWindow and then SendKeys a Ctrl+A and Del.

The MZ Tools utillity has a toolbar button that clears the Immediate Window.
Download from mztools.com

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Mike Turco" <mi*******@yahoo-no-spam-4-me.com> wrote in message
news:OETSd.86176$bu.19632@fed1read06...
Is there a way to clear the debug window other than just sending a bunch
of line feeds? Tanks -- Mike

Nov 13 '05 #2

P: n/a

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:42***********************@per-qv1-newsreader-01.iinet.net.au...
Programmatically? I don't think there's a command for it. Guess you could
RunCommand acCmdDebugWindow and then SendKeys a Ctrl+A and Del.

The MZ Tools utillity has a toolbar button that clears the Immediate
Window. Download from mztools.com


That looks like a nice set of tools, thanks for the recommendation. I'm
going to take a good look at using them.

I never really cared much for sendkeys. A click of the mouse at the wrong
time can really screw things up -- especially at 3am. I can imagine
inadvertently clicking inside a huge module just before that Ctrl-A.
Sometimes the words Cannot Undo wake me from my sleep :-)

How big is the buffer for the debug window? I see that some of the bigger
strings I work with get cut off. Maybe printing space(xxx) to the debug
window would do it. Its probably a good idea to wrap the debug statement in
a function anyway.

Thanks,

Mike
Nov 13 '05 #3

P: n/a
With A97 it was possible and If I remember correctly it required 192
LF's to clear the window. The same solution will not work with the A2K
or higher VB IDE Debug window.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Mike Turco" <mi*******@yahoo-no-spam-4-me.com> wrote in message
news:lY2Td.86230$bu.1393@fed1read06...

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:42***********************@per-qv1-newsreader-01.iinet.net.au...
Programmatically? I don't think there's a command for it. Guess you could RunCommand acCmdDebugWindow and then SendKeys a Ctrl+A and Del.

The MZ Tools utillity has a toolbar button that clears the Immediate
Window. Download from mztools.com
That looks like a nice set of tools, thanks for the recommendation.

I'm going to take a good look at using them.

I never really cared much for sendkeys. A click of the mouse at the wrong time can really screw things up -- especially at 3am. I can imagine
inadvertently clicking inside a huge module just before that Ctrl-A.
Sometimes the words Cannot Undo wake me from my sleep :-)

How big is the buffer for the debug window? I see that some of the bigger strings I work with get cut off. Maybe printing space(xxx) to the debug window would do it. Its probably a good idea to wrap the debug statement in a function anyway.

Thanks,

Mike


Nov 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.