Unexpected character '\'

Stimulsoft Reports.WPF discussion
Post Reply
MasterCephus
Posts: 16
Joined: Wed Mar 24, 2010 6:08 am

Unexpected character '\'

Post by MasterCephus »

Using 2010.1.700

I am getting an error that reads "Unexpected character '\'.

Looking at the code, I see the following:

Code: Select all

return numberVar feet :== ( AxleSet.Length1 \ 12); 
I try to change to:

Code: Select all

return numberVar feet :== ( AxleSet.Length1 / 12); 
swapping out the '\' character for the '/' character, but when I do this, it basically resets itself and gives the same error message...Any ideas what this error means and how I can modify the code to make it work?
MasterCephus
Posts: 16
Joined: Wed Mar 24, 2010 6:08 am

Unexpected character '\'

Post by MasterCephus »

So I finally figured out that you can't modify anything in the code tab as it is auto generated....you have to find the element where the error came from and modify it there...
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Unexpected character '\'

Post by Andrew »

Hello,

You use incorrect command syntax.
You may use VB and C# language syntax in our product (you may choose it is the report settings).
Which language do you try to use?

Thank you.
Post Reply