ACC95: VBA232.DLL Error Quitting MS Access After Previewing Form

ID: Q153363


The information in this article applies to:


SYMPTOMS

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

If you print preview a form which has the MinMaxButtons property set to None, and then quit Microsoft Access version 7.0, you may receive one of the following error messages.

In Microsoft Windows 95

MSACCESS caused an invalid page fault in module VBA232.DLL

In Microsoft Windows NT Version 3.51

An application error has occurred and an application error log is being generated. MSACCESS. Exception: Access Violation


RESOLUTION

To work around this problem, click Close on the File menu to close the print preview and the form, and then if needed, reopen the form in Form view.

-or-

Preview a report based on the record in the form.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 7.0. This problem no longer occurs in Microsoft Access 97.


MORE INFORMATION

Steps to Reproduce Problem


  1. Open the sample database Northwind.mdb.


  2. Open the Customers form in Design view.


  3. Set the MinMaxButtons property of the form to None.


  4. Close and save the form.


  5. Open the Customers form in Form view.


  6. Click the Print Preview button on the toolbar.


  7. Click the Close button on the toolbar.


  8. Close the form, close the database, and then quit Microsoft Access. Note that you receive the error message mentioned in the "Symptoms" section.



REFERENCES

For more information about printing a report from a form, please see the following article in the Microsoft Knowledge Base:

Q147143 ACC: How to Filter a Report from a Pop-Up Form

For more information about printing a report from a form, search on the phrase "print current record form," and then view "Create a command button that prints the current record" using the Answer Wizard from the Microsoft Access for Windows 95 Help menu.


Keywords          : kberrmsg kbusage FmsProb 
Version           : 7.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: April 21, 1999