水晶报表中的通配符参数问题 [英] Problem with wildcard parameter in crystal reports
问题描述
我已使用like函数在水晶中创建了通配符:
I´ve created a wildcard in crystal using the like-function:
如果{Z_QM_INFOSET_CR_NEU.ZQM_DELIVERY-MATNR}像{?带通配符的参数字段}然后是True否则False
我输入的模式如下(例如):?? S6 ???-????
My entered pattern looks like this (for example): ??S6???-????
我得到的东西有点奇怪。 Crystal现在正在寻找带有 S字样的所有内容。第三,在该 S之后是什么。在参数字段中被忽略。所以一切看起来像?? S ????-????
What I get back is kinda strange. Crystal is now looking for everything with an "S" in the third place, what comes after that "S" in the parameter field is ignored. So everything looking like ??S????-???? is found.
是否可以扩展Like函数(或其他任何选项)以使他寻找参数字段的确切输入?
Is there a way to extend the Like-function (or any other option) to make him look for the exact input of the parameter field?
预先感谢!
推荐答案
我无法想象 ...那么真实其他错误和...
确实是想要的,并认为您需要的是这样:
I can't imagine that ...Then True Else False and...
is really intended and think what you need is this:
If {Z_QM_INFOSET_CR_NEU.ZQM_DELIVERY-MATNR} Like {?Artikel mit Wildcard}
and {Z_QM_INFOSET_CR_NEU.ZQM_DELIVERY-BWART} = "601"
and {Z_QM_INFOSET_CR_NEU.ZQM_DELIVERY-WERKS} = "0010"
and {Z_QM_INFOSET_CR_NEU.ZQM_DELIVERY-WADAT_IST} = {?Datum}
and {Z_QM_INFOSET_CR_NEU.ZQM_DELIVERY-VTWEG} = "01" Then
True
Else
False
这篇关于水晶报表中的通配符参数问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!