Microsoft KB Archive/303378

= ACC2000: Status Bar Does Not Update After Opening a Pop-Up Form =

Article ID: 303378

Article Last Modified on 7/16/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q303378



Novice: Requires knowledge of the user interface on single-user computers.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).



SYMPTOMS
When you move through the controls on a form, the text on the status bar may not update.



CAUSE
You have opened and closed a pop-up form from this form.



RESOLUTION
To resolve this issue, on the OnClose event of the pop-up form, open and close a form that is not a pop-up form. To do so, follow these steps:  Open your pop-up form in Design view.  Type the following code on the OnClose event of the form. 'Turn off screen updating. DoCmd.Echo False

'Open any other form that is not a pop-up form, and then close it. ' is the name of the form that you will open and close. DoCmd.OpenForm &quot;&quot; DoCmd.Close acForm, &quot;&quot;

'Turn on screen updating. DoCmd.Echo True  Close and then save the form.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="moreinformation_section">

Steps to Reproduce the Behavior
CAUTION: If you follow the steps in this example, you modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and follow these steps on a copy of the database.

 Open the sample database Northwind.mdb.</li> Close both the Startup form and the Main Switchboard form if they appear.</li> In the Database window, click Forms under Objects, and then click New.</li> In the New Form dialog box, click Autoform: Columnar, click Categories from the Choose the table or query where the data of the object comes from list, and then click OK.</li> On the File menu, click Save, and save the form as Form1.</li> Open the form in Design view.</li>  Add a command button to the form with the following properties: <pre class="fixed_text">Caption: Open Pop-Up Status Bar Text: Open Pop-Up </li>  Put the following code on the OnClick event of the command button: DoCmd.OpenForm &quot;frmPopUp&quot; </li> Close and then save the form.</li> In the Database window, click Forms under Objects, and then click New.</li> In the New Form dialog box, click Autoform: Columnar, click Products from the Choose the table or query where the data of the object comes from list, and then click OK.</li> Close and then save the form as frmPopUp.</li> Click Open and open the frmPopUp form in Design view and then set the pop-up property of the form to Yes.</li> Close and then save the form.</li> Open Form1.

Notice that the status bar text updates as you move through the controls.</li> <li>Click Command to open the frmPopUp form.</li> <li>Close the frmPopUp form to return to Form1.</li> <li>Move through the controls on Form1.

Notice that the text on the status bar no longer updates.</li></ol>

Additional query words: prb pop up popup modal pra

Keywords: kbbug KB303378

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.