ACC2000: "There isn't enough free memory" Error When Working with a Form

ID: Q236977


The information in this article applies to:

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

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


SYMPTOMS

When you are working with a form and you switch between Design view and Form view, or you print preview a form, you may receive the following error message:

There isn't enough free memory to update the display. Close unneeded programs and try again
However, when you close other programs, including Microsoft Access, no additional memory on your computer is freed.


CAUSE

You may receive this error message if any one of the following conditions is true:

The pre-defined styles in Access 2000 that use a *.gif file for the Picture property are: NOTE: If you apply these styles to the Picture property of a form, the property sheet erroneously displays '(bitmap)' even though the style actually uses a *.gif file.


RESOLUTION

After you receive the error message described in the "Symptoms" section, you have to close all applications and restart your computer to free the memory on your computer.

To avoid this behavior, you can either use a different graphic format for the Picture property, or you can remove the *.gif file from the Picture property while you are designing your form, and then add it back when you are finished.

Using a Different Graphic Format

You can use the graphics program of your choice to convert the *.gif file to some other supported graphic format such as *.jpg. After the graphic file is converted, you need to reference the converted file in the Picture property of the form. To do so, follow these steps:
  1. Open the form in Design view and display the property sheet of the form.


  2. On the Format tab, select the Picture property and click the Build button to the right of the text box.


  3. Browse to and select the converted graphic file.


  4. Click OK to set the Picture property to that file.


If you use autoformat styles regularly, you may want to convert them to use a file type other than *.gif. To do so, follow these steps:
  1. Use the graphics program of your choice to convert the autoformat graphic files to a format such as *.jpg. The following files used by the AutoFormat wizard are located in the C:\Program Files\Microsoft Office\Office\Bitmaps\Styles folder in a default installation of Microsoft Office:


  2. Style File Name
    Blends acbends.gif
    Blue Print acbluprt.gif
    Expedition acexpdtn.gif
    Industrial acindstr.gif
    Ricepaper acricepaper.gif
    Sandstone acsndstn.gif
    Sumi Painting acsumipt.gif
  3. Reset the Picture property as described earlier in this section.


  4. On the Format menu, click AutoFormat.


  5. In the AutoFormat dialog box, select the style that the form is using and click Customize.


  6. Select Update '<style name>' with values from Form '<form name>'


  7. Click OK twice.


When you apply the built-in style in the future, it will use the converted graphic file as the source for the Picture property.

Removing Picture Property During Form Design

While you design the form, remove the *.gif file from the Picture property. Then after you have finished creating the form and will not be toggling between Design and Form view anymore, you can add the style back to the form. To do so, follow these steps:
  1. Open the Form in Design view.


  2. On the Format menu, click AutoFormat.


  3. In the AutoFormat dialog box, select the format that you want from the Form AutoFormats list.


  4. Click OK.


The picture associated with the autoformat is added back to the form.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 2000.


MORE INFORMATION

When you switch a form from Design view to Form view, the picture on the form is converted to a special file type so that it can be displayed correctly. When the Picture property of a form is set to a *.gif file, this conversion process occurs every time that you change the view of the form, and this process uses up memory.

Additional query words: pra


Keywords          : kbdta FmsProb 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 13, 1999