This is a migrated thread and some comments may be shown as answers.

NeedDataSource and Crosstabs

2 Answers 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dave Hayward
Top achievements
Rank 1
Dave Hayward asked on 14 Mar 2010, 05:57 PM
I'm trying to use a crosstab in the detail section of my report. I am binding the data at runtime using NeedDataSource (for the crosstab). I have defined a row group and a column group for my data. I have also defined the same fileds as value expressions in the textboxes for the associated row and column. When I preview the report, I get an error as shown in the attached. Is there a step I am missing that would case this?

TIA

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 16 Mar 2010, 03:10 PM
Hello Dave Hayward,

The error states that there is no such object i.e. you do not have a field named LabCode. Also if you are trying to use this field in the body of the crosstab, the expression in the textbox should be an aggregate.
If you're still having problems, please open a support ticket and attach a runnable sample where the issue can be observed. We would be able to provide more info once we review it.

Sincerely yours,
Steve
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Dave Hayward
Top achievements
Rank 1
answered on 16 Mar 2010, 10:47 PM
It seems that I wasn't binding the data source to the Processing instance of the crosstab. Once I corrected that it began to work.

Thanks for your help.
Tags
General Discussions
Asked by
Dave Hayward
Top achievements
Rank 1
Answers by
Steve
Telerik team
Dave Hayward
Top achievements
Rank 1
Share this question
or