PRB: Color Builder Does Not Save Custom Colors

    Article ID: Q116068
    Creation Date: 09-JUN-1994
    Revision Date: 01-DEC-1996

    The information in this article applies to:

    • Microsoft Access versions 2.0, 7.0, 97

    SYMPTOMS

    Moderate: Requires basic macro, coding, and interoperability skills.

    You create a custom color with the Color Builder, but after you quit and restart Microsoft Access the custom color is gone.

    CAUSE

    Custom colors created with the Color Builder are only available in the Microsoft Access session in which they are created.

    RESOLUTION

    To use custom colors in other Microsoft Access sessions, write down the custom color number that the Color Builder places in the object's property, or highlight the number and click Copy on the Edit menu. You can then type in the custom color number manually, or use the Paste command to paste the number into other objects' properties.

    MORE INFORMATION

    Steps to Reproduce Behavior

     1. Open the sample database Northwind.mdb (or NWIND.MDB in version 2.0).
    
     2. Open the Customers form in Design view.
    
     3. Select the Company Name text box and view the property sheet.
    
     4. Click in the BackColor property, and then click the Build button
        to the right of the property.
    
     5. Click the Define Custom Colors button.
    
     6. Create a custom color, and then click Add To Custom Colors.
    
     7. Click OK to close the Color Builder.
    
     8. Save the Customers form.
    
     9. Quit Microsoft Access.
    
    
  • Restart Microsoft Access and open Northwind.mdb again.
  • Repeat steps 2-4. Note that the custom color is no longer available in the Color Builder even though the text box retains the custom color.
  • REFERENCES

    For more information about the Color Builder and custom colors, search the Help Index for "Custom Colors," or ask the Microsoft Access 97 Office Assistant.


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
©1997 Microsoft Corporation. All rights reserved. Legal Notices.

KBCategory: kbusage
KBSubcategory: WzOthr
Additional reference words: 2.00 7.00 97 8.00