使用Visual Basic 2005从代码创建CrystalReport 2008 [英] Creating A CrystalReport 2008 from code using visual basic 2005

查看:59
本文介绍了使用Visual Basic 2005从代码创建CrystalReport 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!
我使用Visual Basic 2005遇到有关CrystalReport 2008的问题.
我想做的是从基本代码创建报表及其参数,而不是使用Visual Studio手动创建.这是为了使CrystaleReport 2008动态进行测试.我想做的是仅更改Sql查询,CrystalReport的参数将相应更改.

我已经在分配中搜索了与此案件相关的内容,但未找到任何:(.
谢谢分配!:)

Hi everybody!
I am facing a problem regarding CrystalReport 2008, using Visual Basic 2005.
What I want to do is create the report and its parameters from basic code, not manually using visual studio. That is for the purpose of making the CrystaleReport 2008 dynamic for testing. What I want to do is by only changing the Sql query, the parameters of the CrystalReport will change accordingly.

I have searched allot for something related to this case but did not find any :( .
Thanks allot!!:)

推荐答案

您正在使用什么DBMS?

SQL Server?

如果是这样,则应使用包含参数的存储过程.然后,您的报告将是动态的,取决于您传递给参数的值.
What DBMS are you using?

SQL server?

if like this, you should use Stored Procedure which contains parameters. Then your report will be dynamic depends on value you pass to parameter.


这篇关于使用Visual Basic 2005从代码创建CrystalReport 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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