Page 1 of 1

preview compile errors only when I run report wizard

Posted: Tue Jun 09, 2009 11:04 am
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?


preview compile errors only when I run report wizard

Posted: Tue Jun 09, 2009 2:19 pm
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.

preview compile errors only when I run report wizard

Posted: Wed Jun 10, 2009 6:56 am
by Vladimir
Hello, Arthur

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

Thank you.

preview compile errors only when I run report wizard

Posted: Wed Jun 10, 2009 9:39 am
by Arthur
Excellent! Thank you!