Crystal报表和SQL的连接 [英] Connection of Crystal report and SQL

查看:105
本文介绍了Crystal报表和SQL的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要在不使用DSN连接的情况下使用VB 6.0连接SQL和Crystal Report.

We need to connect SQL and Crystal Report using VB 6.0 without using a DSN Connection.

Is it possible?

推荐答案

是的,我想.

连接字符串应如下所示:

Yes, I guess.

The connection string should be like this:

Provider=SQLOLEDB.1;Password=password;Persist Security Info=True;User ID=userId;Initial Catalog=DatabaseName;Data Source=ServerName



只需在VB连接模块和Crystal Report的连接属性中使用它即可.

我希望这能解决您的问题.



Just use it in both VB connection module and in the connection property of Crystal Report.

I hope this solves your problem.


这篇关于Crystal报表和SQL的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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