SetDataSource用于子报告的子报告!!救命!! [英] SetDataSource For Subreport OF A SUBREPORT!! Help!!

查看:81
本文介绍了SetDataSource用于子报告的子报告!!救命!!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我们目前正在使用以下语法分配数据源,因为数据实际上是在应用程序的其他位置检索的:


MyReport.Subreports( " MySub。 rpt" )。SetDataSource(DS.Tables( " Sub" ))MyReport.SetDataSource(DS.Tables( " Main" ))


I有Crystal 10但我基本上使用的是VS2005嵌入式设计器。我的问题是我们的一个子报告有自己的子报告! 那么有人知道在这个较低级别的子报告中设置数据的语法吗? 看到它在某个地方,但我找不到它。

真的卡住了!提前谢谢。

解决方案

我以为你在Crystal中只能有一级子报表?


We are currently assigning datasources with the following syntax, as the data is actually retrieved elsewhere in the application:

MyReport.Subreports("MySub.rpt").SetDataSource(DS.Tables("Sub"))MyReport.SetDataSource(DS.Tables("Main"))

I have Crystal 10 but am basically using the VS2005 embedded designer.  My problem is that one of our subreports has its own subreport! So does anybody know the syntax for setting the data in this lower-level subreport? Saw it somewhere but I can’t find it.

Really stuck!  Thanks in advance.

解决方案

I thought you could only have one level of subreports in Crystal?


这篇关于SetDataSource用于子报告的子报告!!救命!!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆