Error CS1525: Invalid expression term '['

FastReport 1.6
Visual Studio 2010
Target platform : x86

Defining a total sum field

in .frx
<Total Name="Total" Expression="[Data.Field1]" Evaluator="Data" PrintOn="GroupFooter1"/>

Error:
(Total): Error CS1525: Invalid expression term '['
(Total): Error CS1002: ; expected
(Total): Error CS1002: ; expected
(Total): Error CS1525: Invalid expression term ']'

It seems that "[Data.Field1]" expression are not transformed to 'Report.GetColumnValue("Data.Field1") before sending to c# compiler ?

Comments

  • edited 4:17PM
    Please ignore

    My Fault. Field name "Field1" not in data

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.