3

I have a layer which should be labelled based on two different fields. I've chang the Expression in Layer Properties from [FIELD1] to [FIELD1] + '\n' + [FIELD2]. However, only Field1 is showing in my map, never Field2. I have fixed the scale range and I am using the Maplex Label Engine. Why aren't both fields showing in my label?

closed as off-topic by PolyGeo, Fezter, Paul, Simbamangu, Alexandre Neto Apr 6 '14 at 9:42

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – PolyGeo, Fezter, Paul
If this question can be reworded to fit the rules in the help center, please edit the question.

  • '\n' indicates Python parser, have you changed to that? – Martin Feb 13 '14 at 14:19
  • Can you make sure you actually have some values in Field2 for those features you are looking at? Another thing to try is to test labelling first without Maplex with standard labeling engine. – Alex Tereshenkov Feb 13 '14 at 14:22
  • Although I had changed the Expression in Layer Properties (after a quick right click to the layer in the Data Frame), I found that I had to also change the Expression in the Label Manager. After doing so, both fields become visible. – JCB Feb 13 '14 at 15:12
  • just add your own answer and explain what to look for. It will help someone in the future. Be clear and show your work if possible (screen shots). – Brad Nesom Feb 13 '14 at 15:14
  • 1
    If you are using the VB parser then your expression should be: [Field1] &vbNewLine & [Field2] – Hornbydd Feb 13 '14 at 15:15