[英]Query designer returns an unwanted entity field
I have a Reporting Services Project on SQL Server 2008 R2.我在 SQL Server 2008 R2 上有一个报告服务项目。 The point is to provide users with a data model they can use as a data source for Report Builder 3. So I have created my data source views as usual and then the Report model with no problems.
重点是为用户提供数据 model,他们可以将其用作 Report Builder 3 的数据源。因此,我照常创建了数据源视图,然后毫无问题地创建了报表 model。
For example in my model I have a table Student
which has a relationship with table Course
using a CourseSK
key (one to one).例如,在我的 model 中,我有一个表
Student
,它使用CourseSK
键(一对一)与表Course
有关系。 So I am using student.CourseSK = course.CourseSK
to return to the query designer only the course.Coursename
field under the Student
entity (I have hidden everything else from the course
table.)因此,我使用
student.CourseSK = course.CourseSK
仅将Student
实体下的course.Coursename
字段返回给查询设计器(我已从course
表中隐藏了其他所有内容。)
The problem is that when I test it in ReportBuilder, using the query designer when I add field CourseName
from entity student
in the dataset, it returns two fields instead of one: CourseName
and Course
where course returns some values like AAAAAEAA =
.问题是,当我在 ReportBuilder 中对其进行测试时,当我从数据集中的实体
student
添加字段CourseName
时使用查询设计器,它返回两个字段而不是一个: CourseName
和Course
其中 course 返回一些值,例如AAAAAEAA =
。 I guess is some object reference but can be very confusing to the end user.我猜是一些 object 参考,但最终用户可能会非常困惑。 How can I make this disappear?
我怎样才能让它消失?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.