Report expression throws when loading report
Posted: Mon Jun 06, 2011 1:45 pm
1) Create a report or open an existing one in the designer.
2) Double-click on any field. A dialog with a tab labeled Expression opens up. The default expression looks like {ReportProjects_01.Filename} .
3) Append two pound signs to it : {ReportProjects_01.Filename##} and click OK to close the dialog.
4) Save the report.
5) The designer tries to load the report right after, and I get a web popup with the following exception message:
c:\Windows\Temp\eghttuns.0.cs(115,66) : error CS1040: Preprocessor directives must appear as the first non-whitespace character on a line.
Seems like the pound sign is mistakenly treated as a preprocessor directive.
Is there any workaround to avoid this error? A patch I can get or...
The test report ends up showing : Project 1 28/02/2011 19:00:00 Project1.ibw == ## InService
2) Double-click on any field. A dialog with a tab labeled Expression opens up. The default expression looks like {ReportProjects_01.Filename} .
3) Append two pound signs to it : {ReportProjects_01.Filename##} and click OK to close the dialog.
4) Save the report.
5) The designer tries to load the report right after, and I get a web popup with the following exception message:
c:\Windows\Temp\eghttuns.0.cs(115,66) : error CS1040: Preprocessor directives must appear as the first non-whitespace character on a line.
Seems like the pound sign is mistakenly treated as a preprocessor directive.
Is there any workaround to avoid this error? A patch I can get or...
The test report ends up showing : Project 1 28/02/2011 19:00:00 Project1.ibw == ## InService