如何在单晶报告中显示多个表适配器的记录? [英] How to display records from multiple table adapter in a single crystal report?

查看:106
本文介绍了如何在单晶报告中显示多个表适配器的记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在单个水晶报告中显示来自多个表适配器的记录。我在我的数据集中添加了两个表适配器,并使用数据库专家将此适配器添加到我的crystal报表中。数据库专家中有两个名为Data和Link的选项卡。在Data中,我选择了tableadapters和In link,我确定了tableadapters的关系。之后在链接选项卡中有三个按钮(确定,取消,帮助),我点击确定并在报告列中设置我的字段。通过执行这些步骤当我运行我的程序时我遇到了这个错误:登录数据库失败

I want to display records from multiple table adapter in a single crystal report. I add two table adapter in my dataset and add this adapters to my crystal report with database expert. There are two tabs named Data and Link in database expert. In Data ,I choosed my tableadapters and In link ,I determine relation of tableadapters .after that in link tab there are three button (ok,cancel,help) that i click ok and set my fields in columns of report.by doing these steps when i ran my program i had this error: logon database failed

推荐答案

我认为问题出在OLEDB Connection.Check this thread 。建议将Crystal报表更改为使用OLE DB数据源而不是SAP Business One数据源。



,对于第二个问题,您只需在完成数据表链接部分后单击确定按钮。然后将只需要的字段拖放到要显示的报告中。你经历的教程是CR的旧版本。



这是一个很好的文章 y你要遵循
i think the problem is with the OLEDB Connection.Check this thread.It suggest to "Change the Crystal report to use an OLE DB datasource rather than the SAP Business One data source."

and for the second question you are facing just click on ok button after finishing the datatable linking part.Then drag and drop only neccesary field to the report you want to display.The tutorial you have gone through is an old version of CR.

This is a good article you to follow


这篇关于如何在单晶报告中显示多个表适配器的记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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