INF: Aligning User-Defined Formats in Text Fields

    Article ID: Q106293
    Creation Date: 04-NOV-1993
    Revision Date: 19-SEP-1996

    The information in this article applies to:

    • Microsoft Access versions 1.0 and 1.1

    SUMMARY

    The Format Property topic in the Microsoft Access Help system states the following:

       NOTE When you create a user-defined format, the alignment defaults
       to right-aligned. Use an exclamation point to force left alignment.
    
    
    This information is not true for fields with a text data type. Fields with a text data type will be left-aligned.

    MORE INFORMATION

    Steps to Reproduce Behavior

    1. Open the sample database NWIND.MDB.
    2. Open the Suppliers table in Design view.
    3. Select the Region field, and then enter the following user-defined format in the field's Format property:

            @;none
      
    4. View the table in Datasheet view.

    Note that the field is left-aligned. To right-align the field, use the following sample user-defined format:

       /@;none
    
    
    REFERENCES

    For more information on the Format property, search for "format" then "Format Property" using the Microsoft Access Help menu.


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.

Additional reference words: 1.00 1.10
KBCategory: kbusage kbdocerr
KBSubcategory: GnlFrmt