有关为报告创建数据源的问题 [英] Question about creating data source for report

查看:90
本文介绍了有关为报告创建数据源的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我现在设置了2个报告,并对创建数据源有疑问对于这两份报告。我必须在代码和xml中设置查询。这对我来说似乎是多余的,但这是我能让报告发挥作用的唯一方法。我在网站上找到了一些帮助( http://www.vbdotnetheaven.com/UploadFile/krishnajina/CrystalReportwithXmlInVB11102005001552AM/CrystalReportwithXmlInVB.aspx )演示如何在代码和xml架构中设置SQL。为什么我要两个都做?但是,如果没有两者,报告将不起作用。希望我做错了,为自己创造了比必要更多的工作。



感谢您的帮助或建议。

解决方案

没人?我需要提供更多解释吗?


 

I've set up 2 reports now and have a question about creating the data sources for both reports.  I've had to set up a query both in code and in xml.  This seems redundant to me but it's the only way I can get the reports to work.  I found some help on a website (http://www.vbdotnetheaven.com/UploadFile/krishnajina/CrystalReportwithXmlInVB11102005001552AM/CrystalReportwithXmlInVB.aspx) that demonstrates how to set up both the SQL in code and the xml schema.  Why do I have to do both?  The reports won't work without both however.  Hopefully I'm doing something wrong and creating more work for myself than necessary.

 

Thanks for any help or advice.

解决方案

Nobody?  Do I need to provide more explanation? 


这篇关于有关为报告创建数据源的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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