在报表中查看来自两个数据集的数据 [英] Viewing Data from two datasets in Report
问题描述
我在Visual Basic 2010中有一个报告
我想基于来自同一数据集的两个数据表查看数据.我设法在运行时从报表中显示的一个表中获取数据,但无法从另一个数据表中看到其他详细信息.
有什么办法可以查看详细信息.
我已将第一个表(MainData)放在报表的页眉和页脚中
我已在DetailsTable中将数据放置在报告的报告详细信息部分中.
运行程序时,显示的是页眉"和页脚"数据,但没有显示详细信息,我仅看到列标题.
I have a report in Visual Basic 2010
I would like to view data based on two datatables from the same dataset. I manage to get data from one of the tables displayed in the report at runtime, but cannot see the other details from the other datatable.
Is there a way I can view the details.
I have placed the first table (MainData) in the header and the footer of the report
The DetailsTable I have placed data in the report detail section of the report.
When I run my program I get the Header and footer data displayed but not the details, I only see the column headings. Could someone help me out there.
推荐答案
如果两个表之间没有关系,我怀疑您的报表设计不会显示完全没有.
If you don''t have a relationship between the two tables, I suspect your report design isn''t going to show much at all.
这篇关于在报表中查看来自两个数据集的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!