• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 41. Creating and Using Custom Fi... > Creating a Combination Custom Field

Creating a Combination Custom Field

As the name suggests, a combination field concatenates data from several fields or text strings. Outlook has a number of built-in combination fields, such as the Full Name field, which combines the components of a contact's name, and the File As field, which offers several combinations of company and personal name fields. You can also create your own combination field, for example, a Couple field that combines the contact name and spouse name (for use in addressing invitations or Christmas cards), by implementing the following steps:

  1. Switch to Design view in a contact item.

  2. Place a TextBox control on a page of the form, by clicking on the TextBox tool in the Toolbox.

  3. Right-click the control and select the Properties command from its context menu to open the properties sheet.

  4. Click the New button to open the New Field dialog box.

  5. Give the field a name and select Combination as the field type.

  6. Click the Edit button to open the Combination Formula Field dialog box.

  7. Click the Field button to select the Full Name field from the Frequently-used Fields list.

  8. Type "and" after [Full Name] (without the quotes) as the connecting text between the two fields. (There is no need to use the ampersand to connect the text to the fields, or to put the text in quotes, as you would with VBS code.)

  9. Click the Field button again to select the Spouse field from the Name Fields list.

  10. Click the OK button to save the new combination field, then click OK on the New Field dialog box.

  11. Figure 41.11 shows the entire field expression in the Combination Formula Field dialog box.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint