Crystal Reports 10 命令对象更改数据源位置 [英] Crystal Reports 10 Command Object Change Datasource Location

查看:26
本文介绍了Crystal Reports 10 命令对象更改数据源位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Crystal Report 中使用了命令对象,现在我需要更改数据源.我已按照知识库文章 c2016958 中的说明下载、解压缩并应用 cr10win_en.zip 和 dbex10win_en.zip,但我的连接仍然没有更新.

I have used command objects in my Crystal Report and now I need to change the Data Source. I have followed the instructions found in KnowledgeBase Article c2016958 and downloaded, unzipped and applied cr10win_en.zip and dbex10win_en.zip but I still never get my connection updated.

还有其他人遇到过这个问题吗?你能解决吗?我正在运行 64 位 Windows 7 和 CR 10.

Has anyone else run into this issue? Were you able to solve it? I am running 64 bit Windows 7 and CR 10.

谢谢,莱斯利

推荐答案

我想 CR10 的过程与 CRXI 及以后的过程相同:

I imagine it is the same process for CR10 as it is for CRXI and onwards:

  1. 转到设置数据源位置"
  2. 在顶部窗格中,突出显示 数据源 而不是命令.数据源有一个带有插头图标的黄色圆柱体.
  3. 在底部窗格中,突出显示您希望命令指向的新数据源.不要突出显示添加命令",因为这将在新数据源上创建一个新命令.该命令必须包含新数据源的有效 SQL.请注意,您不必添加任何新代码或参数.
  4. 点击更新.Crystal 可能会在完成更新之前要求您为参数提供值.
  1. Go to 'Set Datasource Location'
  2. In the top pane, highlight the datasource and not the command. The datasource has a yellow cylinder with a plug icon.
  3. In the bottom pane, highlight the new datasource you want the command to point at. Do not highlight 'Add Command' as that will create a new command on the new datasource. The command must contain valid SQL for the new datasource. Note that you shouldn't have to add any new code or parameters.
  4. Hit update. Crystal will probably ask you to provide values to the parameters before it completes the update.

如果 SQL 有效,您的报告应该有一个更新的数据源.

If SQL is valid, you should have an updated datasource for your report.

这篇关于Crystal Reports 10 命令对象更改数据源位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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