Microsoft KB Archive/90090

= ACC: Allowing an Ampersand to Appear in a Caption =

Article ID: 90090

Article Last Modified on 5/9/2003

-

APPLIES TO


 * Microsoft Access 1.0 Standard Edition
 * Microsoft Access 1.1 Standard Edition
 * Microsoft Access 2.0 Standard Edition
 * Microsoft Access 95 Standard Edition

-



This article was previously published under Q90090



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



SUMMARY
A caption containing an ampersand (&) will result in a value that replaces the ampersand with an underscore character (_). For example, entering the caption

  Jack & Jill

in the property sheet will result in the following caption on the form or control:

  Jack _Jill



MORE INFORMATION
Microsoft Access allows you to underline a character in a caption, giving it ALT key access, by specifying an ampersand before the character that is to be underlined. Because the ampersand appears before the space in the following caption

  Jack & Jill

Microsoft Access assumes that the intention is to underline the space following the ampersand.

If an ampersand is to appear in a caption, you must specify two ampersand characters in a row. For example, entering the following caption in the property sheet

  Jack && Jill

will result in the following caption in the resulting form or control:

  Jack & Jill

Additional query words: title

Keywords: kbhowto kbusage KB90090

-

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

© Microsoft Corporation. All rights reserved.