Prev | Current Page 1612 | Next

Michael R. Groh, Joseph C. Stockman, Gavin Powell, and Cary N. Prague

"Access 2007 Bible"

Each of the examples uses a simple form with several text box
controls and a button to start the process. The basic progress meter form in Design View is shown in
the following figure. Each of the examples contains code to display either the built-in Access progress
meter or one within the pop-up form. Each contains a button to start the process, as well as two text
boxes to display the start time and end time of the process.
The following code demonstrates how to use the built-in progress meter in a loop to show the
meter starting at 0 percent and expanding to 100 percent, 1 percent at a time. The first example is
named ProgressMeterUsingBuiltInAccessMeter. This example doesn??™t actually use the
text box in the sample progress meter form, but rather uses the progress meter built into Microsoft
Access that displays as a bar at the bottom-left corner of the screen in the status bar.
ON the CD-ROM
851
Optimizing Access Applications 26
If you don??™t display the status bar, you won??™t see the built-in progress meter when
it runs.


Pages:
1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624
komody monitory oferta profesjonalne suszarki do włosów akcesoria Techno