ACC: How to Create a "Please Wait" MessageID: Q96989
|
Moderate: Requires basic macro, coding, and interoperability skills.
Sometimes you may want to display a status message to inform users that
they must wait for an action to be completed. For example, you may
want to display the text "Please Wait" while Microsoft Access is
initializing a database, running a long query, and so on. This article uses
the sample database Northwind.mdb (or NWIND.MDB in version 1.x or 2.0) to
show you how to create a "Please Wait" message.
NOTE: This article explains a technique demonstrated in the sample
files, FrmSampl.exe (for Microsoft Access for Windows 95 version 7.0)
and FrmSmp97.exe (for Microsoft Access 97). For information about how
to obtain these sample files, please see the following articles in the
Microsoft Knowledge Base:
Q150895 ACC95: Microsoft Access Sample Forms Available on MSL
Q175066 ACC97: Microsoft Access 97 Sample Forms Available on MSL
To display a status message in Microsoft Access, do the following:
Form: PLEASEWAIT
----------------
ScrollBars: Neither
Popup: Yes
Modal: Yes
RecordSelectors: No
NavigationButtons: No
Macro Name Action
-----------------------------
Test1 OpenForm
RepaintObject
OpenQuery
Close
Test1 Actions
-----------------------------
OpenForm
Form Name: PLEASEWAIT
View: Form
Data Mode: Read Only
Window Mode: Normal
RepaintObject
Object Type: Form
Object Name: PLEASEWAIT
OpenQuery
Query Name: Order Details Extended
View: Datasheet
Close
Object Type: Form
Object Name: PLEASEWAIT
Save: No (Microsoft Access 7.0 and 97)
Additional query words: statusbar status bar meter wait
Keywords : FmsOthr
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: March 20, 1999