title: Delphi FastReport Nested Expression in MemoView
body: <p>I am using FastRepors v4.11 which comes with Delphi XE2</p>
  
  <p>Is there a way I can set the text for a MemoView dynamically using nested expressions</p>
  
  <p>I tried a couple of different ways but none seem to work</p>
  
  <p><code>[ReportHeader."Ch[ReportHeader."Channel"]Label"]</code></p>
  
  <p><code>[ReportHeader."Ch&lt;ReportHeader."Channel"&gt;Label"]</code></p>
  
  <p><code>&lt;ReportHeader."Ch[ReportHeader."Channel"]Label"&gt;</code></p>
  
  <p><code>[ReportHeader."Ch" + [ReportHeader."Channel"] + "Label"]</code></p>
  
  <p>Channel holds a value like 1 or 2 or 3 or 4. I want the MemoView to display the evaluated value of <code>CH1Label</code> or <code>CH2Label</code> etc</p>
  
  <p>So if <code>ReportHeader.Channel = 4</code> then the value of <code>[ReportHeader."Ch4Label"]</code> should be rendered inside the MemoView</p>
  
  <p>**Setting the text for MemoView dynamically in my Delphi code, before the report is printed works but I am wanting to simplify the code by moving this logic to FastReports</p>