A single ampersand is used to designate an access key or an accelerator key. When you view a form name with a single ampersand in it, the character immediately following the ampersand is underlined. That character is that form's associated access key.
When you use an access key, you can click a menu or a control if you press ALT and type a designated character. When the menu is open, you can click a command by pressing ALT and the letter (the access key) that is assigned to the command. For example, ALT+E then P clicks Paste from the Edit menu because the letter "P" is the access key for the Paste command. Access key assignments appear as an underlined letter in the menu command caption.
To use an ampersand in a custom form name, follow these steps:
- Open and then customize a form that you want to publish.
- On the Tools menu, click Forms, and then click Publish Form.
- In the Display Name box, type the form name by using two ampersands.
Note If you view the form title when you click a form in the Choose Form or Design Form box, the title of the form appears with both ampersands. For example, the form appears as "B & B" in a menu, but it appears as "B && B" in the Choose Form or Design Form box.
Artikelnummer: 261320 – Letzte Überarbeitung: 24.07.2007 – Revision: 1