[AccessD] Esc key bounce in Preview

Fred Hooper fahooper at trapo.com
Wed Aug 30 14:09:25 CDT 2006


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




More information about the AccessD mailing list