Results 1 to 5 of 5
  1. #1
    Lounger
    Join Date
    May 2001
    Location
    Wellington
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Immediate window

    It ought to be simple. I should be able to find out how in a hundred places, but I can't. Does anyone know how to clear the immediate windows programmatically? Specifically in Access 2k?

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Immediate window

    Why would you want to clear it programmatically? You can't see it except in the VBE, so why not click in it press Ctl-A and hit delete? That works in my Access 2K.
    Charlotte

  3. #3
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Immediate window

    This subject was dealt with incompletely <A target="_blank" HREF=http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=31795&page=5&view =collapsed&sb=5> here</A>

    But beware of using SendKeys with linked windows.

    Andrew C

  4. #4
    Lounger
    Join Date
    May 2001
    Location
    Wellington
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Immediate window

    Because I have an app that generates a lot of debug output, and I want to clear it all each time I run it. If I had some code that cleared it as it started, that would help.
    Maybe I'm just lazy!

    Jim

  5. #5
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Immediate window

    What about

    for i = 1 to 200
    debug.print
    next i

    (there's a buffer of about 200 lines in there)
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •