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

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

问题描述

我在Crystal报表中使用了命令对象,现在我需要更改数据源。
我按照知识库文章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.

谢谢,
Leslie

Thanks, Leslie

推荐答案

我想,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天全站免登陆