ACC: Allowing an Ampersand to Appear in a Caption

ID: Q90090


The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1, 2.0, 7.0


SUMMARY

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

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 : kbusage FmsHowto
Version : 1.0 1.1 2.0 7.0
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: March 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.