preview compile errors only when I run report wizard

Stimulsoft Reports.WEB discussion
Post Reply
Arthur
Posts: 16
Joined: Tue Jun 02, 2009 11:53 am
Location: San Antonio, Tx

preview compile errors only when I run report wizard

Post by Arthur »

If I build the report by hand I have no problems. When I try to use the Wizard for anything but labels and I try to preview the result, I get compile errors instead of a preview. After I have tried to use a wizard the report page produces compile errors regardless if I delete the bands and add new ones by hand.

UPDATE: I am able to get reports with only 1 or 2 columns of data to work sometimes from the wizard but if I add another column of data then the compile errors occur in preview and don't go away even if I redo the wizard with only 2 columns...

Any ideas?

Arthur
Posts: 16
Joined: Tue Jun 02, 2009 11:53 am
Location: San Antonio, Tx

preview compile errors only when I run report wizard

Post by Arthur »

I found that the column names that I was using had a space in them. ie. "New.Course Name" and "New.Course Id"

in the code :
...
public void DataText1__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = ToString(sender, New.Course Name, true);
}
...
the space makes the preview in the designer blow up when it compiles. It says that it is expecting a ")" then it says that it doesn't understand what is infront of the next ";"

When I selected columns that don't have spaces or I change the column name properties everything works great.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

preview compile errors only when I run report wizard

Post by Vladimir »

Hello, Arthur

The problem is fixed, patch will be available in next prerelease build on June, 15.

Thank you.
Arthur
Posts: 16
Joined: Tue Jun 02, 2009 11:53 am
Location: San Antonio, Tx

preview compile errors only when I run report wizard

Post by Arthur »

Excellent! Thank you!
Post Reply