将子报表添加到VB.NET报表 [英] Adding SubReport to VB.NET Report

查看:74
本文介绍了将子报表添加到VB.NET报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在Visual Studio 2010程序中创建了一个报告。此报告使用在程序中检索并放入类中的SQL数据。



我已设法实现此目的,这部分工作正常,但我随后创建另一份报告,将作为子报告在原始报告中查看。



子报告已链接到正确的数据集,所有看起来都可以,但SubReport对象在我的原始报告中不会显示SubReport!



可能听起来令人困惑,但很难解释,请给我反馈或帮助!



谢谢,

Tom。

Hello all,
I have created a report in my Visual Studio 2010 program. This report uses SQL data that is retrieved within the program and put into a class.

I have managed to get this going and this part works fine, however I then created another report, which will be viewed inside the original report as a Sub Report.

The Sub Report has the correct dataset linked in and all looks OK, but the SubReport object on my original report will not show the SubReport!

May sound confusing but its quite hard to explain, please give me feedback or help!

Thanks,
Tom.

推荐答案

Thomas,



我想我找到的东西可以回答你面临的两个问题。

1.如何配置子报告。

2.哪里有日志文件?



在这里查看 HTTP://social.msdn .microsoft.com /论坛/ zh-CN / vsreportcontrols / thread / 0dd5de0f-b6bc-4469-b742-f41bbaa7c80e [ ^ ]



如果要链接到SQL 2008默认日志文件,则位置应为C:\Program Files \ Microsoft SQL Server \ MSRS10_50.MSSQLSERVER \Reporting Services \ LogFiles
Thomas,

I think i found something that answers the 2 issues you are facing.
1.How to configure a sub report.
2. Where are the log files?

check it out here http://social.msdn.microsoft.com/Forums/en-US/vsreportcontrols/thread/0dd5de0f-b6bc-4469-b742-f41bbaa7c80e[^]

If you are linking to SQL 2008 default log files location should be C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles


这篇关于将子报表添加到VB.NET报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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