Crystal Reports和Access数据库连接 [英] Crystal Reports And Access Database Connection

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

问题描述

我刚刚开始使用Crystal Reports,我在配置数据库连接时遇到问题。我希望能够在bin文件夹中设置对数据库的引用,而不是指定路径,这样我就可以将最终产品部署到许多不同的机器上。有没有办法只是"指出"像我通常使用OleDb Connections那样访问我的bin文件夹,而不必重新定义每台机器上的路径。

I am just starting to use Crystal Reports for the first time and Im having trouble configuring my database connection.  I want to be able to set the reference to the database in the bin folder and not specify a path so I can deploy the end product to a number of different machines.  Is there a way to just "point" to my bin folder like I usually do with OleDb Connections and not have to redefine the path on each machine. 

Mak

推荐答案

有几个选项,您可以将数据库设置为"相同"作为报告"或者使用Visual Studio,例如:AppPath +" \ renportname"在加载方法上键入。各种方式,但不知道你正在使用什么DEV语言可能会有所不同...

A couple of options, you can set the Database to "Same As report" or using Visual Studio something like: AppPath + "\reportname" type on the load method. Various ways but without knowing what DEV language you are using it can vary...


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

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