The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
NOTE: In Microsoft Access for Windows 95 version 7.0, the maximum interval is 2,147,483,647 (about 24 days, 20 hours, 31 minutes, 24 seconds). RESOLUTIONIf you need to run code in intervals greater than 1 minute, set the TimerInterval property to 60,000 to execute the Timer event in intervals of 1 minute. In the Timer event, increment a static counter variable to count the number of minutes expired. When the counter reaches the interval you want to use, reset the counter and run the code. STATUSThis behavior no longer occurs in Microsoft Access version 7.0. MORE INFORMATION
The following example demonstrates how to create a form that will display
a message box every 5 minutes:
REFERENCES
For information about creating event procedures, search for "event
procedures," and then "Creating an Event Procedure" using the Microsoft
Access Help menu.
Keywords : kberrmsg kbusage FmsProp |
Last Reviewed: April 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |