[AccessD] Esc key bounce in Preview

Jim Lawrence accessd at shaw.ca
Wed Aug 30 15:05:12 CDT 2006


Very sharp Fred.

Jim

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper
Sent: Wednesday, August 30, 2006 12:09 PM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] Esc key bounce in Preview

Since there was no response, I thought I'd post my solution:

After some experimentation, the simplest reliable answer was
    For intT = 1 to 2
        Sleep 1
        DoEvents
    Next
before each .OpenForm of the sequential reports.
This has removed the effect of key bounce from my cheap keyboard.


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper
Sent: Tuesday, August 29, 2006 5:09 PM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Esc key bounce in Preview

I sequentially preview 1-10 reports from a single Preview Reports button.
For an example of 5 reports, if I close them with the X in the upper-right,
everything is fine. But if I close them by pressing the Esc key some of them
close before they are visible. It appears to me that the Esc key is active
for longer than it takes to open the next report.

I've thought of enforcing a time period between reports, but I've tried so
hard to make the app as quick as possible that I hate to slow it down on
purpose. Any ideas?

Thanks,
Fred Hooper

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list