HOW TO
This article contains some syntax examples for creating common label expressions using VBScript. Enter these expressions in the ArcMap Label Expression dialog box.
Note: The content in this article pertains to ArcGIS versions 8.x and 9.x. Later versions of ArcGIS may contain different functionality, as well as different names and locations for menus, commands and geoprocessing tools.
Note: At ArcGIS Desktop versions 8.2 and later, click the Help button on the Label Expression dialog box to display more help on advanced label expressions.
"Name: " & [Name]
UCase([Name])
"Name: " & [Name] & vbNewLine & "Type: " & [Type]
"Occupancy Revenue: " & FormatCurrency( [Maximum_Oc] * [Rate])
"Occupancy: " & FormatNumber([OCCUPANCY_RATE],3)
Get help from ArcGIS experts
Download the Esri Support App