Crystal Reports-使用类似参数的专家

2020-09-04 21:34发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


你好

我正在使用select export的字段是字符串值。 这是我正在使用的公式:

{V_PART_REL.CUST_SHIPTO_CODE},例如[" 03110"," 03111"," 03115"," 03116"," 03117"," 03118"," 03119"," 03125"," 03129"," 03210", " 12345"," 14120"," 14502"," 14972"," 14976"," 17177"," 17192"," 17409"," 17419"," 17421"," 17422"," 17440"," 17445" "," 17501"," 17575"," 17576"," 17578"," 17581"," 53372"," 60989"," AF1JA"," AF31A"," AG30A"," AMFRA"," AMFRQ" " AMFRR"," AMXUD"]

运行报表时,它仅显示数字值,不显示任何带有字母字符的内容。 当我刚使用

{V_PART_REL.CUST_SHIPTO_CODE} =" AF31A",它将显示我的结果。

所以我不确定我在这里做错了什么。 我试过单引号,没有区别。

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


你好

我正在使用select export的字段是字符串值。 这是我正在使用的公式:

{V_PART_REL.CUST_SHIPTO_CODE},例如[" 03110"," 03111"," 03115"," 03116"," 03117"," 03118"," 03119"," 03125"," 03129"," 03210", " 12345"," 14120"," 14502"," 14972"," 14976"," 17177"," 17192"," 17409"," 17419"," 17421"," 17422"," 17440"," 17445" "," 17501"," 17575"," 17576"," 17578"," 17581"," 53372"," 60989"," AF1JA"," AF31A"," AG30A"," AMFRA"," AMFRQ" " AMFRR"," AMXUD"]

运行报表时,它仅显示数字值,不显示任何带有字母字符的内容。 当我刚使用

{V_PART_REL.CUST_SHIPTO_CODE} =" AF31A",它将显示我的结果。

所以我不确定我在这里做错了什么。 我试过单引号,没有区别。

付费偷看设置
发送
2条回答
粗暴的香蕉
1楼-- · 2020-09-04 22:29

嗨杰拉尔德,

尝试在字符串的开头和结尾添加" *"。

例如:

 {V_PART_REL.CUST_SHIPTO_CODE}像[  " 03110"," 03111"," 03115"," 03116"," 03117"," 03118"," 03119"," 03125"," 03129"," 03210"," 12345"," 14120"," 14502"  "," 14972"," 14976"," 17177"," 17192"," 17409"," 17419"," 17421"," 17422"," 17440"," 17445"," 17501"," 17575",  " 17576"," 17578"," 17581"," 53372"," 60989"," * AF1JA *"," * AF31A *"," * AG30A *"," * AMFRA *"," * AMFRQ *",  " * AMFRR *"," * AMXUD *"] 

-阿比拉什

灬番茄
2楼-- · 2020-09-04 22:12

Hi Gerald,

代替In,请使用In。 这将检查数组中具有匹配代码的所有记录。 如果要查找类似的字符串,则使用Like。

对于性能,In也比Like更好。

祝你好运

Brian

一周热门 更多>