188k views
3 votes
An ArcGIS user is creating a label that contains records from two fields. The fields will be stacked one on top of the other. Which expression provides this result?

A. "[ FieldA]" vbNewLine "[ FieldB]"
B. [FieldA] "vbNewLine" [FieldB]
C. [FieldA] & vbNewLine & [FieldB]
D. [FieldA] vbNewLine [FieldB]

1 Answer

5 votes

Final answer:

To stack two fields in ArcGIS for labeling, use the expression [FieldA] & vbNewLine & [FieldB].

Step-by-step explanation:

The correct expression to stack two fields in ArcGIS for labeling is option C:

[FieldA] & vbNewLine & [FieldB]

This expression uses the & operator to concatenate the values of FieldA and FieldB, and the vbNewLine function to insert a line break between them. Here's an example: If FieldA contains 'First Name' and FieldB contains 'Last Name', the expression would display:

First Name
Last Name

User EhsanT
by
7.7k points