水晶报表表的别名中含有特殊字符的处理

本文介绍了在Crystal Reports中因数据库表别名包含无效字符而导致的Query Engine错误,并提供了通过修改注册表项来排除特定字符的方法。默认情况下,注册表项包含一系列被视为无效的字符,若要在别名中使用这些字符,则需从注册表值数据中移除。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

In Crystal Reports, the following error message is displayed when an invalid character is used in the database

table alias name: Query Engine Error: “The alias requested “my\aliasname”, contains a combination of

characters which is not considered to be valid”. The invalid characters are: .:{}()@&$#^!*~|%", -+>,/\`

New Behavior:

A registry subkey now exists that Crystal Reports uses to identify what characters are considered to be invalid

for alias names. By default, the registry subkey value data contains the following characters:

.:{}()@&$#^!*~|%"- If you wish to use one of the invalid characters in an alias name, remove the desired

character from the registry subkey value data.

The registry subkey is:

HKEY_LOCAL_MACHINE\Software\Crystal Decisions\9.0\Crystal

Reports\Database\InvalidAliasCharList

The issue is corrected in the following component version, or later.

craxddrt9.dll 9.2.3.723 04/16/2003

craxdrt9.dll 9.2.3.723 04/16/2003

crpe32.dll 9.2.3.723 04/16/2003

crqe.dll 9.2.1.605 04/16/2003

crw32.exe 9.2.3.723 04/16/2003

转载于:https://www.cnblogs.com/Mac_Hui/p/4078741.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值